MediaInfo: Difference between revisions
From Illustrations in German Translations of Mark Twain's Works
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=== Use of this Template === | === Use of this Template === | ||
* Use on File pages to display | * Use on File pages to provide plain metadata that MediaViewer will actually display. | ||
* Variables: | * Variables: | ||
** title = short title of the image | ** title = short title of the image | ||
** tags = comma-separated list of tags | ** chapter = chapter reference (e.g. "Chapter 1") | ||
** illustration = illustration number (e.g. "Illustration 5") | |||
** illustrator = name of the illustrator | |||
** year = year of creation/publication | |||
** tags = comma-separated list of tags | |||
* Copy: <nowiki>{{File description|title=| | * Copy: <nowiki>{{File description | ||
| title = | |||
| chapter = | |||
| illustration= | |||
| illustrator = | |||
| year = | |||
| tags = | |||
}}</nowiki> | |||
| Line 12: | Line 23: | ||
==== As Wikitext ==== | ==== As Wikitext ==== | ||
<pre><nowiki> | <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> | </nowiki></pre> | ||
| Line 22: | Line 34: | ||
==== As Rendered On This Page ==== | ==== As Rendered On This Page ==== | ||
<onlyinclude> | <onlyinclude> | ||
'''Title:''' {{{title|}}} | |||
{{#if:{{{chapter|}}}| • '''Chapter:''' {{{chapter}}} }} | |||
{{#if:{{{illustration|}}}| • '''Illustration:''' {{{illustration}}} }} | |||
{{#if:{{{illustrator|}}}| • '''Illustrator:''' {{{illustrator}}} }} | |||
{{#if:{{{year|}}}| • '''Year:''' {{{year}}} }} | |||
{{#if:{{{tags|}}}| • '''Tags:''' {{{tags}}} }} | |||
</onlyinclude> | </onlyinclude> | ||
Revision as of 18:54, 9 September 2025
Use of this Template
- Use on File pages to provide plain metadata that MediaViewer will actually display.
- Variables:
- title = short title of the image
- chapter = chapter reference (e.g. "Chapter 1")
- illustration = illustration number (e.g. "Illustration 5")
- illustrator = name of the illustrator
- year = year of creation/publication
- tags = comma-separated list of tags
- Copy: {{File description | title = | chapter = | illustration= | illustrator = | year = | tags = }}
Content of this Template
As Wikitext
'''Title:''' {{{title|}}}
{{#if:{{{chapter|}}}| • '''Chapter:''' {{{chapter}}} }}
{{#if:{{{illustration|}}}| • '''Illustration:''' {{{illustration}}} }}
{{#if:{{{illustrator|}}}| • '''Illustrator:''' {{{illustrator}}} }}
{{#if:{{{year|}}}| • '''Year:''' {{{year}}} }}
{{#if:{{{tags|}}}| • '''Tags:''' {{{tags}}} }}
As Rendered On This Page
Title: