Jump to: navigation, search

Difference between revisions of "Template:PnItemAlsoSee"

m
m
Line 1: Line 1:
<noinclude><div class="no-img">This template creates a list of links in the "Also see" section of items pages in IRHB's place-names section. It takes no parameters. They are instead supplied in the template '''[[template:PnItemTop|PnItemTop]]'''.</div></noinclude><includeonly>{{#vardefine:ph|{{#ifeq:{{#var:Pntype}}|Public house|* [[Public houses named after Robin Hood]]|}}}}{{#vardefine:AlsoSee|{{#ifeq:{{#var:Cluster1}}|||* [[{{#var:Cluster1}} place-name cluster]]}}{{#ifeq:{{#var:Cluster2}}|||* [[{{#var:Cluster2}} place-name cluster]]}}{{#ifeq:{{#var:Cluster3}}|||* [[{{#var:Cluster3}} place-name cluster]]}}{{#ifeq:{{#var:ExtraCat1}}|||* [[{{#var:ExtraCat1}}]]}}{{#ifeq:{{#var:ExtraCat2}}|||* [[{{#var:ExtraCat2}}]]}}{{#ifeq:{{#var:ExtraCat3}}|||* [[{{#var:ExtraCat3}}]]}}{{#ifeq:{{#var:ExtraCat4}}|||* [[{{#var:ExtraCat4}}]]}}{{#ifeq:{{#var:ExtraCat5}}|||* [[{{#var:ExtraCat5}}]]}}{{#ifeq:{{#var:ExtraLink1}}|||* [[{{#var:ExtraLink1}}{{#ifeq:{{#var:ExtraLinkName1}}|||&#124;{{#var:ExtraLinkName1}}}}]]}}{{#ifeq:{{#var:ExtraLink2}}|||* [[{{#var:ExtraLink2}}{{#ifeq:{{#var:ExtraLinkName2}}|||&#124;{{#var:ExtraLinkName2}}}}]]}}{{#ifeq:{{#var:ExtraLink3}}|||* [[{{#var:ExtraLink3}}{{#ifeq:{{#var:ExtraLinkName3}}|||&#124;{{#var:ExtraLinkName3}}}}]]}}{{#ifeq:{{#var:ExtraLink4}}|||* [[{{#var:ExtraLink4}}{{#ifeq:{{#var:ExtraLinkName4}}|||&#124;{{#var:ExtraLinkName4}}}}]]}}{{#ifeq:{{#var:ExtraLink5}}|||* [[{{#var:ExtraLink5}}{{#ifeq:{{#var:ExtraLinkName5}}|||&#124;{{#var:ExtraLinkName5}}}}]]}}{{#var:ph}}}}{{#ifeq:{{#var:AlsoSee}}|||==Also see=={{#var:AlsoSee}}.}}</includeonly>
+
<noinclude><div class="no-img">This template creates a list of links in the "Also see" section of items pages in IRHB's place-names section. It takes no parameters. They are instead supplied in the template '''[[template:PnItemTop|PnItemTop]]'''.</div></noinclude><includeonly>{{#vardefine:ph|{{#ifeq:{{#var:Pntype}}|Public house|* [[Public houses named after Robin Hood]]|}}}}{{#vardefine:AlsoSee|{{#ifeq:{{#var:Cluster1}}|||* [[{{#var:Cluster1}} place-name cluster]]}}{{#ifeq:{{#var:Cluster2}}|||* [[{{#var:Cluster2}} place-name cluster]]}}{{#ifeq:{{#var:Cluster3}}|||* [[{{#var:Cluster3}} place-name cluster]]}}{{#ifeq:{{#var:ExtraCat1}}|||* [[{{#var:ExtraCat1}}{{#ifeq:{{#var:ExtraCat1Text}}|||&#124;{{#var:ExtraCat1Text}}}}]]}}{{#ifeq:{{#var:ExtraCat2}}|||* [[{{#var:ExtraCat2}}{{#ifeq:{{#var:ExtraCat2Text}}|||&#124;{{#var:ExtraCat2Text}}}}]]}}{{#ifeq:{{#var:ExtraCat3}}|||* [[{{#var:ExtraCat3}}{{#ifeq:{{#var:ExtraCat3Text}}|||&#124;{{#var:ExtraCat3Text}}}}]]}}{{#ifeq:{{#var:ExtraCat4}}|||* [[{{#var:ExtraCat4}}{{#ifeq:{{#var:ExtraCat4Text}}|||&#124;{{#var:ExtraCat4Text}}}}]]}}{{#ifeq:{{#var:ExtraCat5}}|||* [[{{#var:ExtraCat5}}{{#ifeq:{{#var:ExtraCat5Text}}|||&#124;{{#var:ExtraCat5Text}}}}]]}}{{#ifeq:{{#var:ExtraLink1}}|||* [[{{#var:ExtraLink1}}{{#ifeq:{{#var:ExtraLinkName1}}|||&#124;{{#var:ExtraLinkName1}}}}]]}}{{#ifeq:{{#var:ExtraLink2}}|||* [[{{#var:ExtraLink2}}{{#ifeq:{{#var:ExtraLinkName2}}|||&#124;{{#var:ExtraLinkName2}}}}]]}}{{#ifeq:{{#var:ExtraLink3}}|||* [[{{#var:ExtraLink3}}{{#ifeq:{{#var:ExtraLinkName3}}|||&#124;{{#var:ExtraLinkName3}}}}]]}}{{#ifeq:{{#var:ExtraLink4}}|||* [[{{#var:ExtraLink4}}{{#ifeq:{{#var:ExtraLinkName4}}|||&#124;{{#var:ExtraLinkName4}}}}]]}}{{#ifeq:{{#var:ExtraLink5}}|||* [[{{#var:ExtraLink5}}{{#ifeq:{{#var:ExtraLinkName5}}|||&#124;{{#var:ExtraLinkName5}}}}]]}}{{#var:ph}}}}{{#ifeq:{{#var:AlsoSee}}|||==Also see=={{#var:AlsoSee}}.}}</includeonly>

Revision as of 05:06, 5 June 2019

This template creates a list of links in the "Also see" section of items pages in IRHB's place-names section. It takes no parameters. They are instead supplied in the template PnItemTop.