Template:File: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) No edit summary |
Salty Nori (talk | contribs) (simplify params) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
}}}}<!-- | }}}}<!-- | ||
--><table class="article-table file-table thl1 alternating-colors-table"><!-- | --><table class="article-table file-table thl1 alternating-colors-table"><!-- | ||
-->{{#if:{{{ | -->{{#if:{{{categories|{{{1|}}}}}}|<tr><!-- | ||
--><th>{{#if:{{#pos:{{{ | --><th>{{#if:{{#pos:{{{categories|{{{1|}}}}}}|;}}|Categories|Category}}</th><!-- | ||
--><td> | --><td><ul>{{Array|{{{categories|{{{1|}}}}}}|;|<li>[[:Category:{item}|{item}]]</li>|sort = 1}}</ul></td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
Line 29: | Line 29: | ||
-->{{#if:{{{artist|}}}|<tr><!-- | -->{{#if:{{{artist|}}}|<tr><!-- | ||
--><th>Artist</th><!-- | --><th>Artist</th><!-- | ||
--><td lang="{{{lang|en}}}">{{#if:{{{artistlink|}}}|[{{{artistlink|}}} {{{artist}}}]|{{{artist}}}}}</td><!-- | --><td lang="{{{lang|en}}}">{{#if:{{{artistlink|}}}|[{{{artistlink|}}} {{{artist}}}]|{{{artist}}}}}<!-- | ||
-->{{#if:{{{artist2|}}}|<!-- | |||
-->{{#if:{{{artistlink2|}}}|<br />[{{{artistlink2|}}} {{{artist2}}}]|{{{artist2}}}}}<!-- | |||
-->}}</td><!-- | |||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{characters| | -->{{#if:{{{characters|}}}|<tr><!-- | ||
--><th>{{#if:{{#pos:{{{characters | --><th>{{#if:{{#pos:{{{characters|}}}|;}}|Characters|Character}}</th><!-- | ||
--><td>{{Characters in file|{{{characters|{{{ | --><td>{{Characters in file|{{{characters}}}|noheader=1}}</td><!-- | ||
--></tr>}}<!-- | |||
-->{{#if:{{{animals|}}}|<tr><!-- | |||
--><th>{{#if:{{#pos:{{{animals|}}}|;}}|Characters|Character}}</th><!-- | |||
--><td>{{Characters in file|{{{animals}}}|noheader=1}}</td><!-- | |||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{date|}}}|<tr><!-- | -->{{#if:{{{date|}}}|<tr><!-- | ||
Line 53: | Line 60: | ||
-->{{Namespace|file=<!-- | -->{{Namespace|file=<!-- | ||
-->[[Category:{{#var:type}}]]<!-- | -->[[Category:{{#var:type}}]]<!-- | ||
-->{{#if: | -->{{#if:{{{categories|}}}|{{Array|{{{categories|}}}|;|[[Category:{item}]]{newline} }}}}<!-- | ||
-->{{#if:{{{characters|{{{ | -->{{#if:{{{characters|}}}|{{Array|{{{characters|}}}|;|[[Category:{item} {{lc:{{#var:type}}}}]]{newline}|sort=1}}}}<!-- | ||
-->{{#if:{{{animals|}}}|{{Array|{{{animals|}}}|;|[[Category:{item} {{lc:{{#var:type}}}}]]{newline}|sort=1}}}}<!-- | |||
-->{{#if:{{{artist|}}}|[[Category:{{{artist}}}'s artwork]]}}<!-- | -->{{#if:{{{artist|}}}|[[Category:{{{artist}}}'s artwork]]}}<!-- | ||
-->{{#if:{{{artist2|}}}|[[Category:{{{artist2}}}'s artwork]]}}<!-- | |||
-->{{#if:{{{artist|}}}|{{#if:{{{artistlink|}}}||[[Category:Files missing artist link]]}}}}<!-- | -->{{#if:{{{artist|}}}|{{#if:{{{artistlink|}}}||[[Category:Files missing artist link]]}}}}<!-- | ||
-->{{#if:{{{artist2|}}}|{{#if:{{{artistlink2|}}}||[[Category:Files missing artist link]]}}}}<!-- | |||
-->{{#if:{{{description|}}}|[[Category:Files with description]]}}<!-- | -->{{#if:{{{description|}}}|[[Category:Files with description]]}}<!-- | ||
-->{{#if:{{{caption|}}}|[[Category:Files with caption]]}}<!-- | -->{{#if:{{{caption|}}}|[[Category:Files with caption]]}}<!-- |
Latest revision as of 06:49, 12 July 2024
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
Main | Sandbox | Usage |
The documentation for this template is missing. Click here to create it.