Difference between revisions of "Template:Building"

From The Perfect Tower II
Jump to navigation Jump to search
m (Protected "Template:Building" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
Line 26: Line 26:
 
[[Category:Buildings]]
 
[[Category:Buildings]]
 
</includeonly>
 
</includeonly>
 +
<templatedata>
 +
{
 +
    "description": "Template for buildings.",
 +
    "params": {
 +
        "Tier": {
 +
            "label": "Building max tier",
 +
            "type": "number",
 +
            "required": true
 +
        },
 +
"ConversionRate": {
 +
            "label": "Building conversion rate",
 +
            "type": "number",
 +
            "required": true
 +
        },
 +
"Image": {
 +
            "label": "Image of building",
 +
            "type": "wiki-file-name",
 +
            "required": true
 +
        },
 +
"Color": {
 +
            "label": "Building color",
 +
            "type": "string",
 +
            "required": true
 +
        },
 +
"ColorCode": {
 +
            "label": "color code",
 +
            "type": "string",
 +
            "required": false
 +
        }
 +
    }
 +
}
 +
</templatedata>

Revision as of 19:36, 12 November 2019

{{Building
|Name=
|Image=
}}


Template for buildings.

Template parameters

ParameterDescriptionTypeStatus
Building max tierTier

no description

Numberrequired
Building conversion rateConversionRate

no description

Numberrequired
Image of buildingImage

no description

Filerequired
Building colorColor

no description

Stringrequired
color codeColorCode

no description

Stringoptional