ArgTitle – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add Template:Doc/Template usage) |
m (Text replacement - "{{Inline code|" to "{{ic|") |
||
Line 6: | Line 6: | ||
|descr1= title text | |descr1= title text | ||
|param2= level | |param2= level | ||
|descr2= (Optional, default 2) 1..6 number (number of "{{=}}" in wiki wode for title, e.g {{ | |descr2= (Optional, default 2) 1..6 number (number of "{{=}}" in wiki wode for title, e.g {{ic|<nowiki>== title H2 ==</nowiki>}}) | ||
|param3= left | |param3= left | ||
|descr3= (Optional, default empty) any text that should be on the left of the title text (usually {{Template|GVI}} or {{Template|Icon}}) | |descr3= (Optional, default empty) any text that should be on the left of the title text (usually {{Template|GVI}} or {{Template|Icon}}) |
Revision as of 18:11, 27 February 2021
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}})
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 |