Template:FoundIn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(12 intermediate revisions by 2 users not shown) | |||
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]].{{Cat|templates}}</noinclude><includeonly>{{#switch:{{{2|c}}}|c={{#arraymap:{{#show:{{{1}}}|?Found in|link=none}}|,|@@@@|{{#switch:{{lc:@@@@}}|ilithi|forfedhdar|zoluren|therengia|qi|qi'reshalia=|#default=@@@@}}}}|p|{{#arraymap:{{#show:{{{1}}}|?Found in|link=none}}|,|@@@@|{{#switch:{{lc:@@@@}}|ilithi|forfedhdar|zoluren|therengia=@@@@|qi|qi'reshalia=Qi'Reshalia|#default=}}}}}}</includeonly> |
|||
<includeonly>{{#switch|{{{2}}} |
|||
|c={{#arraymap:{{#arraymaptemplate:{{#ask: [[{{{1}}}]] |
|||
|?Found in= |
|||
|link=none |
|||
}}|Template:FoundInCityHelper|,}}|,|x|x}} |
|||
|p |
|||
|{{#arraymap:{{#arraymaptemplate:{{#ask: [[{{{1}}}]] |
|||
|?Found in= |
|||
|link=none |
|||
}}|Template:FoundInProvinceHelper|,}}|,|x|x}} |
|||
}}</includeonly><noinclude> |
|||
{{Cat|templates}}</noinclude> |
Latest revision as of 01:05, 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.