Difference between revisions of "Template:Example"
Line 1: | Line 1: | ||
{{Quote|text='''{{{header|Example:}}}''' | {{Quote|text='''{{{header|Example:}}}''' | ||
− | {{{text}}} }}<noinclude>Shows a 'box' which contains an example. The actual example should be passed in the 'text' named parameter. The default header is ' | + | {{{text}}} }}<noinclude>Shows a 'box' which contains an example. The actual example should be passed in the 'text' named parameter. The default header is 'Example:', however that can be changed by using the 'header' named parameter. If a custom 'header' is specified, it still is advised to use the wording: 'Example to .....:'. |
+ | |||
+ | {{Example|header=Example to show a customized header: | ||
+ | |text=<nowiki> | ||
+ | {{Example|header=Example to show a customized header: | ||
+ | |text=Actual text.}}</nowiki> | ||
+ | }} | ||
[[Category:Template]]</noinclude> | [[Category:Template]]</noinclude> |
Latest revision as of 14:03, 9 June 2023
“ | Example:
{{{text}}} |
” |
Shows a 'box' which contains an example. The actual example should be passed in the 'text' named parameter. The default header is 'Example:', however that can be changed by using the 'header' named parameter. If a custom 'header' is specified, it still is advised to use the wording: 'Example to .....:'.
“ | Example to show a customized header:
{{Example|header=Example to show a customized header: |text=Actual text.}} |
” |