Template:StructureDisp/doc

From Foxhole Wiki
Jump to navigation Jump to search
Template-info.png Documentation

Usage

This template can be used to display a structure's icon in line with text, where clicking the icon links to the structure's page. Due to {{Nowrap}} constraints, you must enter the word that comes before the structure icon, into the template as a parameter; more on that below.

In the rare circumstance that you only want to display the structure icon, leave the first parameter blank like so: {{StructureDisp||structurenamehere}}

Examples

{{StructureDisp|[[Storage Depot]]|Storage Depot}} produces:

Storage Depot MapIconStorageFacility.png

{{StructureDisp|relic|Relic Base}} produces:

relic MapIconRelicBase.png

Parameters

The first parameter is the text to display before the icon.

The second parameter is the full name of the structure, capitalized or not.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.