Difference between revisions of "Template:Riding category"

From Wikishire
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{#var:shire}}|Yorkshire|{{#ifeq:{{#varexists:riding}}|[[Category:{{{1}}} {{#if:{{{2|}}}|{{{2}}}|in}} the {{#var:riding}}{{#ifeq:{{#sub:{{#var:riding}}|{{#expr:{{#len:{{#var:riding}}}}-9}}}}|Yorkshire|| of Yorkshire]]}} }}</includeonly><noinclude>[[Category:Categorisation templates|Riding category]]
+
<includeonly>{{#ifeq:{{#var:shire}}|Yorkshire|{{#ifeq:{{#varexists:riding}}|1|[[Category:{{{1}}} {{#if:{{{2|}}}|{{{2}}}|in}} {{ridingfix 2|{{#var:riding}}}}]]}} }}</includeonly><noinclude>[[Category:Categorisation templates|Riding category]]

Latest revision as of 00:37, 8 September 2019