ArgTitle – Template

From Bohemia Interactive Community
Jump to navigation Jump to search

Defines a wiki title (e.g === Title ===)

This template is used on these pages.

Usage

{{ArgTitle|level|title|left|right}}

  • level: (Optional, default 2) 1..6 number (number of "=" in wiki wode for title, e.g == title H2 ==)
  • title: title text
  • left: (Optional, default empty) any text that should be on the left of the title text (usually {{GVI}} or {{Icon}})
  • right: (Optional, default empty) any text that should be on the right of the title text (usually {{GVI}} or {{Icon}})
Examples
Code Result
{{ArgTitle}} -no title defined!-
{{ArgTitle|4}} -no title defined!-
{{ArgTitle|4|My Title}}

My Title

{{ArgTitle|4|My Title|Left}}
Left

My Title

{{ArgTitle|4|My Title||Right}}

My Title

Right
{{ArgTitle|4|My Title|Left|Right}}
Left

My Title

Right
{{ArgTitle|4|Test|{{GVI|ofp|1.00}}|{{GVI|arma3|1.00}}}}

Test