Template:Example/code/start2
< Template:Example | code
Jump to navigation
Jump to search
Documentation
This is a formatting template intended to be used within an {{Example}}
, to show the code/wikitext input that produces a given result. It's a quick wrapper around <syntaxhighlight>, using the expandy CSS class for styling. For more complex examples, use this directly with code like:
See also:
- Example:
{{Example/result/start}}
&{{Example/result/end}}
- Code:
{{Example/code}}
- Result:
{{Example/result/start}}
&{{Example/result/end}}
Usage
{{example/code|
Wikitext (or other) markup to be displayed.
}}
This is an example of using {{example}}
with {{example/code}}
.