Template:N/a: Difference between revisions

Template page
w:c:strategywiki>Notmyhandle
(moved fixed style to mediawiki.css)
w:c:strategywiki>Najzere
(adding usage)
Line 1: Line 1:
class="table-na" | {{{1|N/A}}}<noinclude>
class="table-na" | {{{1|N/A}}}<noinclude>


Used in tables to show a "N/A" in a cell with a nice background.
{|{{prettytable|notwide=1}}
|width="25%"| cell one ||width="25%"| cell two ||width="25%"| cell three ||width="25%" {{n/a}}
|}
 
Used in tables to show "N/A" in a cell with a nice background. This template adds a pipe (|) in the beginning, so if used in a cell with parameters modifying it, omit the pipe separating the modifiers and the cell contents. Instances where this may be a problem are in cells where you are using the <code>width</code> or <code>style</code> parameter.
 
Normal:
<pre>| cell one || cell two || cell three || {{n/a}}</pre>
 
Cell parameter:
<pre>| cell one || cell two || cell three ||width="25%" {{n/a}}</pre>


[[Category:Templates|N]]</noinclude>
[[Category:Templates|N]]</noinclude>

Revision as of 22:42, 2 March 2009

class="table-na" | N/A

cell one cell two cell three N/A

Used in tables to show "N/A" in a cell with a nice background. This template adds a pipe (|) in the beginning, so if used in a cell with parameters modifying it, omit the pipe separating the modifiers and the cell contents. Instances where this may be a problem are in cells where you are using the width or style parameter.

Normal:

| cell one || cell two || cell three || {{n/a}}

Cell parameter:

| cell one || cell two || cell three ||width="25%" {{n/a}}