Difference between revisions of "Template:Red"

From Hearts of Iron 4 Wiki
Jump to navigation Jump to search
m (Corrected syntax)
(don't want line wrapping when using this template)
 
Line 1: Line 1:
<includeonly><span class="effect-red" style="color: red; {{#if:{{{2|}}}|background: #E9E9E9; padding: 1px 3px; border-radius: 2px;}}">'''{{{1}}}'''</span></includeonly><noinclude>
+
<includeonly><span class="effect-red" style="color: red; {{#if:{{{2|}}}|background: #E9E9E9; padding: 1px 3px; border-radius: 2px;}}; white-space:nowrap">'''{{{1}}}'''</span></includeonly><noinclude>
 
{{Template doc}}
 
{{Template doc}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:11, 24 February 2018

[view] [edit]Template-info.png Template documentation

Makes text bold and red, as the game uses for negative effects.

Usage

{{red|text you want red}} gives text you want red

{{red|text you want red|back}} gives

text you want red