1,633
edits
mNo edit summary |
m (Updated the Syntax description.) |
||
Line 105: | Line 105: | ||
==Syntax== | ==Syntax== | ||
The template can have '''2''' or '''3 parameters''': | |||
#'''<tt><nowiki>{{eyecatch3|<info>|<text>}}</nowiki></tt>''' - Default mode, no indentation. | |||
#'''<tt><nowiki>{{eyecatch3|<#>|<info>|<text>}}</nowiki></tt>''' - Define indentation via # parameter. | |||
'''<#>''' = Number '''0''' (min) to '''6''' (max), defines indentation level. | |||
{{eyecatch3| | '''<info>''' = The info to highlight (not word-wrapped), i.e. ''Note'' or ''Important''. | ||
'''<text>''' = The descriptive text for the info. | |||
{{eyecatch3|1|Note|Only the '''<#>''' values '''1''' to '''6''' are actually checked, any '''other values''' (e.g. 0 or abc) yield '''no indentation''' at all, and are treated the same as <tt><nowiki>{{eyecatch3|info|text}}</nowiki></tt>!}} | |||
{{eyecatch3|1|Note|The '''<info>''' parameter is intended for short message headers. To improve readability the '''word-wrapping''' is turned '''off'''!}} | |||
==Examples== | ==Examples== |
edits