Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

Template page
(Created page with "<onlyinclude>{{#vardefine:see all|<a target="_blank" href="{{#invoke:ViewData URL|Files|character={{#var:CHARACTER}}|location={{{location|}}}|weapon={{{weapon|}}}|artist={{{ar...")
 
mNo edit summary
 
Line 1: Line 1:
<onlyinclude>{{#vardefine:see all|<a target="_blank" href="{{#invoke:ViewData URL|Files|character={{#var:CHARACTER}}|location={{{location|}}}|weapon={{{weapon|}}}|artist={{{artist|}}}|section={{{section|}}}|source={{{source|}}}|order="{{{sort|}}}"|intro={{#var:header}}}}"><div class="bb character-grid center" style="margin-left:10px; display:inline-block; width:100px;"><div>see all{{#if:{{{count_all|}}}|&nbsp;{{{count_all}}}}}</div></div></a>}}<!--
<onlyinclude>{{#vardefine:see all|<a target="_blank" href="{{#invoke:ViewData URL|Files|character={{#var:CHARACTER}}|location={{{location|}}}|weapon={{{weapon|}}}|artist={{{artist|}}}|section={{{section|}}}|source={{{source|}}}|order="{{#var:sort}}"|intro={{#var:header}}}}"><div class="bb character-grid center" style="margin-left:10px; display:inline-block; width:100px;"><div>see all{{#if:{{{count_all|}}}|&nbsp;{{{count_all}}}}}</div></div></a>}}<!--


Wrap the see cameo link in html for intro
Wrap the see cameo link in html for intro
-->{{#vardefine:see cameo|<a target="_blank" href="{{#invoke:ViewData URL|Files|cameo={{#var:CHARACTER}}|location={{{location|}}}|weapon={{{weapon|}}}|artist={{{artist|}}}|section={{{section|}}}|source={{{source|}}}|order="{{{sort|}}}"|intro={{#var:header}}}}"><div class="bbdw character-grid center" style="margin-left:10px; display:inline-block; width:140px;"><div>see cameos{{#if:{{{count_cameos|}}}|&nbsp;({{{count_cameos}}})}}</div></div></a>}}<!--
-->{{#vardefine:see cameo|<a target="_blank" href="{{#invoke:ViewData URL|Files|cameo={{#var:CHARACTER}}|location={{{location|}}}|weapon={{{weapon|}}}|artist={{{artist|}}}|section={{{section|}}}|source={{{source|}}}|order="{{#var:sort}}"|intro={{#var:header}}}}"><div class="bbdw character-grid center" style="margin-left:10px; display:inline-block; width:140px;"><div>see cameos{{#if:{{{count_cameos|}}}|&nbsp;({{{count_cameos}}})}}</div></div></a>}}<!--


Wrap the see cameo link in wikitext for default
Wrap the see cameo link in wikitext for default
-->{{#vardefine:see cameo default|[{{#invoke:ViewData URL|Files|cameo={{#var:CHARACTER}}|location={{{location|}}}|weapon={{{weapon|}}}|artist={{{artist|}}}|section={{{section|}}}|source={{{source|}}}|order="{{{sort|}}}"|intro={{#var:header}}}} <div class="bbdw character-grid center" style="margin-left:10px; display:inline-block; width:140px;"><div>see cameos{{#if:{{{count_cameos|}}}|&nbsp;({{{count_cameos}}})}}</div></div>]}}<!--
-->{{#vardefine:see cameo default|[{{#invoke:ViewData URL|Files|cameo={{#var:CHARACTER}}|location={{{location|}}}|weapon={{{weapon|}}}|artist={{{artist|}}}|section={{{section|}}}|source={{{source|}}}|order="{{#var:sort}}"|intro={{#var:header}}}} <div class="bbdw character-grid center" style="margin-left:10px; display:inline-block; width:140px;"><div>see cameos{{#if:{{{count_cameos|}}}|&nbsp;({{{count_cameos}}})}}</div></div>]}}<!--


-->{{#vardefine:intro|{{#if:{{#var:header}}|<div>{{#var:header}}{{#ifeq:{{#var:show see all}}|n||{{#var:see all}} }}{{#ifeq:{{{see_cameos|}}}|y|{{#var:see cameo}}}}</div>}}}}<!--
-->{{#vardefine:intro|{{#if:{{#var:header}}|<div>{{#var:header}}{{#ifeq:{{#var:show see all}}|n||{{#var:see all}} }}{{#ifeq:{{{see_cameos|}}}|y|{{#var:see cameo}}}}</div>}}}}<!--

Latest revision as of 16:23, 9 June 2020

Additional variable definitions for see all/cameos buttons