Difference between revisions of "Template:MWcodeSample"

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

Revision as of 07:39, 5 November 2022

't' parameter is required

[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

't' parameter is required

of


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

Zie ook