Template:Location: Difference between revisions

Template page
No edit summary
(added auto-categorization similar to PC)
Line 11: Line 11:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{rpgManualLink|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} RPG
{{!}} [[{{{rpgManualLink|}}}]]
{{!}}-
|
{{#if:{{{rpg|}}}|
{{#if:{{{rpg|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} RPG
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} RPG
{{!}} {{{rpg|}}}
{{!}} [[{{{rpg|}}}]]
{{!}}-
{{!}}-
}}
}}
}}
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
Line 21: Line 27:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{islandManualLink|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Island
{{!}} [[{{{islandManualLink|}}}]]
{{!}}-
|
{{#if:{{{island|}}}|
{{#if:{{{island|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Island
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Island
{{!}} {{{island|}}}
{{!}} {{#if:{{{rpg|}}}|[[{{{island|}}} ({{{rpg}}})]]|[[{{{island|}}}]]}}
{{!}}-
{{!}}-
}}
}}
}}
{{#if:{{{regionManualLink|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Region
{{!}} [[{{{regionManualLink|}}}]]
{{!}}-
|
{{#if:{{{region|}}}|
{{#if:{{{region|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Region
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Region
{{!}} {{{region|}}}
{{!}} {{#if:{{{rpg|}}}|[[{{{region|}}} ({{{rpg}}})]]|[[{{{region|}}}]]}}
{{!}}-
{{!}}-
}}
}}
}}
{{#if:{{{city|}}}|
{{#if:{{{city|}}}|
Line 82: Line 100:
}}
}}
|}
|}
{{#if:{{{island|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{island|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{island|}}}]]</includeonly>
}}|
}}
{{#if:{{{region|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{region|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{region|}}}]]</includeonly>
}}|
}}


{{#if:{{{rpg|}}}|
{{#if:{{{rpg|}}}|
Line 92: Line 124:
<div style="width: 40%;"><pre>
<div style="width: 40%;"><pre>
{{Location
{{Location
| bg_color     =
| bg_color         =
| name         =
| name             =
| image         =
| image           =
| caption       =
| caption         =
| rpg           =
| rpg             =
| type         =
| rpgManualLink    =
| island       =
| type             =
| region       =
| island           =
| city         =
| islandManualLink =
| faction       =
| region           =
| affiliation   =
| regionManualLink =
| owner         =
| city             =
| residents     =
| faction         =
| population   =
| affiliation     =
| position     =
| owner           =
| status       =
| residents       =
| creator       =
| population       =
| pronunciation =
| position         =
| status           =
| creator         =
| pronunciation   =
}}
}}
</pre></div>
</pre></div>

Revision as of 03:20, 7 December 2021

Location
Location
Wiki unknown image.png





Usage

{{Location
| bg_color         =
| name             =
| image            =
| caption          =
| rpg              =
| rpgManualLink    =
| type             =
| island           =
| islandManualLink =
| region           =
| 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.