Editing
Template:NA/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation}} This template displays a table cell with the provided text, or the letters "N/A" if no text is provided. The contents of the cell will be center-aligned unless the optional <code>align</code> parameter is used to specify otherwise. The styling can be further customised using the optional <code>style</code> parameter. The optional <code>data-sort</code> parameter can be used to provide a value used for sorting within the table. ==Usage== This template can be used by entering the following onto a relevant page, within a table cell. <pre>{{NA}}</pre> {| class="wikitable" !{{NA}} !Y !N |- |Y||Y||Y |- |N||Y||{{NA}} |} ===colspan=== Use this parameter to adjust the column width. ===rowspan=== Use this parameter to adjust the row height. <pre>{{NA|colspan=2|rowspan=2}}</pre> {| class="wikitable" !Y !{{NA}} ! colspan="2" |N |- |Y||Y||Y||Y |- | rowspan="2" |N||Y||{{NA|colspan=2|rowspan=2}} |- |Y |} ===text=== Use may also change the text presented simply by doing the following: <pre>{{NA|Perhaps}}</pre> {| class="wikitable" !{{NA}} !Y !N |- |Y||Y||Y |- |N||Y||{{NA|Perhaps}} |} ===style=== Allows adding arbitrary inline CSS to the cell. <pre>{{NA|style=text-align:left;}} {{NA|style=text-align:right;}}</pre> {| class="wikitable" !Q wider !Y wider !N wider |- |Y||Y||Y |- |N||{{NA|style=text-align:left;}}||{{NA|style=text-align:right;}} |} ===data-sort=== Allows setting a specific sort value for the cell in sortable tables. <pre>{{NA|data-sort=zz}}</pre> {| class="wikitable sortable" !{{NA}} !Y !N |- |Y||Y||Y |- |N||Y||{{NA|data-sort=zz}} |- |{{NA}}||N||N |} Note how the NA in column 1 (which has no <code>data-sort</code>) is sorted before everything else, while the NA in column 3 (with <code>data-sort="zz"</code>) is sorted after Y. ==See also== * {{t|Okay}} and {{t|Not okay}} * {{t|Yes}} and {{t|No}} * {{t|NA}} * {{t|NoBorder}} <includeonly>[[Category:Formatting templates|{{PAGENAME}}]]</includeonly>
Summary:
Please note that all contributions to Brighter Shores Wiki are considered to be released under the CC BY-NC-SA 3.0 (see
Brighter Shores:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Templates used on this page:
Template:Documentation
(
edit
)
Template:NA
(
edit
)
Template:T
(
edit
)
Module:Array
(
edit
)
Module:DPLlua
(
edit
)
Module:DependencyList
(
edit
)
Module:Documentation
(
edit
)
Module:Paramtest
(
edit
)
Module:T
(
edit
)
Module:Tooltip
(
edit
)
Module:Yesno
(
view source
) (semi-protected)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
British English
Views
Read
Edit source
View history
More
Refresh
Search
Discord
Discord
Navigation
About us
User help
Random page
Recent changes
Bladrick's Armory
3m
ago
-
BigTrev8
Easy battle penalty
7m
ago
-
BigTrev8
5% Potion XP Crenopolis
15m
ago
-
Pomarf
Chopsticks Hickory Cutlery
16m
ago
-
Ammid
Show more...
Brighter Shores
Professions
Factions
Episodes
Premium Pass
Monsters
Quests
Community
Policies
Tools
What links here
Related changes
Special pages
Page information