Difference between revisions of "Template:Sportcat 2"

From Wikishire
Jump to: navigation, search
(Created page with "{{#if:{{{sport|}}}|{{sportcat|{{{sport}}}|{{{1}}} }}| {{#if:{{{sport 1|}}}|{{sportcat|{{{sport 1}}}|{{{1}}} }} {{#if:{{{sport 2|}}}|{{sportcat|{{{sport 2}}}|{{{1}}} }} {{#if:{...")
 
Line 1: Line 1:
{{#if:{{{sport|}}}|{{sportcat|{{{sport}}}|{{{1}}} }}|
+
{{sportcat|{{#var:s1}}|{{{1}}}}}
{{#if:{{{sport 1|}}}|{{sportcat|{{{sport 1}}}|{{{1}}} }}
+
{{#ifeq:{{#var:s2|0||{{sportcat|{{#var:s2}}|{{{1}}} }}
{{#if:{{{sport 2|}}}|{{sportcat|{{{sport 2}}}|{{{1}}} }}
+
{{#ifeq:{{#var:s3|0||{{sportcat|{{#var:s3}}|{{{1}}} }}
{{#if:{{{sport 3|}}}|{{sportcat|{{{sport 3}}}|{{{1}}} }}
+
{{#ifeq:{{#var:s4|0||{{sportcat|{{#var:s4}}|{{{1}}} }}<noinclude>[[Category:Categorisation templates|Sportcat 2]]</noinclude>
{{#if:{{{sport 4|}}}|{{sportcat|{{{sport 4}}}|{{{1}}} }}
+
}} }} }} }} }}<noinclude>[[Category:Categorisation templates|Sportcat 2]]</noinclude>
+

Revision as of 13:01, 20 August 2019

[[Category:Sports grounds in {{{1}}}]] {{#ifeq:{{#var:s2|0||[[Category:Sports grounds in {{{1}}}]] {{#ifeq:{{#var:s3|0||[[Category:Sports grounds in {{{1}}}]] {{#ifeq:{{#var:s4|0||[[Category:Sports grounds in {{{1}}}]]