Template:Demo table

From PCSAR

Revision as of 04:11, 21 September 2011 by Brett Wuth (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

This is the documentation for the template Template:Demo table

Template:Demo table/Doc:

This template creates demonstrations similar to Template:Demo, but allows you to include multiple examples in one table.

For example:

{{demo table|
{{demo row|I want '''this in bold'''}}
{{demo row|I want ''this in italic''}}
}}


will give you:

You type... You get...
I want '''this in bold''' 
I want this in bold
I want ''this in italic'' 
I want this in italic


{{demo table| should have one argument (starting with the '|'). That argument is one or more calls to Template:demo row. Each row will appear as an additional example.


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools