Difference between revisions of "Template:Example"
From Starfleet Commander
Jump to navigationJump to search (Created page with "<!-- used in help files to avoid redlinks in text example -->") |
m |
||
Line 1: | Line 1: | ||
<!-- used in help files to avoid redlinks in text example --> | <!-- used in help files to avoid redlinks in text example --> | ||
+ | <noinclude>{{Doc-begin}} | ||
+ | Used in help files to avoid redlinks in text example. It will insert a comment when used in transclusion. | ||
+ | <nowiki><!-- used in help files to avoid redlinks in text example --></nowiki> | ||
+ | |||
+ | == Uasage == | ||
+ | ;Method 1 | ||
+ | :Transclusion, will insert the comment shown above. | ||
+ | <nowiki>{{Example}}</nowiki> | ||
+ | |||
+ | ;Method 2 | ||
+ | :File linking | ||
+ | <nowiki>[[Template:Example]]</nowiki> | ||
+ | |||
+ | {{Doc-end}} | ||
+ | [[Category:Utility templates]] | ||
+ | </noinclude> |
Latest revision as of 13:42, 29 September 2011
Template documentation
Used in help files to avoid redlinks in text example. It will insert a comment when used in transclusion.
<!-- used in help files to avoid redlinks in text example -->
Uasage
- Method 1
- Transclusion, will insert the comment shown above.
{{Example}}
- Method 2
- File linking
[[Template:Example]]
The above template can be edited by editors, and experiments can be done in this template's Sandbox and Testcases pages. Subpages of this template.