Template:File: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(add animal)
(simplify params)
 
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:{{{category|{{{categories|}}}}}}|<tr><!--
   -->{{#if:{{{categories|{{{1|}}}}}}|<tr><!--
       --><th>{{#if:{{#pos:{{{category|{{{categories}}}}}}|;}}|Categories|Category}}</th><!--
       --><th>{{#if:{{#pos:{{{categories|{{{1|}}}}}}|;}}|Categories|Category}}</th><!--
       --><td>{{#if:{{#pos:{{{category|{{{categories}}}}}}|;}}|{{Column|1|<ul>{{Array|{{{category|{{{categories}}}}}}|;|<li>[[:Category:{item}|{item}]]</li>|sort = 1}}</ul>}}|[[:Category:{{{category|{{{categories}}}}}}|{{{category|{{{categories}}}}}}]]}}</td><!--
       --><td><ul>{{Array|{{{categories|{{{1|}}}}}}|;|<li>[[:Category:{item}|{item}]]</li>|sort = 1}}</ul></td><!--
   --></tr>}}<!--
   --></tr>}}<!--
    
    
Line 34: Line 34:
                               -->}}</td><!--
                               -->}}</td><!--
   --></tr>}}<!--
   --></tr>}}<!--
   -->{{#if:{{{characters|{{{character|}}}}}}|<tr><!--
   -->{{#if:{{{characters|}}}|<tr><!--
       --><th>{{#if:{{#pos:{{{characters|{{{character|}}}}}}|;}}|Characters|Character}}</th><!--
       --><th>{{#if:{{#pos:{{{characters|}}}|;}}|Characters|Character}}</th><!--
       --><td>{{Characters in file|{{{characters|{{{character}}}}}}|noheader=1}}</td><!--
       --><td>{{Characters in file|{{{characters}}}|noheader=1}}</td><!--
   --></tr>}}<!--
   --></tr>}}<!--
   -->{{#if:{{{animals|{{{animal|}}}}}}|<tr><!--
   -->{{#if:{{{animals|}}}|<tr><!--
       --><th>{{#if:{{#pos:{{{animals|{{{animal|}}}}}}|;}}|Animals|Animal}}</th><!--
       --><th>{{#if:{{#pos:{{{animals|}}}|;}}|Characters|Character}}</th><!--
       --><td>{{Characters in file|{{{animals|{{{animal}}}}}}|noheader=1}}</td><!--
       --><td>{{Characters in file|{{{animals}}}|noheader=1}}</td><!--
   --></tr>}}<!--
   --></tr>}}<!--
   -->{{#if:{{{date|}}}|<tr><!--
   -->{{#if:{{{date|}}}|<tr><!--
Line 60: Line 60:
-->{{Namespace|file=<!--
-->{{Namespace|file=<!--
   -->[[Category:{{#var:type}}]]<!--
   -->[[Category:{{#var:type}}]]<!--
   -->{{#if:{{{category|{{{categories|}}}}}}|{{Array|{{{category|{{{categories}}}}}}|;|[[Category:{item}]]{newline} }}}}<!--
   -->{{#if:{{{categories|}}}|{{Array|{{{categories|}}}|;|[[Category:{item}]]{newline} }}}}<!--
   -->{{#if:{{{characters|{{{character|}}}}}}|{{Array|{{{characters|{{{character}}}}}}|;|[[Category:{item} {{lc:{{#var:type}}}}]]{newline}|sort=1}}}}<!--
   -->{{#if:{{{characters|}}}|{{Array|{{{characters|}}}|;|[[Category:{item} {{lc:{{#var:type}}}}]]{newline}|sort=1}}}}<!--
   -->{{#if:{{{animals|{{{animal|}}}}}}|{{Array|{{{animals|{{{animal}}}}}}|;|[[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:{{{artist2|}}}|[[Category:{{{artist2}}}'s artwork]]}}<!--

Latest revision as of 06:49, 12 July 2024

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

The documentation for this template is missing. Click here to create it.