Template:Region: Difference between revisions
Hypermoron (talk | contribs) (Created page with "{{Infobox | above = {{{ name | {{FULLPAGENAME}}}}} | image = {{#ifexist: File:{{{image}}} | [[File:{{{image}}}|150px|link=]] | {{#ifexist: File:{{SUBPAGENAME}}.svg | [[File:{{SUBPAGENAME}}.svg|150px|link=]] | {{#ifexist: File:{{SUBPAGENAME}}.png | [[File:{{SUBPAGENAME}}.png|150px|link]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.svg | [[File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.svg|150px|link=]] | {{#ifexist: File:{{#titleparts: {{FULLPAG...") |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | <includeonly>{{#invoke:infobox|infobox | ||
| | | defaultimagesize = 250px | ||
| | | image = ParallelLogo.png | ||
| extratext = {{#if:{{{image_caption|}}} | {{{image_caption}}} }} | |||
| title = {{{title|{{BASEPAGENAME}}}}} | |||
| rows = | |||
{{#if: {{{type|}}} | {{infobox row|label=Type|field={{{type|}}} }} }} | |||
{{#if: {{{owners|}}} | {{infobox row|label=Owners|field={{{owners|}}} }} }} | |||
{{#if: {{{contributors|}}} | {{infobox row|label=Contributors|field={{{contributors|}}} }} }} | |||
{{#if: {{{public_access|}}} | {{infobox row|label=Public access?|field={{{public_access|}}} }} }} | |||
{{#if: {{{public_build|}}} | {{infobox row|label=Public build?|field={{{public_build|}}} }} }} | |||
{{#if: {{{established|}}} | {{infobox row|label=Established|field={{{established|}}} }} }} | |||
{{#if: {{{discovered|}}} | {{infobox row|label=Discovered|field={{{discovered|}}} }} }} | |||
{{#if: {{{status|}}} | {{infobox row|label=Status|field={{{status|}}} }} }} | |||
{{#if: {{{dimension|}}} | {{infobox row|label=Dimension|field={{{dimension|}}} }} }} | |||
{{#if: {{{x|}}}{{{z|}}} | {{infobox row|label=Coordinates|field=X = {{{x}}}{{#if:{{{y|}}}|<br>Y = {{{y}}}}}<br>Z = {{{z}}} }} }} | |||
{{#if: {{{underground|}}} | {{infobox row|label=Underground?|field={{{underground|}}} }} }} | |||
}}</includeonly><noinclude> | |||
}}<noinclude> | |||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Latest revision as of 03:59, 5 November 2023
{{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
Type |
PvP Arena |
---|---|
Public access? |
Yes |
Status |
Active |
Dimension |
Otherside overworld |
Coordinates |
X = 40 |
{ "title": "Region", "rows": [ { "field": "PvP Arena", "label": "Type" }, { "field": "Yes", "label": "Public access?" }, { "field": "Active", "label": "Status" }, { "field": "Otherside overworld", "label": "Dimension" }, { "field": "X = 40<br>Z = 400", "label": "Coordinates" } ], "invimages": [], "images": [ "Arena Overview 2020-12-31.png" ] }
{{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
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 |
Coordinates |
X = 40 |
Underground? |
No |
{ "extratext": "Sweat HQ", "title": "Region", "images": [ "Arena Overview 2020-12-31.png" ], "rows": [ { "field": "PvP Arena", "label": "Type" }, { "field": "Your mom", "label": "Owners" }, { "field": "Your dad", "label": "Contributors" }, { "field": "Yes", "label": "Public access?" }, { "field": "No", "label": "Public build?" }, { "field": "May 2020", "label": "Established" }, { "field": "May 2020", "label": "Discovered" }, { "field": "Active", "label": "Status" }, { "field": "Otherside overworld", "label": "Dimension" }, { "field": "X = 40<br>Y = 150<br>Z = 400", "label": "Coordinates" }, { "field": "No", "label": "Underground?" } ], "invimages": [] }
{{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 }}