Template:Col-begin: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
en>Msikma
Added zero padding and margin in order to make it appear more consistent with default lists. Note that this is XHTML 1.0 compliant.
en>Ligulem
transclude doc from {{/doc}}. See Wikipedia:Template doc page pattern
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" class="{{{class|}}}" style="background-color: {{{bgColor|transparent}}}; width: {{{width|100%}}}"<noinclude>
{| cellspacing="0" cellpadding="0" class="{{{class|}}}" style="background-color: {{{bgColor|transparent}}}; width: {{{width|100%}}}"<noinclude>
----
{{/doc}}
Begins with a blank line to ensure the table wiki code is at the beginning of a line.
 
This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopaedic content.
 
To do: use &lt;table> tag instead of table wiki code?
 
Parameters:
* class (default: "")
* bgColor (default: transparent) - remember to set to null when the class defines the background
* width (default: 100%)
 
==See also==
* {{tl|Col-begin}}
* {{tl|col-begin-small}}
* {{tl|Col-break}}
* {{tl|Col-2}}
* {{tl|Col-3}}
* {{tl|Col-4}}
* {{tl|Col-5}}
* {{tl|Col-6}}
* {{tl|Col-end}}
* [[Wikipedia talk:Manual of Style/Archive 35#Columns in articles]]
* [[Template talk:Columns]] — Proposed CSS-based replacement
 
==External links==
* [http://www.htmlcodetutorial.com/_MULTICOL.html MULTICOL HTML tag]
 
[[Category:Wikipedia special effects templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 16:01, 27 August 2006