Difference between revisions of "Template:RTable"

From Final Kingdom MUSH
Jump to: navigation, search
(Created page with "{{#css: .RelationTable {width:100%;} .RelationTable td:nth-child(1) {width: 15%} .RelationTable td:nth-child(2) {width: 10%} .RelationTable td:nth-child(3) {width: 75%...")
 
m
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
   .RelationTable tr:last-of-type td:nth-last-child(3) {border-radius:0px 0px 0px 5px;}
 
   .RelationTable tr:last-of-type td:nth-last-child(3) {border-radius:0px 0px 0px 5px;}
 
   .RelationTable tr:nth-child(n+1) td:nth-child(2) {font-style:italic;}
 
   .RelationTable tr:nth-child(n+1) td:nth-child(2) {font-style:italic;}
}}
+
}}<noinclude>{{CTable}}
 +
Sets the CSS for a RelationTable. Should be called along with <nowiki>{{CTable}}</nowiki>
 +
 
 +
<pre>
 +
{| class="CTable RelationTable"
 +
|-
 +
! scope="col"  | Name
 +
! scope="col"  | Short
 +
! scope="col"  | Thoughts
 +
|-
 +
| [[Person]]
 +
| "Snippet"
 +
| Words words words
 +
|-
 +
| [[Person 2]]
 +
| "Snippet"
 +
| Words words words words.
 +
|}
 +
</pre>
 +
 
 +
{| class="CTable RelationTable"
 +
|-
 +
! scope="col"  | Name
 +
! scope="col"  | Short
 +
! scope="col"  | Thoughts
 +
|-
 +
| [[Person]]
 +
| "Snippet"
 +
| Words words words
 +
|-
 +
| [[Person 2]]
 +
| "Snippet"
 +
| Words words words words.
 +
|}</noinclude>

Latest revision as of 11:56, 16 October 2012

Sets the CSS for a RelationTable. Should be called along with {{CTable}}

{| class="CTable RelationTable"
|-
! scope="col"  | Name
! scope="col"  | Short
! scope="col"  | Thoughts
|-
| [[Person]]
| "Snippet"
| Words words words
|-
| [[Person 2]]
| "Snippet"
| Words words words words.
|}
Name Short Thoughts
Person "Snippet" Words words words
Person 2 "Snippet" Words words words words.