Template:PlaceNamesClusterNavigationEnglish: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div id="dplcatlinks" class="subcategory"><div id="dplcatarea"> | |||
{{#ifeq:{{{Riding|}}}||{{#ifeq:{{{HomeCounty|}}}|||{{#ask: [[Category:{{{HomeCounty}}} place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemPrevious|link=none|limit=1|sort=Utitle}}[[{{{HomeCounty}}} place-names#clusters|{{{HomeCounty}}} place-name clusters]]{{#ask: [[Category:{{{HomeCounty}}} place-name clusters]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemNext|link=none|limit=1|sort=Utitle}}}}|{{#ask: [[Category:{{{Riding}}} Riding of Yorkshire place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemPrevious|link=none|limit=1|sort=Utitle}}[[{{{Riding}}} Riding of Yorkshire place-names#clusters|{{{Riding}}} Riding of Yorkshire place-name clusters]]{{#ask: [[Category:{{{Riding}}} Riding of Yorkshire place-name clusters]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemNext|link=none|limit=1|sort=Utitle}}}} | |||
{{#ifeq:{{{Riding|}}}||{{#ifeq:{{{HomeCounty|}}}|||{{#ask: [[Category:{{{HomeCounty}}} place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=descending|searchlabel=|format=template|introtemplate= | |||
{{#ask: [[Category:{{{County}}} place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=descending|searchlabel=|format=template|introtemplate= | {{#ask: [[Category:{{{County}}} place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemPrevious|link=none|limit=1|sort=Utitle}}[[{{{County}}} place-names#clusters|{{{County}}} place-name clusters]]{{#ask: [[Category:{{{County}}} place-name clusters]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemNext|link=none|limit=1|sort=Utitle}} | ||
{{#ask: [[Category:English place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=descending|searchlabel=|format=template|introtemplate= | {{#ask: [[Category:English place-name clusters]][[Utitle::<<{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=descending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemPrevious|link=none|limit=1|sort=Utitle}}[[place-names#clusters|English place-name clusters]]{{#ask: [[Category:English place-name clusters]][[Utitle::>>{{#replace:{{uc:{{PAGENAME}}}}|'|'}}]]|order=ascending|searchlabel=|format=template|introtemplate=BeforeNavigation|template=ItemPrint|outrotemplate=ItemNext|link=none|limit=1|sort=Utitle}} | ||
</div></div></includeonly><noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Riding": { | |||
"label": "Riding", | |||
"description": "One of the three ridings of Yorkshire", | |||
"example": "East, North, or West", | |||
"type": "string" | |||
}, | |||
"HomeCounty": { | |||
"label": "Homee County", | |||
"description": "One of: Essex, Middlesex, Surrey, Kent", | |||
"example": "Middlesex", | |||
"type": "string" | |||
}, | |||
"County": { | |||
"label": "County", | |||
"description": "Name of an English pre-1972 county", | |||
"example": "Worcestershire", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "Creates navigation links at foot of English place-name cluster landing pages" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 12:03, 17 January 2021
Creates navigation links at foot of English place-name cluster landing pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Riding | Riding | One of the three ridings of Yorkshire
| String | optional |
Homee County | HomeCounty | One of: Essex, Middlesex, Surrey, Kent
| String | optional |
County | County | Name of an English pre-1972 county
| String | required |