Difference between revisions of "Template:Comics infobox sec/altcat"

From blackwiki
Jump to navigation Jump to search
imported>J Greb
(test)
imported>Primefac
m (Protected "Template:Comics infobox sec/altcat": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confir...)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{#if:{{{altcat|}}}|
 
{{#if:{{{altcat|}}}|
 
   {{#if:{{#ifeq:{{{altcat|none}}}|{{{sort|none}}}|1}}{{{alttop|}}}|
 
   {{#if:{{#ifeq:{{{altcat|none}}}|{{{sort|none}}}|1}}{{{alttop|}}}|
     [[Category:{{{altcat|}}}|a {{{sort|}}}]]|
+
     [[Category:{{{altcat|}}}| {{{sort|}}}]]|
     [[Category:{{{altcat|}}}|b{{{sort|}}}]]
+
     [[Category:{{{altcat|}}}|{{{sort|}}}]]
 
   }}
 
   }}
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 19:21, 10 January 2018

Call structure:

{{Comics infobox sec/altcat
|sort    = {{{sort|}}}/{{{sortkey|}}}
|altcat  = {{{altcat|}}}
|alttop  = {{{alttop|}}}
}}