ArgTitle – Template

From Bohemia Interactive Community
Revision as of 18:11, 27 February 2021 by R3vo (talk | contribs) (Text replacement - "{{Inline code|" to "{{ic|")
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|My Title|4|Left}}
Left

My Title

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

My Title

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

My Title