Template:Settlement: Difference between revisions
Hypermoron (talk | contribs) (Created page with "<includeonly>{{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:{{#titlepar...") |
Hypermoron (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
| 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 = {{#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=]] }} }} }} }} }} }} }} | ||
| caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }} | | caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }} | ||
| label1 = Leadership | | label1 = Type | ||
| | | data1 = {{{type}}} | ||
| | | label2 = Leadership | ||
| | | data2 = {{{leadership|}}} | ||
| | | label3 = Headquarters | ||
| | | data3 = {{{hq|}}} | ||
| | | label4 = Ideology | ||
| | | data4 = {{{ideology|}}} | ||
| | | label5 = Established | ||
| | | data5 = {{{Established|}}} | ||
| | | label6 = Disbanded | ||
| | | data6 = {{{disbanded|}}} | ||
| | | label7 = Public join? | ||
| | | data7 = {{{public|}}} | ||
| | | label8 = Status | ||
| | | data8 = {{{status|Active}}} | ||
| | | data9 = Location | ||
| | | label10 = Dimension | ||
| | | data10 = {{{dimension}}} | ||
| | | label11 = Coordinates | ||
| data11 = {{#if:{{{x|}}}{{{z|}}}|X = {{{x}}}{{#if:{{{y|}}}|<br>Y = {{{y}}}}}<br>Z = {{{z}}}}} | |||
| label12 = Underground? | |||
| data12 = {{{underground|}}} | | data12 = {{{underground|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Revision as of 16:34, 27 June 2022
This template provides an infobox for player settlements.
{{Settlement | name = | image = | image_caption = | type = | leadership = | hq = | ideology = | established = | disbanded = | public = | status = | dimension = | x = | y = | z = | underground = }}
An infobox to serve as a quick reference on the right side of settlement pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Settlement 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 settlement.
| Line | suggested |
Leadership | leadership | The leader(s) of the group.
| Line | suggested |
Headquarters | hq | The headquarters of the settlement.
| Line | suggested |
Ideology | ideology | The professed ideology of the settlement.
| Line | suggested |
Established | established | The date the settlement was established. | Line | suggested |
Disbanded | disbanded | The date the settlement was disbanded. | Line | suggested |
Public join? | public | Whether settlement membership is open to the public.
| Line | suggested |
Status | status | Status of the settlement.
| Line | suggested |
Dimension | dimension | Dimension where the settlement is located.
| Line | required |
X | x | The x-coordinate of the settlement. | Number | suggested |
Y | y | The y-coordinate of the settlement. | Number | suggested |
Z | z | The x-coordinate of the settlement. | Number | suggested |
Underground? | underground | Whether the settlement is underground.
| Boolean | suggested |
Examples
Some
{ "title": "Settlement", "rows": [], "invimages": [], "images": [ "[[File:Arena Overview 2020-12-31.png|150px|link=]]" ] }
{{Settlement | image = Arena Overview 2020-12-31.png | type = Player town | leadership = Diamondback88 | established = May 2020 | dimension = Overworld | x = 40 | z = 400 }}
Everything
{ "title": "Settlement", "rows": [], "invimages": [], "images": [ "[[File:Arena Overview 2020-12-31.png|150px|link=]]" ] }
{{Settlement | name = Red Rose Town | image = Arena Overview 2020-12-31.png | image_caption = Let's gooooo baby | type = Player town | leadership = Diamondback88 | hq = Red Rose Arena | ideology = Oligarchy | established = May 2020 | disbanded = Not yet suckers | public = Yes | status = Active | dimension = Overworld | x = 40 | y = 150 | z = 400 | underground = No }}