ArgTitle – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Fix missing 6th level)
Line 1: Line 1:
<includeonly><div><div style="float: left; margin-right: 0.5em;">{{{3}}}</div>
<includeonly><div><div style="float: left; margin-right: 0.5em;">{{{3}}}</div>
{{#switch: {{{2}}} |1= = |2= == |3= === |4= ==== |5= ===== }} {{{1}}} {{#switch: {{{2}}} |1= = |2= == |3= === |4= ==== |5= ===== }}
{{#switch: {{{2}}} |1= = |2= == |3= === |4= ==== |5= ===== |6= ======}} {{{1}}} {{#switch: {{{2}}} |1= = |2= == |3= === |4= ==== |5= ===== |6= ======}}
</div></includeonly><noinclude><div class="toclimit-2">{{SideTOC}}</div>
</div></includeonly><noinclude><div class="toclimit-2">{{SideTOC}}</div>
== Usage ==
== Usage ==

Revision as of 16:46, 7 February 2019

Usage

{{ArgTitle|title|titleLevel|leftArgument}}

  • title: title text
  • titleLevel: 1..6 number (number of "=" in wiki code for title, e.g == title H2 ==)
  • leftArgument: any text that should be on the left of the title text (usually GVI or EffArg)

Example

{{ArgTitle|Title text|3|{{GVI|arma3|1.50}}}}


Code output

<div><div style="float: left; margin-right: 0.5em;">{{GVI|arma3|1.50}}</div>
=== Title text ===
</div>


Output

Title text