Difference between revisions of "Template:Classes"

From Second Life Wiki
Jump to: navigation, search
(adding location parameter support)
m (wiki-fu)
Line 1: Line 1:
 
<includeonly>{{#switch:{{{render|classic}}}
 
<includeonly>{{#switch:{{{render|classic}}}
|tr={{:User:SignpostMarv Martin/Sandbox/Template:Classes/tr|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|}}|classic={{:User:SignpostMarv Martin/Sandbox/Template:Classes/classic|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|}}|}}</includeonly><noinclude>
+
|tr={{Classes/tr|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|}}|classic={{Classes/classic|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|}}|}}</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 
=== Classic ===
 
=== Classic ===

Revision as of 03:44, 12 October 2007

Usage

Classic

{{Classes
|[[User:SignpostMarv Martin|SignpostMarv Martin]]
|foo
|noon slt
|30 minutes
|bar
|}}
  • foo

  • noon slt
  • 30 minutes
  • bar

Table Row

this mode is intended to be used with tables, thus the output may not be what you're expecting.
{{Classes|render=tr
|[[User:SignpostMarv Martin|SignpostMarv Martin]]
|foo
|noon slt
|30 minutes
|bar
|}}

|-style="vertical-align:top;" | style="vertical-align:top;text-align:center;padding:5px;" | SignpostMarv Martin

| style="vertical-align:top;text-align:left;padding:5px;" | foo

| style="vertical-align:top;text-align:left;padding:5px;" | noon slt

| style="vertical-align:top;text-align:left;padding:5px;" | 30 minutes

| style="vertical-align:top;text-align:left;padding:5px;" |

| style="vertical-align:top;text-align:left;padding:5px;overflow:auto;" | bar