Difference between revisions of "Template:Belligerent"

Template page
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--{{#if: {{{2|}}}|
<includeonly>
<div style="float:left;">{{flagicon|{{{1}}}}}{{{2}}}</div>|
{{#if: {{{2|}}}
<div style="float:left;">{{{1}}}</div>|
|<div style="float:left; vertical-align:text-top;">{{flagicon|{{{1}}}}}{{{2}}}</div>
}}-->
|<div style="float:left; vertical-align:text-top;">{{flagicon|blankflag.png}}{{{1}}}</div>|
 
{{#if: {{{2|}}}|
<div style="float:left;">[[File:{{{1}}}|x20px]]{{{2}}}</div>|
{{{1}}}|
}}
}}
 
</includeonly>
<noinclude>
<noinclude>
This template is controlling the Belligerent field that can be entered into the Conflict infobox box.
This template is controlling the Belligerent field that can be entered into the Conflict infobox box.
This piece of code will place a flag, or any picture really, and text next to it into a single line and present it.


Code for it is
Code for it is
Line 17: Line 15:
</pre>
</pre>


If you include the name of an icon picture, it will render on the Conflict infobox. The currently list of icons is as follows:
{{plainlist|
*FEDicon {{flagicon|FEDicon}}
*KDFicon {{flagicon|KDFicon}}
*ROMicon {{flagicon|ROMicon}}
*CARDicon {{flagicon|CARDicon}}
*FERicon {{flagicon|FERicon}}
*DOMicon {{flagicon|DOMicon}}
*BREENicon {{flagicon|BREENicon}}
*Xindi icon {{flagicon|Xindi icon}}
*BORGicon {{flagicon|BORGicon}}
*9icon {{flagicon|9icon}}
*38icon {{flagicon|38icon}}
*64icon {{flagicon|64icon}}
*72icon {{flagicon|72icon}}
*86icon {{flagicon|86icon}}
*93icon {{flagicon|93icon}}
*NXicon {{flagicon|NXicon}}
*TOSicon {{flagicon|TOSicon}}
*WOKicon {{flagicon|WOKicon}}
*SFicon {{flagicon|SFicon}}
*KelvinIcon {{flagicon|KelvinIcon}}
*Canonicon {{flagicon|Canonicon}}
}}
</noinclude>
</noinclude>

Latest revision as of 12:06, 1 February 2021


This template is controlling the Belligerent field that can be entered into the Conflict infobox box.

This piece of code will place a flag, or any picture really, and text next to it into a single line and present it.

Code for it is

{{belligerent|icon|name}}