Template:Infobox base: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
RaiderAlpha (talk | contribs)
mNo edit summary
RaiderAlpha (talk | contribs)
mNo edit summary
 
(One intermediate revision 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 14: Line 14:
|label2  = Buildings
|label2  = Buildings
|data2    = {{#if:{{{buildings|}}}|<div>
|data2    = {{#if:{{{buildings|}}}|<div>
{{{{buildings|}}}</div>|}}
{{{buildings|}}}</div>|}}
|label3  = Base defenses
|label3  = Base defenses
|data3    = {{#if:{{{defenses|}}}|<div>
|data3    = {{#if:{{{defenses|}}}|<div>

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  = 
}}