Difference between revisions of "Template:Belligerent"

Template page
(Created page with "{{#if: {{{1|}}}| <div style="float:left;">[[File:{{{1}}}.png|20px|thumb]]</div> }} <noinclude> Documentation to come </noinclude>")
 
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{1|}}}|
<includeonly>
<div style="float:left;">[[File:{{{1}}}.png|20px|thumb]]</div>
{{#if: {{{2|}}}
|<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>|
}}
}}
</includeonly>
<noinclude>
<noinclude>
Documentation to come
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
<pre>
{{belligerent|icon|name}}
</pre>
 
</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}}