MediaInfo: Difference between revisions
From Illustrations in German Translations of Mark Twain's Works
Tag: Undo |
Tag: Undo |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=== Use of this Template === | === Use of this Template === | ||
* Use on File pages to provide metadata | * Use on File pages to provide plain metadata that MediaViewer will actually display. | ||
* Variables: | * Variables: | ||
** title | ** title = short title of the image | ||
** chapter | ** chapter = chapter reference (e.g. "Chapter 1") | ||
** illustration= illustration number | ** illustration = illustration number (e.g. "Illustration 5") | ||
** illustrator = name of the illustrator | ** illustrator = name of the illustrator | ||
** year | ** year = year of creation/publication | ||
** tags | ** tags = comma-separated list of tags | ||
* Copy: <nowiki>{{ | |||
* Copy: <nowiki>{{File description | |||
| title = | |||
| chapter = | |||
| illustration= | |||
| illustrator = | |||
| year = | |||
| tags = | |||
}}</nowiki> | |||
=== Content of this Template === | === Content of this Template === | ||
==== 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> | ||
==== 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 19:14, 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: