Difference between revisions of "Template:RTable"
From Final Kingdom MUSH
Oathkeeper (Talk | contribs) (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%...") |
Oathkeeper (Talk | contribs) m |
||
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> |
+ | 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></noinclude> |
Revision as of 11:55, 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. |}