Template:Td

From SprezzOSWiki
Revision as of 11:45, 8 February 2013 by Dank (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{high-use|7,000+}} This is the {{tl|td}} template. It is used to insert a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#ifeq: td | doc

 | 

{{

   #ifeq: show | show
   | {{
 {{#switch:
 {{#if: 
   | 
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | book = ombox | other | #default = ombox

}} | type = notice | image = | imageright = | class = | style = | textstyle = | text = This is a documentation subpage for Template:Td.
It contains usage information, categories, interlanguage links and other content that is not part of the original {{ #if: | {{{text2}}} | {{ #if: | {{{text1}}} | {{ #ifeq: Template | User | template template page | {{ #if: Template |template page|article}}}}}}}}. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

   }}{{
   #if: 
   | 
   | {{#ifexist:Template:Td|[[Category:{{
     #switch: Template
     | Template  = Template
     | User      = User
     | #default  = Wikipedia
   }} documentation pages]]|}}
 }}

| }} Template:High-use

This is the {{td}} template.

It is used to insert an empty, 1px wide, table cell into an HTML table or wikitable. It can be used whenever an empty cell is required to balance a table, for instance when hardcoding mbox templates.

This template takes no parameters.

Technical details

Most browsers are not so picky about balancing the table. However some are. For instance in Safari you can get partly missing left or right border of the table if some table rows do not contain the right number of table cells.

See also