More actions
(Created page with "<noinclude>Sort options for Template:Gallery Section (Cargo)</noinclude> <onlyinclude>{{#vardefine:sort|{{#switch:{{{sort|}}} |date=Date DESC |_pageName }}}}</onlyincl...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>Variable definitions for [[Template:Gallery Section (Cargo)]]</noinclude> | ||
<onlyinclude>{{#vardefine:sort|{{#switch:{{{sort|}}} | <onlyinclude>{{#vardefine:sort|{{#switch:{{{sort|}}} | ||
|date=Date DESC | |date=Date DESC | ||
|_pageName | |_pageName | ||
}}}}</onlyinclude> | }}}}<!-- | ||
-->{{#vardefine:header|{{#switch:{{{header|}}} | |||
|h2=<h2 style="display:inline;">{{{title}}}</h2> | |||
|h3=<h3 style="display:inline;">{{{title}}}</h3> | |||
|h4=<h4 style="display:inline;">{{{title}}}</h4> | |||
|h5=<h5 style="display:inline;">{{{title}}}</h5> | |||
|{{{title|}}} | |||
}}}}<!-- | |||
-->{{#if:{{{count_all|}}}|{{#ifexpr:{{#expr:{{{count_all|}}} - {{{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|}}}|'|}}}}</onlyinclude> |
Revision as of 16:06, 9 June 2020
Variable definitions for Template:Gallery Section (Cargo)