Template

MediaInfo: Difference between revisions

From Illustrations in German Translations of Mark Twain's Works

Undo revision 1192 by HMHTEST (talk)
Tag: Undo
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
=== Use of this Template ===
=== Use of this Template ===
* Use on File pages to provide plain metadata that MediaViewer will actually display.
* Use on File pages to provide metadata.
* Variables:
* Variables:
** title = short title of the image
** title       = short title of the image
** chapter = chapter reference (e.g. "Chapter 1")
** chapter     = chapter reference
** illustration = illustration number (e.g. "Illustration 5")
** illustration= illustration number
** illustrator = name of the illustrator
** illustrator = name of the illustrator
** year = year of creation/publication
** year       = year
** tags = comma-separated list of tags
** tags       = comma-separated list of tags
 
* Copy: <nowiki>{{File description
| title      =
| chapter    =
| illustration=
| illustrator =
| year        =
| tags        =
}}</nowiki>
 


=== Content of this Template ===
=== Content of this Template ===
==== As Wikitext ====
<pre><nowiki>
'''Title:''' {{{title|}}}
{{#if:{{{chapter|}}}| • '''Chapter:''' {{{chapter}}} }}
{{#if:{{{illustration|}}}| • '''Illustration:''' {{{illustration}}} }}
{{#if:{{{illustrator|}}}| • '''Illustrator:''' {{{illustrator}}} }}
{{#if:{{{year|}}}| • '''Year:''' {{{year}}} }}
{{#if:{{{tags|}}}| • '''Tags:''' {{{tags}}} }}
</nowiki></pre>
==== As Rendered On This Page ====
<onlyinclude>
<onlyinclude>
'''Title:''' {{{title|}}}
{| class="infobox" style="width: 25em; font-size: 90%;"
{{#if:{{{chapter|}}}| • '''Chapter:''' {{{chapter}}} }}
! style="background:#eee; text-align:left;" | Title
{{#if:{{{illustration|}}}| • '''Illustration:''' {{{illustration}}} }}
| {{{title|}}}
{{#if:{{{illustrator|}}}| • '''Illustrator:''' {{{illustrator}}} }}
|-
{{#if:{{{year|}}}| • '''Year:''' {{{year}}} }}
! style="background:#eee; text-align:left;" | Chapter
{{#if:{{{tags|}}}| • '''Tags:''' {{{tags}}} }}
| {{{chapter|}}}
|-
! style="background:#eee; text-align:left;" | Illustration
| {{{illustration|}}}
|-
! style="background:#eee; text-align:left;" | Illustrator
| {{{illustrator|}}}
|-
! style="background:#eee; text-align:left;" | Year
| {{{year|}}}
|-
! style="background:#eee; text-align:left;" | Tags
| {{{tags|}}}
|}
</onlyinclude>
</onlyinclude>

Revision as of 19:16, 9 September 2025

Use of this Template

  • Use on File pages to provide metadata.
  • Variables:
    • title = short title of the image
    • chapter = chapter reference
    • illustration= illustration number
    • illustrator = name of the illustrator
    • year = year
    • tags = comma-separated list of tags

Content of this Template

Title
Chapter
Illustration
Illustrator
Year
Tags