Template:Demo row
From PCSAR
This is the documentation for the template Template:Demo row
This template is used to add an example (one row) to a Template:Demo table. The call is of the form: {{demo row|<nowiki>what you type</nowiki>|what you get}} As also illustrated in Template:Demo's documentation, If your example doesn't include any template calls, you can use the simpler format: {{demo row|what you type}}
{{demo table| {{demo row|I want ''this in italic''}} {{demo row|<nowiki>{{estimate|8h|5h}}</nowiki><!-- --> | {{estimate|8h|5h}} }} }} To get:
For clarity the first and second use of the demonstration text are aligned under each other.
That way when you are editing the text, you can see that they are character identical.
In order to avoid an extra blank line, the line break is commented out with |
To see how this template is implemented,
edit this page and examine the portion
between <includeonly>
and </includeonly>
.