Difference between revisions of "Template:MWcodeSample"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{#switch: {{{t}}} | {{#switch: {{{t}}} | ||
− | |t |T = <br>'''Voorbeeld''':<br> <code><nowiki>{{{{{1|SAMPLE}}}}}</nowiki></code> → | + | |t |T = <br>'''Voorbeeld''':<br> <code><nowiki>{{</nowiki>{{{1|SAMPLE}}},nowiki>}}</nowiki></code> → {{{{{1|SAMPLE}}}}} |
| h | H = <br>'''Voorbeeld''':<br> <code><{{{1|SAMPLE}}}></code> → <{{{1|SAMPLE}}}> | | h | H = <br>'''Voorbeeld''':<br> <code><{{{1|SAMPLE}}}></code> → <{{{1|SAMPLE}}}> | ||
| default = ''''t't parameter is required''' | | default = ''''t't parameter is required''' | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> |
Revision as of 08:11, 6 November 2022
</nowiki> → Template:SAMPLE
| h | H =
Voorbeeld:
<SAMPLE>
→ <SAMPLE>
| default = 't't parameter is required
}}
[edit] [[[:Template:Purge]]]
Template documentation

Contents |
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
</nowiki> → Template:SAMPLE
| h | H =
Voorbeeld:
<SAMPLE>
→ <SAMPLE>
| default = 't't parameter is required
}}
- of
</nowiki> → Template:U
| h | H =
Voorbeeld:
<u>
→ <u>
| default = 't't parameter is required
}}
Voorbeeld:
{{MW,nowiki></nowiki>
→ MediaWiki
| h | H =
Voorbeeld:
<MW>
→ <MW>
| default = 't't parameter is required
}}
Zie ook
The above documentation is transcluded from Template:MWcodeSample/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |