Template:Gallery Section (Cargo)/1: Difference between revisions

Template page
(Created page with "<noinclude>Sort options for Template:Gallery Section (Cargo)</noinclude> <onlyinclude>{{#vardefine:sort|{{#switch:{{{sort|}}} |date=Date DESC |_pageName }}}}</onlyincl...")
 
m (changed headers to work with TOC)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Sort options for [[Template:Gallery Section (Cargo)]]</noinclude>
{{#vardefine:sort|{{#switch:{{{sort|}}}
<onlyinclude>{{#vardefine:sort|{{#switch:{{{sort|}}}
   |date=Date DESC
   |date=Date DESC
   |_pageName
   |_pageName
}}}}</onlyinclude>
}}}}<!--
 
-->{{#vardefine:header|{{#switch:{{{header|}}}|h2=<div>
=={{{title}}}==
</div>|h3=<div>
==={{{title}}}===
</div>|h4=<div>
===={{{title}}}====
</div>|h5=<div>
====={{{title}}}=====
</div>|{{{title|}}}
}}}}<!--
 
-->{{#vardefine:count_total|{{#expr:{{{count_all|0}}} + {{{count_cameos|0}}}}}}}<!--
 
-->{{#if:{{{count_all|}}}|{{#ifexpr:{{#expr:{{{count_all|0}}} - {{{limit|4}}}}}>0|{{#vardefine:show see all|y}}|{{#vardefine:show see all|n}} }}}}{{#vardefine:show see all|{{#switch:{{{see_all|}}}
  |n=n
  |{{#var:show see all}}
}}}}<!--
 
-->{{#vardefine:CHARACTER|{{#replace:{{{character|}}}|'|}}}}

Latest revision as of 17:27, 3 April 2021