Template:Example: Difference between revisions

From RadiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Quote|text='''Example:'''
{{Quote|text='''{{{header|Example:}}}'''
{{{1}}} }}<noinclude>Shows a 'box' which contains an 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 '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.}}