Editing Template:Location Infobox
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 3: | Line 3: | ||
<default>{{PAGENAME}}</default> | <default>{{PAGENAME}}</default> | ||
</title> | </title> | ||
<header name=" | <header name="secondary_title">{{{subtitle|}}}</header> | ||
<image source="image"> | |||
<caption source="caption"/> | |||
</ | </image> | ||
<data source="description"> | |||
<format>{{{description|}}}</format> | |||
</data> | |||
<header>Details</header> | <header>Details</header> | ||
<data source="type"> | <data source="type"> | ||
<label>Type</label> | <label>Type</label> | ||
<format> | <format>[[{{{type|}}}]]</format> | ||
</data> | </data> | ||
<data source="aspect"> | <data source="aspect"> | ||
<label>Aspect</label> | <label>Aspect</label> | ||
<format>{{{{{aspect}}}}}</format> | <format>{{{{{aspect}}}}}</format> | ||
</data> | </data> | ||
<data source="plane"> | <data source="plane"> | ||
<label>Plane</label> | <label>Plane</label> | ||
<format> | <format>{{{plane}}}<!-- | ||
Plane of X -->{{#if:{{{planeAspect|}}}|<nowiki> </nowiki>({{{planeAspect}}})}}</format> | |||
</data> | </data> | ||
<data source="continent"> | <data source="continent"> | ||
<label>Continent</label> | <label>Continent</label> | ||
<format>[[{{{continent}}}]]</format> | <format>[[{{{continent|}}}]]</format> | ||
</data> | </data> | ||
<data source="town"> | <data source="town"> | ||
<label>Town</label> | <label>Town</label> | ||
<format>[[{{{town}}}]]</format> | <format>[[{{{town|}}}]]</format> | ||
</data> | </data> | ||
</infobox | </infobox>{{Namespace|main=[[Category:Locations]]<!-- | ||
Set page display title if title is different from page name | |||
-->{{#ifeq:{{NAMESPACE}}||<!-- | -->{{#ifeq:{{NAMESPACE}}||<!-- | ||
-->{{#if:{{{title|}}}{{{displaytitle|}}}|{{#ifeq:{{{PAGENAME}}}|{{{title}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{title}}}}}}|noreplace}}}}}}}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{type|}}}|{{#switch:{{{type}}}<!-- | -->{{#if:{{{type|}}}|<!-- | ||
-->{{#switch:{{{type}}}<!-- | |||
-->|Plane = [[Category:Planes]]<!-- | |||
-->|Continent = [[Category:Continents]]<!-- | |||
-->|Town = [[Category:Towns]]<!-- | |||
-->|Place = [[Category:Places]]<!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | -->|}}<!-- | ||
-->{{#if:{{{type2|}}}|[[Category:{{{type2|}}}]]}}<!-- | |||
-->{{#if:{{{type3|}}}|[[Category:{{{type3|}}}]]}}<!-- | |||
-->{{#if:{{{type4|}}}|[[Category:{{{type4|}}}]]}}<!-- | |||
-->{{#if:{{{type5|}}}|[[Category:{{{type5|}}}]]}}<!-- | |||
-->{{#if:{{{group|}}}|[[Category:{{{group|}}}]]}}<!-- | |||
-->{{#if:{{{group2|}}}|[[Category:{{{group2|}}}]]}}<!-- | |||
-->{{#if:{{{group3|}}}|[[Category:{{{group3|}}}]]}}<!-- | |||
-->{{#if:{{{group4|}}}|[[Category:{{{group4|}}}]]}}<!-- | |||
-->{{#if:{{{group5|}}}|[[Category:{{{group5|}}}]]}}<!-- | |||
-->{{#if:{{{plane|}}}|<!---->{{Array|{{{plane|}}}|;|[[Category:{item} Locations]]}}<!---->|}}<!-- | |||
-->{{#if:{{{continent|}}}|[[Category:{{{continent|}}} Locations]]|}}<!-- | |||
-->{{#if:{{{town|}}}|[[Category:{{{town|}}} Locations]]|}}<!-- | |||
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | |||