Template:Table cell templates/doc: Difference between revisions

no edit summary
m (Keeping the spellings the same throughout.)
No edit summary
Line 5:
For example, <code>{{Tl|yes}}</code> makes a cell with a green background. The text in the cell is taken from the [[Help:Template#Parameters|first parameter]]; <code><nowiki>{{</nowiki>yes|Sure}}</code> would output "Sure" otherwise it defaults to "Yes". Most templates allow authors to override the default text in this way, some require text put after the template call and some also need a vertical bar in between: <code><nowiki>{{</nowiki>''table cell template''}} ''text''</code> or <code><nowiki>{{</nowiki>''table cell template''}} | ''text''</code>. This information, the colors and default texts are found in the table below.
 
If you want to use other attributes for the table cells, e.g. <code>colspan</code> or <code>rowspan</code>, they need to be put before the template call and there must be no vertical bar <code>|</code> in between them: fucking annoying
 
{| class=wikitable align=right