Template | Example output | Use |
{{var}} | strIllustratePrefix | To indicate text is a variable name |
{{para}} | |title= |year=2008
| To display template parameters with or without values. |
{{param}} | {{{title}}} {{{title|alt}}} etc.
| To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. |
{{tlx}} etc. | {{tlx|first parameter|...}}
| To display a template call (with or without parameters and values) as code. |
{{tag}} | "With HTML <img>...</img> tags..."
| To render wpen:HTML elements ("tags") as prose. |
{{code}} | local p = {}
function p.main(frame)
...
end
| To indicate text is source code. |
{{code snippet}} | "Always include the sample text parameter..."
| To indicate text is source code. To nest other templates within {{code snippet}}, use <code>...</code> .
|
<syntaxhighlight>...</syntaxhighlight> | Parser function | |
{{pre}} | For larger blocks of source code and other pre-formatted text. | |
{{pre2}} | For larger blocks of source code and other pre-formatted text. Same as {{pre}} but ads slider for overflowing text |
Usage[Quelltext bearbeiten]
This documentation sub-template is for transclusion in the "See also" sections of certain templates in Category:Text manipulation templates. There are no parameters:
=== See also === {{Semantic templates see also}}
The section can provide more information, preferably in the same format with intro, such as:
=== See also === ; Related templates: {{Semantic templates see also}} ; Useful pages: * [[Wikipedia:Accessibility]] * [[Semantic HTML]]