Template:FoundIn: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(version update fix)
mNo edit summary
Line 1: Line 1:
<noinclude>This template will take a page name and spit out which, if any provinces it's found in (if field 2 is "p") or which, if any, cities it's found in (if field 2 is "c"). This is used in the [[Template:Store At A Glance]].</noinclude>{{#switch:{{{2|c}}}
<noinclude>This template will take a page name and spit out which, if any provinces it's found in (if field 2 is "p") or which, if any, cities it's found in (if field 2 is "c"). This is used in the [[Template:Store At A Glance]].</noinclude>{{#switch:{{{2|c}}}
|c={{#arraymap:{{#arraymaptemplate:{{#show: [[{{{1|Rat}}}]]|?Found in}}|Template:FoundInCityHelper|,}}|,|x|x}}
|c={{#arraymap:{{#arraymaptemplate:{{#show: {{{1|Rat}}}|?Found in}}|Template:FoundInCityHelper|,}}|,|x|x}}
|p|{{#arraymap:{{#arraymaptemplate:{{#show: [[{{{1|Rat}}}]]|?Found in}}|Template:FoundInProvinceHelper|,}}|,|x|x}}
|p|{{#arraymap:{{#arraymaptemplate:{{#show: {{{1|Rat}}}|?Found in}}|Template:FoundInProvinceHelper|,}}|,|x|x}}
}}<noinclude>
}}<noinclude>
{{Cat|templates}}</noinclude>
{{Cat|templates}}</noinclude>

Revision as of 01:44, 7 February 2012

This template will take a page name and spit out which, if any provinces it's found in (if field 2 is "p") or which, if any, cities it's found in (if field 2 is "c"). This is used in the Template:Store At A Glance.Template:FoundInCityHelper, Template:FoundInCityHelper, Template:FoundInCityHelper, Template:FoundInCityHelper, Template:FoundInCityHelper, Template:FoundInCityHelper, Template:FoundInCityHelper, Template:FoundInCityHelper, Template:FoundInCityHelper