Template:Infobox base: Difference between revisions
Jump to navigation
Jump to search
RaiderAlpha (talk | contribs) Created page with "{{Infobox |bodystyle = {{Infobox style|infobox}} float: left; |abovestyle = {{Infobox style|infobox_title}} |headerstyle = {{Infobox style|infobox_header}} |labelstyle = {..." |
RaiderAlpha (talk | contribs) mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | <onlyinclude>{{Infobox | ||
|bodystyle = {{Infobox style|infobox}} float: left; | |bodystyle = {{Infobox style|infobox}} clear: none; float: left; | ||
|abovestyle = {{Infobox style|infobox_title}} | |abovestyle = {{Infobox style|infobox_title}} | ||
|headerstyle = {{Infobox style|infobox_header}} | |headerstyle = {{Infobox style|infobox_header}} | ||
|labelstyle = {{Infobox style|infobox_label}} | |labelstyle = {{Infobox style|infobox_label}} | ||
| | |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 = }}