Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Guild of Archivists
Search
Editing
Template:Aligned table/doc
(section)
From Guild of Archivists
Namespaces
Template
Discussion
More
More
Page actions
Read
Edit source
History
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!
== Parameters == {{Aligned table |cols=4 |class=wikitable |style=line-height:1.35em; |colstyle=padding-right:1.0em; |col2width=40.0em |col4style=padding-left:1.0em;text-align:center; |row1header=on | Parameter | Description | Examples | Default <!-------Overall--------> | cols | Number of columns in the table. | <code><nowiki> |cols=4 </nowiki></code> | 2 | fullwidth | {{nowrap|Set to anything ("on", "true", "yes", etc) to ensure table spans entire width available.}}<br />(Effect is to remove border-spacing and add width:100% to the table's styling.) | <code><nowiki> |fullwidth=on </nowiki></code> | ''not set'' | class | CSS/[[w:HTML attribute|HTML class]]/es applied to the table. | <code><nowiki> |class=wikitable |class=infobox</nowiki><br /><nowiki>|class=sortable nowrap |class=sidebar</nowiki></code> | ''none'' | style | [[w:CSS styling|CSS styling]] applied to the table. | <code>{{nowrap|<nowiki> |style=width:80%;background:transparent; </nowiki>}}</code> | ''none'' | colwidth | Width of each column (or include "width:...;" in <kbd>colstyle</kbd>). | <code><nowiki> |colwidth=6.0em |colwidth=25%</nowiki></code> | ''not set'' | colstyle | CSS styling applied to each column. | <code><nowiki> |colstyle=background:transparent; </nowiki></code> | " | rowstyle | CSS styling applied to each row. | <code><nowiki> |rowstyle=text-align:center; </nowiki></code> | " <!-------Columns--------> | leftright | Set to anything ("on", "true", "yes", etc) in place of <kbd><nowiki>|col1align=left</nowiki></kbd> and <kbd><nowiki>|col2align=right</nowiki></kbd> | <code><nowiki> |leftright=on </nowiki></code> | ''not set'' | col{{var|C}}width | Width of column number {{var|C}} (or include "width:...;" in <kbd>col{{var|C}}style</kbd>). | <code><nowiki> |col2width=9.0em |col3width=35%</nowiki></code> | ''none set'' | col{{var|C}}class | Class/es applied to column number {{var|C}}. | <code><nowiki> |col1class=navbox-group </nowiki></code> | " | col{{var|C}}align | Alignment (left{{\}}right{{\}}center) for column {{var|C}}'s cell contents (or include "text-align:...;" in <kbd>col{{var|C}}style</kbd>). | <code><nowiki> |col4align=right </nowiki></code> | ''none set'' | col{{var|C}}nowrap | Set to anything ("on", "true", "yes", etc) to add "white-space:nowrap;" to column {{var|C}}'s cell styling (i.e. to prevent lines within its cells from wrapping; or include "nowrap" in <kbd>col{{var|C}}class</kbd> or "white-space:nowrap;" in <kbd>col{{var|C}}style</kbd>). | <code><nowiki> |col5nowrap=on </nowiki></code> | " | col{{var|C}}style | CSS styling applied to column number {{var|C}}. | <code><nowiki> |col4style=font-style:italic; </nowiki></code> | " | col{{var|C}}header | Set to any value (e.g. <code>Y</code>) to change col's cells from data cells to table headers (headings). | <code><nowiki> |col1header=on </nowiki></code> | ''not set'' <!--------Rows----------> | row{{var|R}}class | Class/es applied to row number {{var|R}}. | <code><nowiki> |row10class=navbox-abovebelow </nowiki></code> | ''none set'' | row{{var|R}}style | CSS styling applied to row number {{var|R}}. | <code><nowiki> |row2style=font-weight:bold; </nowiki></code> | " | row{{var|R}}header | Set to any value (e.g. <code>Y</code>) to change row's cells from data cells to table headers (headings). | <code><nowiki> |row1header=on </nowiki></code> | ''not set'' <!--------Cells---------> | class{{var|R}}.{{var|C}} | Class/es applied to cell in row {{var|R}}, column {{var|C}}. Overrides any other class attributions (<kbd>row{{var|R}}class</kbd>, <kbd>col{{var|C}}class</kbd>). | <code><nowiki> |class1.2=adr </nowiki></code> | ''none set'' | style{{var|R}}.{{var|C}} | CSS styling applied to cell in row {{var|R}}, column {{var|C}}. Overrides any more general styling (<kbd>leftright</kbd>, <kbd>col{{var|C}}align</kbd>, <kbd>row{{var|R}}style</kbd>, etc). | <code><nowiki> |style5.3=text-align:right; </nowiki></code> | " | ''Unnamed parameters'' | Each unnamed parameter is taken to be the next cell in the table, starting at the table's top left corner and working left to right from top to bottom. | <code>{{!}} Azerbaijan {{!}} Malta {{!}} Zaire</code> | empty }}
Summary:
Please note that all contributions to Guild of Archivists may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see
GoArch:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main Page
Random page
Categories
All pages
Recent changes
Resources
D'ni dictionary
Reference material
Utilities
Community
Forums
Jalak Game Directory
Projects
Apocrypha
Unexplored Branches
All projects
Contribute
Stubs
Wanted
Cleanup
Dead ends
Image requested
Help
Help
Guide
Policies
Wiki tools
Wiki tools
Special pages
Page values
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs