Template:Demo
From PCSAR
Brett Wuth (Talk | contribs)
(New page: <noinclude>{{documentation}}</noinclude><includeonly> {{Demo table| {{Demo row|{{{1}}}|{{{2|{{{1}}}}}}}} }} </includeonly>)
Next diff →
Current revision
This is the documentation for the template Template:Demo
This template is used to create a demonstration of a mediawiki technique. It shows both what you type and what you get. Such as:
{{demo|I want ''this in italic''}} to get:
{{demo|<nowiki>{{estimate|8h|5h}}</nowiki><!-- --> | {{estimate|8h|5h}} }} To get:
If you don't use For clarity the first and second use of the demonstration text are aligned under each other.
That way you when you are editing the text, can see that they are character identical.
In order to avoid an extra blank line, the line break is commented out with If you want to include multiple examples in one table, use Template:Demo table. |
To see how this template is implemented,
edit this page and examine the portion
between <includeonly>
and </includeonly>
.