ArgTitle – Template

From Bohemia Interactive Community
Revision as of 01:44, 9 August 2021 by Lou Montana (talk | contribs) (Text replacement - "\{\{ArgTitle *\| *([^\|]+) *\| *([1-6]) *\|" to "{{ArgTitle|$2|$1|")
Jump to navigation Jump to search

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

This template is used on these pages.

Usage

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

  • title: title text
  • level: (Optional, default 2) 1..6 number (number of "=" in wiki wode for title, e.g == title H2 ==)
  • 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|My Title}}

My Title

{{ArgTitle|My Title|4}}

My Title

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

4

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

4

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

4