Jump to content

Information:Table dos and don'ts: Difference between revisions

From BattleIntelligence
imported>Deadfire
creation
 
m Text replacement - "BattleTechWiki" to "BattleIntelligence"
 
Line 1: Line 1:
{{information page|pages=[[BattleTechWiki:Manual of Style/Tables]]|shortcut=BTW:TABDD|shortcut2=BTW:TABLEDD}}
{{information page|pages=[[BattleIntelligence:Manual of Style/Tables]]|shortcut=BTW:TABDD|shortcut2=BTW:TABLEDD}}
<onlyinclude>
<onlyinclude>
<div style="text-align:center; font-size:16pt; padding:10px 0 20px 0;">'''[[Help:Table|Tables]] are a great way to present data.'''</div>
<div style="text-align:center; font-size:16pt; padding:10px 0 20px 0;">'''[[Help:Table|Tables]] are a great way to present data.'''</div>
Line 14: Line 14:
| [[File:Green_check.png‎]] Use '''class="wikitable"''' to apply standard style.
| [[File:Green_check.png‎]] Use '''class="wikitable"''' to apply standard style.
|-
|-
| [[File:Green_check.png‎]] Use '''short, self-explanatory [[BattleTechWiki:Manual of Style/Tables#Captions and headers|captions and headers]]'''.
| [[File:Green_check.png‎]] Use '''short, self-explanatory [[BattleIntelligence:Manual of Style/Tables#Captions and headers|captions and headers]]'''.
|-
|-
| [[File:Green_check.png‎]] Use '''[[Help:Table#Classes|CSS classes]]''', not inline attributes, to set table style.
| [[File:Green_check.png‎]] Use '''[[Help:Table#Classes|CSS classes]]''', not inline attributes, to set table style.
Line 34: Line 34:
| [[File:Red x.svg|30px]] '''Don't''' use '''scrolling tables''' in articles.
| [[File:Red x.svg|30px]] '''Don't''' use '''scrolling tables''' in articles.
|-
|-
| [[File:Red x.svg|30px]] '''Don't''' '''[[BattleTechWiki:Manual_of_Style/Tables#Size|split up]]''' sortable tables.
| [[File:Red x.svg|30px]] '''Don't''' '''[[BattleIntelligence:Manual_of_Style/Tables#Size|split up]]''' sortable tables.
|}
|}
|}
|}
Line 40: Line 40:
== See also ==
== See also ==
* [[Help:Table]]
* [[Help:Table]]
*[[BattleTechWiki:Manual of Style/Tables|Accessibility for tables]]
*[[BattleIntelligence:Manual of Style/Tables|Accessibility for tables]]
*[[BattleTechWiki:Simplified ruleset|Simple rule set]]  
*[[BattleIntelligence:Simplified ruleset|Simple rule set]]  
*[[BattleTechWiki:Manual of Style|Manual of Style]]
*[[BattleIntelligence:Manual of Style|Manual of Style]]
{{BattleTechWiki dos and don'ts}}
{{BattleIntelligence dos and don'ts}}
{{DEFAULTSORT:Table Dos And Don'ts}}
{{DEFAULTSORT:Table Dos And Don'ts}}
[[Category:BattleTechWiki dos and don'ts]]
[[Category:BattleIntelligence dos and don'ts]]

Latest revision as of 21:22, 30 April 2025

Tables are a great way to present data.
When you work with tables:
DO:
File:Green check.png Use wikitables, not HTML tables.
File:Green check.png Use class="wikitable" to apply standard style.
File:Green check.png Use short, self-explanatory captions and headers.
File:Green check.png Use CSS classes, not inline attributes, to set table style.
File:Green check.png Make columns sortable as appropriate.
DON'T:
Don't use tables for visual layout.
Don't use color alone to convey information.
Don't nest tables if avoidable.
Don't use scrolling tables in articles.
Don't split up sortable tables.

See also