Template:N/a: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
adding usage
(moved fixed style to mediawiki.css)
(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>