Template:Structure: Difference between revisions
Hypermoron (talk | contribs) No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <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|}}} | {{infobox row|label=Public access?|field={{{public|}}} }} }} | |||
{{#if: {{{started|}}} | {{infobox row|label=Started|field={{{started|}}} }} }} | |||
{{#if: {{{completed|}}} | {{infobox row|label=Completed|field={{{completed|}}} }} }} | |||
{{#if: {{{discovered|}}} | {{infobox row|label=Discovered|field={{{discovered|}}} }} }} | |||
{{#if: {{{produces|}}} | {{infobox row|label=Produces|field={{{produces|}}} }} }} | |||
{{#if: {{{buys|}}} | {{infobox row|label=Buys|field={{{buys|}}} }} }} | |||
{{#if: {{{sells|}}} | {{infobox row|label=Sells|field={{{sells|}}} }} }} | |||
{{#if: {{{status|}}} | {{infobox row|label=Status|field={{{status|}}} }} }} | |||
{{#if: {{{location|}}} | {{infobox row|label=Location|field={{{location|}}} }} }} | |||
{{#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> | }}</includeonly><noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Latest revision as of 04:00, 5 November 2023
{{Structure | name = | image = | image_caption = | type = | owners = | contributors = | public = | started = | completed = | discovered = | produces = | buys = | sells = | status = | dimension = | x = | y = | z = | underground = }}
An infobox to serve as a quick reference on the right side of structure pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Structure 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 structure.
| Line | suggested |
Owners | owners | A list of owners of the structure. | Line | suggested |
Contributors | contributors | A list of other contributors to the structure. | Line | suggested |
Public access? | public | Whether the public can use the structure.
| Line | suggested |
Started | started | The date construction began on the structure. | Line | suggested |
Completed | completed | The date construction finished on the structure. | Line | suggested |
Discovered | discovered | The date the structure was discovered. Reserved for naturally generated or lore-related structures. | Line | suggested |
Produces | produces | Materials produced by this farm or factory.
| Line | suggested |
Buys | buys | Items bought by this shop. | Line | suggested |
Sells | sells | Items sold by this shop. | Line | suggested |
Status | status | Status of the structure.
| Line | suggested |
Dimension | dimension | Dimension where the structure is located.
| Line | required |
X | x | The x-coordinate of the structure. Try to specify a main entrance or central point. | Number | suggested |
Y | y | The y-coordinate of the structure. Try to specify a main entrance or central point. | Number | suggested |
Z | z | The x-coordinate of the structure. Try to specify a main entrance or central point. | Number | suggested |
Underground? | underground | Whether the structure is underground.
| Unknown | suggested |