Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Help:Table
(section)
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!
=== Row style === {{Further|#Height|#Setting borders}} Row style (height, width, borders, text alignment, background color, bolding, italics, etc.) may be added to a wikitable row by appending [[CSS#Properties|CSS style properties]] to the row start line after the <code>'''|-'''</code> indicator. Here is an example increasing the height of the middle row. The top row has italic text. The last row has bold text and a yellow background: <div class=box> '''Wikitext''' <syntaxhighlight lang=wikitext highlight=4,6,8> {| class=wikitable |- ! Left !! Center !! Right |- style=font-style:italic; | Top left || Top center || Top right |- style=height:9em; id=mid | Middle left || Middle center || Middle right |- style="font-weight:bold; background-color:yellow;" | Bottom left || Bottom center || Bottom right |} </syntaxhighlight></div> <div class=box> '''Produces''' {| class=wikitable |- ! Left !! Center !! Right |- style=font-style:italic; | Top left || Top center || Top right |- style=height:9em; id=mid | Middle left || Middle center || Middle right |- style="font-weight:bold; background-color:yellow;" | Bottom left || Bottom center || Bottom right |} </div> Note that the row also contains an <code>id</code> attribute; this will be explained later in the section about [[#Link directly to a row|linking directly to a row]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)