ArgTitle – Template

From Bohemia Interactive Community
Revision as of 19:25, 17 May 2020 by Lou Montana (talk | contribs) (add rightArgument usage sample's parameter)
Jump to navigation Jump to search

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

Usage

{{ArgTitle|title|titleLevel|leftArgument|rightArgument}}

  • title: title text
  • titleLevel: (Optional, default 2) 1..6 number (number of "=" in wiki code for title, e.g == title H2 ==)
  • leftArgument: (Optional, default empty) any text that should be on the left of the title text (usually GVI or EffArg)
  • rightArgument: (Optional, default empty) any text that should be on the right of the title text (usually GVI or EffArg)
Examples
Code Result
{{ArgTitle}}
{{ArgTitle|My Title}}

My Title

{{ArgTitle|My Title|4}}

My Title

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

My Title

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

My Title

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

My Title