Template:Sportcat 2: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Created page with "{{#if:{{{sport|}}}|{{sportcat|{{{sport}}}|{{{1}}} }}| {{#if:{{{sport 1|}}}|{{sportcat|{{{sport 1}}}|{{{1}}} }} {{#if:{{{sport 2|}}}|{{sportcat|{{{sport 2}}}|{{{1}}} }} {{#if:{..."
 
RB (talk | contribs)
No edit summary
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}}}]]