ArgTitle – Template
| Lou Montana (talk | contribs) m (Text replacement - "<tt>([^ ]+)<\/tt>" to "{{hl|c= $1}}") | Lou Montana (talk | contribs)  m (Some wiki formatting) | ||
| Line 4: | Line 4: | ||
| |descr= Defines a wiki title (e.g {{hl|c= === Title ===}}) | |descr= Defines a wiki title (e.g {{hl|c= === Title ===}}) | ||
| |param1= level | |param1= level | ||
| |descr1= (Optional, default 2) 1..6 number (number of "{{=}}" in wiki wode for title, e.g  | |descr1= (Optional, default 2) 1..6 number (number of "{{=}}" in wiki wode for title, e.g <syntaxhighlight lang="html+handlebars" inline>== title H2 ==</syntaxhighlight>) | ||
| |param2= title | |param2= title | ||
| |descr2= title text | |descr2= title text | ||
Revision as of 17:54, 27 July 2022
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}})
| 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}} | Right My Title | 
| {{ArgTitle|4|My Title|Left|Right}} | Left Right My Title | 
