Template:Demo table/Doc

From PCSAR

Jump to: navigation, search

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.

Personal tools