Template:Infobox base: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
RaiderAlpha (talk | contribs)
No edit summary
RaiderAlpha (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
|labelstyle  = {{Infobox style|infobox_label}}
|labelstyle  = {{Infobox style|infobox_label}}


|above    = {{#switch:{{uc:{{{faction|}}}}}
|header1  = {{#switch:{{uc:{{{faction|}}}}}
|GDI      = {{Flag|GDI}} [[Global Defense Initiative|<font color="#fff">Global Defense Initiative</font>]]
|GDI      = {{Flag|GDI}} [[Global Defense Initiative|<font color="#fff">Global Defense Initiative</font>]]
|GDIFS    = {{Flag|GDI|FS}} [[Global Defense Initiative|<font color="#fff">Global Defense Initiative</font>]]
|GDIFS    = {{Flag|GDI|FS}} [[Global Defense Initiative|<font color="#fff">Global Defense Initiative</font>]]
Line 13: Line 13:
}}
}}
|label2  = Buildings
|label2  = Buildings
|data2    = {{#if:{{{buildings|}}}|{{{buildings|}}}|}}
|data2    = {{#if:{{{buildings|}}}|<div>
{{{buildings|}}}</div>|}}
|label3  = Base defenses
|label3  = Base defenses
|data3    = {{#if:{{{defenses|}}}|{{{defenses|}}}|}}
|data3    = {{#if:{{{defenses|}}}|<div>
{{{defenses|}}}</div>|}}
}}</onlyinclude><noinclude>{{Clear}}
}}</onlyinclude><noinclude>{{Clear}}
== Usage ==
== Usage ==

Latest revision as of 15:57, 15 September 2020

Base

Usage

To use this template, insert the following code into the page and fill out the fields:

{{Infobox base
|faction   = 
|buildings = 
|defenses  = 
}}