Difference between revisions of "Template:Drltable"

From DoomRL Wiki

Jump to: navigation, search
(trying my hand at a base table template)
 
m (added explanation)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
<table style="border: 2px solid darkred; border-spacing: 0; font-size: 90%; margin: 0.25em 0.5em">
+
<noinclude>
<tr style="colspan={{{2}}} style="background: darkred; color: yellow; font-size: 120%; text-align: center">
+
This is the DoomRL Wiki base table. It fills out the basics that every table on this wiki uses.
<td><b>{{{1}}}</b></td>
+
 
</tr>
+
Arguments:
 +
#Sets the table's name.
 +
#Sets the number of columns for the table. (This is only necessary to adjust the table name.)
 +
#Set the table's body. Use a table template in order to set this up (see [[Template:Table2Col]] for the basic example).
 +
</noinclude>{| style="border: 2px solid darkred; border-spacing: 0; font-size: 90%; margin: 0.25em 0.5em;"
 +
|colspan={{{2}}} style="background: darkred; color: yellow; font-size: 120%; text-align: center"|'''{{{1}}}'''
 +
|-
 
{{{3}}}
 
{{{3}}}
</table>
+
|}

Latest revision as of 19:48, 28 January 2012

This is the DoomRL Wiki base table. It fills out the basics that every table on this wiki uses.

Arguments:

  1. Sets the table's name.
  2. Sets the number of columns for the table. (This is only necessary to adjust the table name.)
  3. Set the table's body. Use a table template in order to set this up (see Template:Table2Col for the basic example).
{{{3}}}
{{{1}}}
Personal tools