n/a – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|") |
Lou Montana (talk | contribs) m (Text replacement - "{|class" to "{| class") |
||
Line 26: | Line 26: | ||
* style: (Optional, default "". Named parameter only) additional CSS (e.g <tt>font-weight: bold</tt>) | * style: (Optional, default "". Named parameter only) additional CSS (e.g <tt>font-weight: bold</tt>) | ||
{|class="wikitable" | {| class="wikitable" | ||
|+ Examples | |+ Examples | ||
! Code | ! Code |
Revision as of 13:51, 10 August 2021
Fills a table cell in grey, with N/A text by default.
Usage
{{n/a|text|style}}
- text: (Optional, default "N/A")
- style: (Optional, default "". Named parameter only) additional CSS (e.g font-weight: bold)
Code | Result |
---|---|
{{n/a}} | N/A |
{{n/a|abc}} | abc |
{{n/a|style=font-size: 2em; font-weight: bold;text-align: right|wabbit}} | wabbit |
Source
class="na-cell" style="{{{style|}}}" | {{{1|N/A}}}