Template:Location: Difference between revisions

Template page
(added location type being displayed)
(added hidden)
 
Line 105: Line 105:
<includeonly>[[Category:{{{island|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{island|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{island|}}}]]</includeonly>
<includeonly>[[Category:{{{island|}}}]]</includeonly>
}}|
}}
{{#if:{{{islandHidden|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{islandHidden|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{islandHidden|}}}]]</includeonly>
}}|
}}|
}}
}}
Line 112: Line 119:
<includeonly>[[Category:{{{region|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{region|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{region|}}}]]</includeonly>
<includeonly>[[Category:{{{region|}}}]]</includeonly>
}}|
}}
{{#if:{{{regionHidden|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{regionHidden|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{regionHidden|}}}]]</includeonly>
}}|
}}|
}}
}}
Line 140: Line 154:


| island          =
| island          =
| islandHidden    =
| islandManualLink =
| islandManualLink =
| region          =
| region          =
| regionHidden    =
| regionManualLink =
| regionManualLink =
| city            =
| city            =
Line 157: Line 173:
</pre></div>
</pre></div>
The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically.
The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically.
The parameters ending in "hidden" only effect categories and do not display in the infobox. These are great for automatically categorizing pages without displaying redundancies (For example, using islandHidden on the page for Zakaz to put the Zakaz page in the Zakaz category automatically)
The parameters ending in ManualLink will not auto-categorize like their default counterparts, but will display in the infobox.


[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:55, 15 April 2022

Location
Location
Wiki unknown image.png








Usage

{{Location
| bg_color         =
| name             =
| image            =
| caption          =
| rpg              =
| rpgManualLink    =
| type             =

| island           =
| islandHidden     =
| islandManualLink =
| region           =
| regionHidden     =
| regionManualLink =
| city             =
| faction          =
| affiliation      =
| owner            =
| residents        =
| population       =
| position         =

| status           =
| creator          =
| pronunciation    =
}}

The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically.

The parameters ending in "hidden" only effect categories and do not display in the infobox. These are great for automatically categorizing pages without displaying redundancies (For example, using islandHidden on the page for Zakaz to put the Zakaz page in the Zakaz category automatically)

The parameters ending in ManualLink will not auto-categorize like their default counterparts, but will display in the infobox.