Template:Region: Difference between revisions
Hypermoron (talk | contribs) No edit summary |
Hypermoron (talk | contribs) (larger images) |
||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| above = {{{ name | {{FULLPAGENAME}}}}} | | above = {{{ name | {{FULLPAGENAME}}}}} | ||
| image = {{#ifexist: File:{{{image}}} | [[File:{{{image}}}| | | image = {{#ifexist: File:{{{image}}} | [[File:{{{image}}}|250px|link=]] | {{#ifexist: File:{{SUBPAGENAME}}.svg | [[File:{{SUBPAGENAME}}.svg|250px|link=]] | {{#ifexist: File:{{SUBPAGENAME}}.png | [[File:{{SUBPAGENAME}}.png|250px|link]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.svg | [[File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.svg|250px|link=]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.png | [[File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.png|250px|link=]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.svg | [[File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.svg|250px|link=]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.png | [[File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.png|250px|link=]] | [[File:{{#setmainimage: ParallelLogo.png }} |250px|link=]] }} }} }} }} }} }} }} | ||
| caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }} | | caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }} | ||
| label1 = Type | | label1 = Type | ||
Revision as of 02:11, 29 June 2022
{{Region
| name =
| image =
| image_caption =
| type =
| owners =
| contributors =
| public_access =
| public_build =
| established =
| discovered =
| status =
| dimension =
| x =
| y =
| z =
| underground =
}}
An infobox to serve as a quick reference on the right side of region pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Region name | name | Will automatically enter based on page name
| Line | optional |
| Image | image | Refers to the image file stored on the wiki. By default, the Parallel logo will be displayed, but you should always point this parameter to a render or screenshot of the location.
| File | suggested |
| Image caption | image_caption | An optional caption for the image. | Line | optional |
| Type | type | The type of region.
| Line | suggested |
| Owners | owners | A list of owners of the region. | Line | suggested |
| Contributors | contributors | A list of other contributors to the region. | Line | suggested |
| Public access? | public_access | Whether the public has access to the region.
| Line | suggested |
| Public build? | public_build | Whether the public can build in the region.
| Line | suggested |
| Established | established | The date the region was established. | Line | suggested |
| Discovered | discovered | The date the region was discovered. Reserved for naturally generated or lore-related regions. | Line | suggested |
| Status | status | Status of the region.
| Line | suggested |
| Dimension | dimension | Dimension where the structure is located.
| Line | required |
| X | x | The x-coordinate of the region. | Number | suggested |
| Y | y | The y-coordinate of the region. | Number | suggested |
| Z | z | The x-coordinate of the region. | Number | suggested |
| Underground? | underground | Whether the region is underground.
| Unknown | suggested |
Examples
Some
{
"title": "Region",
"rows": [],
"invimages": [],
"images": [
"[[File:Arena Overview 2020-12-31.png|250px|link=]]"
]
}
{{Region
| image = Arena Overview 2020-12-31.png
| type = PvP Arena
| public_access = Yes
| status = Active
| dimension = Otherside overworld
| x = 40
| y =
| z = 400
}}
Everything
{
"title": "Region",
"rows": [],
"invimages": [],
"images": [
"[[File:Arena Overview 2020-12-31.png|250px|link=]]"
]
}
{{Region
| name = Super Epic Arena
| image = Arena Overview 2020-12-31.png
| image_caption = Sweat HQ
| type = PvP Arena
| owners = Your mom
| contributors = Your dad
| public_access = Yes
| public_build = No
| established = May 2020
| discovered = May 2020
| status = Active
| dimension = Otherside overworld
| x = 40
| y = 150
| z = 400
| underground = No
}}