Difference between revisions of "Template:MWcodeSample"

From OchaWiki
Jump to navigation Jump to search
(Corrected gt => lt)
Line 1: Line 1:
 
{{#switch: {{{t}}}
 
{{#switch: {{{t}}}
 
|t |T = <br>'''Voorbeeld''':<br>&nbsp;&nbsp;&nbsp;<code><nowiki>{{{{{1|SAMPLE}}}}}</nowiki></code> &rarr; {{{{{{1|SAMPLE}}}}}
 
|t |T = <br>'''Voorbeeld''':<br>&nbsp;&nbsp;&nbsp;<code><nowiki>{{{{{1|SAMPLE}}}}}</nowiki></code> &rarr; {{{{{{1|SAMPLE}}}}}
| h | H = <br>'''Voorbeeld''':<br>&nbsp;&nbsp;&nbsp;<code><nowiki>&gt;{{{{1|SAMPLE}}}&lt;</nowiki></code> &rarr; &gt;{{{{1|SAMPLE}}}&lt;
+
| h | H = <br>'''Voorbeeld''':<br>&nbsp;&nbsp;&nbsp;<code><nowiki>&gl;{{{1|SAMPLE}}}&lt;</nowiki></code> &rarr; &gt;{{{{1|SAMPLE}}}&lt;
 
| default = ''''t't parameter is required'''
 
| default = ''''t't parameter is required'''
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Revision as of 07:43, 4 November 2022

[edit] [[[:Template:Purge]]] Documentation icon Template documentation

Doel

Gebruik {{MWcodeSample}} om een MediaWiki code te definiëren.

Syntax

Note: this section needs to be updated!

 {{MWcodeSample | t = [t|h] | Pos-parm-1 }}

Voorbeeld

of


Voorbeeld:
   &gl;{{{1|SAMPLE}}}< → >{u<
Voorbeeld:
   {{{{{1|SAMPLE}}}}} → {MediaWiki

Zie ook