From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(adding usage)
m (Reverted edits by 187.4.91.190 (talk) to last revision by Najzere)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOEDITSECTION__
{|{{prettytable|notwide=1|float=right|style=margin-left:1em}}
{|{{prettytable|notwide=1|float=right|style=margin-left:1em}}
!width="50%"| {{t|no}} !! {{t|no2}}
!width="50%"| {{t|no}} !! {{t|no2}}
Line 17: Line 16:
| {{n/a}} || {{partial}}
| {{n/a}} || {{partial}}
|-
|-
! {{t|unknown}} !!  
! {{t|unknown}} !! {{t|spoilercell}}
|-
|-
| {{unknown}} ||  
| {{unknown}} || {{spoilercell}}
|}
|}
These templates are used to add standard formatting to table cells. All templates accept one parameter: the contents of the cell. Default values are shown in the table to the right.
These templates are used to add standard formatting to table cells. All templates accept one parameter: the contents of the cell. Default values are shown in the table to the right.
Line 36: Line 35:
If you are modifying the cell contents, i.e. with <code>colspan</code>, <code>rowspan</code>, <code>width</code>, etc., then do not add the closing pipe between your attributes and the cell content:
If you are modifying the cell contents, i.e. with <code>colspan</code>, <code>rowspan</code>, <code>width</code>, etc., then do not add the closing pipe between your attributes and the cell content:
:<code>| normal cell <nowiki>|| colspan="2" {{no}}</nowiki></code>
:<code>| normal cell <nowiki>|| colspan="2" {{no}}</nowiki></code>
<noinclude>[[Category:Template documentation|N]]</noinclude>

Latest revision as of 00:30, 14 August 2011

{{no}} {{no2}}
No No
{{yes}} {{yes2}}
Yes Yes
{{free}} {{nonfree}}
Free $ ?
{{n/a}} {{partial}}
N/A Partial
{{unknown}} {{spoilercell}}
Unknown
{{{1}}}

These templates are used to add standard formatting to table cells. All templates accept one parameter: the contents of the cell. Default values are shown in the table to the right.

Usage[edit]

These templates rely on the style and class attributes of the table cell and add a pipe (|) at the end to close off the cell attributes area. Cell attributes go in the following places:

Single line
| normal cell ||cell attributes| modified cell
Multiple lines
| normal cell
|cell attributes| modified cell

If you are not already using the cell parameters, simply insert the template as you would normal content:

| normal cell || {{no}}

If you are modifying the cell contents, i.e. with colspan, rowspan, width, etc., then do not add the closing pipe between your attributes and the cell content:

| normal cell || colspan="2" {{no}}