Template:Region: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{#invoke:infobox|infobox
   | above = {{{ name | {{FULLPAGENAME}}}}}
   | defaultimagesize = 250px
   | 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: {{FULLPAGENAME}} | -1 | -2 }}.png | [[File:{{#titleparts: {{FULLPAGENAME}} | -1 | -2 }}.png|150px|link=]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.svg | [[File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.svg|150px|link=]] | {{#ifexist: File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.png | [[File:{{#titleparts: {{FULLPAGENAME}} | -2 | -3 }}.png|150px|link=]] | [[File:{{#setmainimage: ParallelLogo.png }} |150px|link=]] }} }} }} }} }} }} }}
  | image = ParallelLogo.png
  | caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }}
   | extratext = {{#if:{{{image_caption|}}} | {{{image_caption}}} }}
  | label1 = Type
  | title = {{{title|{{BASEPAGENAME}}}}}
  | data1 = {{{type|}}}
  | rows =
  | label2 = Owners
{{#if: {{{type|}}} | {{infobox row|label=Type|field={{{type|}}} }} }}
  | data2 = {{{owners|}}}
{{#if: {{{owners|}}} | {{infobox row|label=Owners|field={{{owners|}}} }} }}
  | label3 = Contributors
{{#if: {{{contributors|}}} | {{infobox row|label=Contributors|field={{{contributors|}}} }} }}
  | data3 = {{{contributors|}}}
{{#if: {{{public_access|}}} | {{infobox row|label=Public access?|field={{{public_access|}}} }} }}
  | label4 = Public access?
{{#if: {{{public_build|}}} | {{infobox row|label=Public build?|field={{{public_build|}}} }} }}
  | data4 = {{{public_access|}}}
{{#if: {{{established|}}} | {{infobox row|label=Established|field={{{established|}}} }} }}
  | label5 = Public build?
{{#if: {{{discovered|}}} | {{infobox row|label=Discovered|field={{{discovered|}}} }} }}
  | data5 = {{{public_build|}}}
{{#if: {{{status|}}} | {{infobox row|label=Status|field={{{status|}}} }} }}
  | label6 = Established
{{#if: {{{dimension|}}} | {{infobox row|label=Dimension|field={{{dimension|}}} }} }}
  | data6 = {{{established|}}}
{{#if: {{{x|}}}{{{z|}}} | {{infobox row|label=Coordinates|field=X &#x3D; {{{x}}}{{#if:{{{y|}}}|<br>Y &#x3D; {{{y}}}}}<br>Z &#x3D; {{{z}}} }} }}
  | label7 = Discovered
{{#if: {{{underground|}}} | {{infobox row|label=Underground?|field={{{underground|}}} }} }}
  | data7 = {{{discovered|}}}
  | label8 = Status
  | data8 = {{{status|}}}
  | data9 = Location
  | label10 = Dimension
  | data10 = {{{dimension}}}
  | label11 = Coordinates
  | data11 = X &#x3D; {{{x}}}{{{y||<br>Y &#x3D; {{{y}}}}}}<br>Z &#x3D; {{{z}}}  
  | label12 = Underground?
  | data12 = {{{underground|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Latest revision as of 03:59, 5 November 2023

[view] [edit] [history] [⧼smw purge⧽]Documentation
{{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.

Template parameters

ParameterDescriptionTypeStatus
Region namename

Will automatically enter based on page name

Example
Spawn Town
Lineoptional
Imageimage

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.

Default
ParallelLogo.png
Filesuggested
Image captionimage_caption

An optional caption for the image.

Lineoptional
Typetype

The type of region.

Example
Town
Linesuggested
Ownersowners

A list of owners of the region.

Linesuggested
Contributorscontributors

A list of other contributors to the region.

Linesuggested
Public access?public_access

Whether the public has access to the region.

Suggested values
Yes No
Linesuggested
Public build?public_build

Whether the public can build in the region.

Suggested values
Yes No
Linesuggested
Establishedestablished

The date the region was established.

Linesuggested
Discovereddiscovered

The date the region was discovered. Reserved for naturally generated or lore-related regions.

Linesuggested
Statusstatus

Status of the region.

Suggested values
Under construction In use Active Inactive Closed Abandoned Destroyed
Linesuggested
Dimensiondimension

Dimension where the structure is located.

Suggested values
Parallel Prime Overworld Parallel Prime Nether Otherside Overworld Otherside Nether The End Sky Dimension Space
Example
Sky Dimension
Linerequired
Xx

The x-coordinate of the region.

Numbersuggested
Yy

The y-coordinate of the region.

Numbersuggested
Zz

The x-coordinate of the region.

Numbersuggested
Underground?underground

Whether the region is underground.

Suggested values
Yes No
Unknownsuggested

Examples

Some

Region
Arena Overview 2020-12-31.png: Infobox image for Region the region in Minecraft
Type

PvP Arena

Public access?

Yes

Status

Active

Dimension

Otherside overworld

Coordinates

X = 40
Z = 400

{{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

Region
Arena Overview 2020-12-31.png: Infobox image for Region the region in Minecraft
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

Coordinates

X = 40
Y = 150
Z = 400

Underground?

No

{{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
}}
[view] [edit] [history] [⧼smw purge⧽]The above documentation is transcluded from Template:Region/doc.