Editing
Template:Cell
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!
<includeonly>|colspan="{{{colspan|1}}}" rowspan="{{{rowspan|1}}}" style="vertical-align: middle; text-align: center; background: {{ #switch: {{lc:{{{1}}}}}|no|red|cross|enemy|inactive=<nowiki>#f99</nowiki>|yes|green|tick|ally|active=<nowiki>#9f9</nowiki>|#default={{{color|inherit}}} }};"|'''{{{2|{{ #switch: {{lc:{{{1}}}}}|cross={{symbol|Cross}}|tick={{symbol|Tick}}|#default={{{1|{{symbol|Question}}}}} }}'''}}}</includeonly><noinclude>This template is used to create styled cells within wikitables. The template replaces the cell, like this: <pre> {| class="wikitable" |- {{Cell|tick}} | Maybe? {{Cell|unknown|Maybe!}} {{Cell|no|Never!}} |} </pre> {| class="wikitable" |- {{Cell|tick}} | Maybe? {{Cell|unknown|Maybe!}} {{Cell|no|Never!}} |} It only works with MediaWiki's table syntax, not with HTML <code><table></code> elements. == Cell styles == The first parameter specifies the cell styles. It must be one of the following: {| class="wikitable" |- ! cell style ! default display |- | cross {{Cell|cross}} |- | tick {{Cell|tick}} |- | ''default'' {{Cell}} |} == Optional parameters == The second parameter can be used to override the text. * <code>{{{colspan}}}</code>: adjusts across how many columns the cell spans. Defaults to 1. * <code>{{{rowspan}}}</code>: adjusts across how many rows the cell spans. Defaults to 1. * <code>{{{color}}}</code>: if the inherent color option should be overwritten. [[Category:Templates]]
Summary:
Please note that all contributions to Magic the Archiving 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
Magic the Archiving:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Cell
(
edit
)
Template:Symbol
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information