Template:Eyecatch3/doc: Difference between revisions

m
Updated the Syntax description.
mNo edit summary
m (Updated the Syntax description.)
Line 105: Line 105:


==Syntax==
==Syntax==
;<tt><nowiki>{{eyecatch3|#|info|text}}</nowiki></tt>
The template can have '''2''' or '''3 parameters''':
    '''#''' =  Number '''0''' (min) to '''6''' (max), defines indentation level.
#'''<tt><nowiki>{{eyecatch3|<info>|<text>}}</nowiki></tt>''' - Default mode, no indentation.
'''info''' =  The info to highlight, i.e. ''Note'' or ''Important''.
#'''<tt><nowiki>{{eyecatch3|<#>|<info>|<text>}}</nowiki></tt>''' - Define indentation via # parameter.
'''text''' =  The descriptive text for the info.
        '''<#>''' =  Number '''0''' (min) to '''6''' (max), defines indentation level.
{{eyecatch3|2|Important|Only the # values of 1 to 6 are actually checked, any other values result in '''no''' indentation at all!<br>Also note that there have to be '''3 parameters''', always!}}
    '''<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==
1,633

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.