Template:Demo table

From PCSAR

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