Template:Location: Difference between revisions

Template page
(added auto-categorization similar to PC)
No edit summary
Line 34: Line 34:
{{#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
{{!}} {{#if:{{{rpg|}}}|[[{{{island|}}} ({{{rpg}}})]]|[[{{{island|}}}]]}}
{{!}} {{#if:{{{rpg|}}}|[[{{{island|}}} ({{{rpg}}})|{{{island|}}}]]|[[{{{island|}}}]]}}
{{!}}-
{{!}}-
}}
}}
Line 45: Line 45:
{{#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
{{!}} {{#if:{{{rpg|}}}|[[{{{region|}}} ({{{rpg}}})]]|[[{{{region|}}}]]}}
{{!}} {{#if:{{{rpg|}}}|[[{{{region|}}} ({{{rpg}}})|{{{region|}}}]]|[[{{{region|}}}]]}}
{{!}}-
{{!}}-
}}
}}

Revision as of 03:22, 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.