Template:Settlement: Difference between revisions
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:infobox|infobox | <includeonly>{{#invoke:infobox|infobox | ||
| defaultimagesize = | | defaultimagesize = 250px | ||
| image = ParallelLogo.png | | image = ParallelLogo.png | ||
| extratext = {{#if:{{{image_caption|}}} | {{{image_caption}}} }} | | extratext = {{#if:{{{image_caption|}}} | {{{image_caption}}} }} | ||
Line 12: | Line 12: | ||
{{#if: {{{disbanded|}}} | {{infobox row|label=Disbanded|field={{{disbanded|}}} }} }} | {{#if: {{{disbanded|}}} | {{infobox row|label=Disbanded|field={{{disbanded|}}} }} }} | ||
{{#if: {{{public|}}} | {{infobox row|label=Public join?|field={{{public|}}} }} }} | {{#if: {{{public|}}} | {{infobox row|label=Public join?|field={{{public|}}} }} }} | ||
{{#if: {{{status|}}} | {{infobox row|label=Status|field={{{status | {{#if: {{{status|}}} | {{infobox row|label=Status|field={{{status|}}} }} }} | ||
{{#if: {{{dimension|}}} | {{infobox row|label=Dimension|field={{{dimension|}}} }} }} | {{#if: {{{dimension|}}} | {{infobox row|label=Dimension|field={{{dimension|}}} }} }} | ||
{{#if: {{{x|}}}{{{z|}}} | {{infobox row|label=Coordinates|field= | {{#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|}}} }} }} | {{#if: {{{underground|}}} | {{infobox row|label=Underground?|field={{{underground|}}} }} }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Latest revision as of 04:00, 5 November 2023
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
Type |
Player town |
---|---|
Leadership |
Diamondback88 |
Established |
May 2020 |
Dimension |
Overworld |
Coordinates |
X = 40 |
{ "title": "Settlement", "rows": [ { "field": "Player town", "label": "Type" }, { "field": "Diamondback88", "label": "Leadership" }, { "field": "May 2020", "label": "Established" }, { "field": "Overworld", "label": "Dimension" }, { "field": "X = 40<br>Z = 400", "label": "Coordinates" } ], "invimages": [], "images": [ "Arena Overview 2020-12-31.png" ] }
{{Settlement | image = Arena Overview 2020-12-31.png | type = Player town | leadership = Diamondback88 | established = May 2020 | dimension = Overworld | x = 40 | z = 400 }}
Everything
Type |
Player town |
---|---|
Leadership |
Diamondback88 |
Headquarters |
Red Rose Arena |
Ideology |
Oligarchy |
Established |
May 2020 |
Disbanded |
Not yet suckers |
Public join? |
Yes |
Status |
Active |
Dimension |
Overworld |
Coordinates |
X = 40 |
Underground? |
No |
{ "extratext": "Let's gooooo baby", "title": "Settlement", "images": [ "Arena Overview 2020-12-31.png" ], "rows": [ { "field": "Player town", "label": "Type" }, { "field": "Diamondback88", "label": "Leadership" }, { "field": "Red Rose Arena", "label": "Headquarters" }, { "field": "Oligarchy", "label": "Ideology" }, { "field": "May 2020", "label": "Established" }, { "field": "Not yet suckers", "label": "Disbanded" }, { "field": "Yes", "label": "Public join?" }, { "field": "Active", "label": "Status" }, { "field": "Overworld", "label": "Dimension" }, { "field": "X = 40<br>Y = 150<br>Z = 400", "label": "Coordinates" }, { "field": "No", "label": "Underground?" } ], "invimages": [] }
{{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 }}