Template:StructureDisp/doc

From Anvil Empires Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Usage

{{StructureDisp|CodeNameString}}

Details

This template displays Name and Icon for structures. Input in structure CodeNameString or DisplayName. It uses [[Template:StructureDisp/format]] for formatting.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Param1Param1

Structures CodeNameString or DisplayName. Note: For multiple structures with a matching DisplayName the first structure with IsBaseTier set will be returned.

Example
TownCenterT1
Stringrequired

Examples

Input Output
{{StructureDisp|InvalidStructureName}}}
{{StructureDisp|TownCenterT1}}
Town Center IconTownhall.png
{{StructureDisp|Large Camp}}}
Large Camp IconCamp.png
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.