Template

MediaInfo: Difference between revisions

From Illustrations in German Translations of Mark Twain's Works

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


=== Content of this Template ===
<onlyinclude>
<onlyinclude>
{| class="infobox" style="width: 25em; font-size: 90%;"
<div class="mediainfo-box" style="font-size:90%; line-height:1.4em; max-width:30em;">
! style="background:#eee; text-align:left;" | Title
 
| {{{title|}}}
'''Title:''' {{{title|}}}<br>
|-
'''Chapter:''' {{{chapter|}}}<br>
! style="background:#eee; text-align:left;" | Chapter
'''Illustration:''' {{{illustration|}}}<br>
| {{{chapter|}}}
'''Illustrator:''' {{{illustrator|}}}<br>
|-
'''Year:''' {{{year|}}}<br>
! style="background:#eee; text-align:left;" | Illustration
 
| {{{illustration|}}}
{{#if:{{{tags|}}}|'''Tags:'''
|-
{{#vardefine:tags|{{{tags|}}}}}
! style="background:#eee; text-align:left;" | Illustrator
{{#arraymap:{{#var:tags}}|,|trim|<span class="mediainfo-tag">##</span> }}
| {{{illustrator|}}}
}}
|-
 
! style="background:#eee; text-align:left;" | Year
</div>
| {{{year|}}}
|-
! style="background:#eee; text-align:left;" | Tags
| {{{tags|}}}
|}
</onlyinclude>
</onlyinclude>

Revision as of 19:18, 9 September 2025

Use of this Template

  • Use on File pages to provide metadata.
  • Variables:
    • title
    • chapter
    • illustration
    • illustrator
    • year
    • tags


Title:
Chapter:
Illustration:
Illustrator:
Year: