Difference between revisions of "Template:Classes"

From Second Life Wiki
Jump to navigation Jump to search
m (debugging)
(added scribe notice)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{#var:Classes_Render_Mode|}}
<includeonly>{{#switch:{{{render|classic}}}
|tr=pink hippo
|tr={{Classes/tr|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|}}|classic={{Classes/classic|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|}}|}}</includeonly><noinclude>
|green hippo
== Usage ==
|}}</includeonly><noinclude>
'''{{:SL Volunteer Mentor Scribes/ask-notice|this template}}'''
{{#vardefine:Classes_Render_Mode|tr}}
 
{{:User:SignpostMarv Martin/Sandbox/Template:Classes
=== Classic ===
<code><pre><nowiki>{{Classes
|[[User:SignpostMarv Martin|SignpostMarv Martin]]
|foo
|noon slt
|30 minutes
|bar
|}}</nowiki></pre></code>
{{Classes
|[[User:SignpostMarv Martin|SignpostMarv Martin]]
|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.''
 
<code><pre><nowiki>{{Classes|render=tr
|[[User:SignpostMarv Martin|SignpostMarv Martin]]
|foo
|noon slt
|30 minutes
|bar
|}}</nowiki></pre></code>
 
{{Classes|render=tr
|[[User:SignpostMarv Martin|SignpostMarv Martin]]
|[[User:SignpostMarv Martin|SignpostMarv Martin]]
|foo
|foo

Latest revision as of 02:01, 15 October 2007

Usage

If you are in doubt as to how to use this template, ask a Wiki Scribe

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