Difference between revisions of "Template:Table cell templates"
From Pangaea Wiki
MyraMidnight (Talk | contribs) |
MyraMidnight (Talk | contribs) m (→Cell-templates on pangaea wiki) |
||
Line 25: | Line 25: | ||
===Cell-templates on pangaea wiki=== | ===Cell-templates on pangaea wiki=== | ||
{| class=wikitable | {| class=wikitable | ||
− | !template || example | + | ! template || code || example |
|- | |- | ||
− | |{{tl|yes}} || {{yes}} | + | | yes || {{tl|yes}} || {{yes}} |
|- | |- | ||
− | |{{tl|no}} || {{no}} | + | | no || {{tl|no}} || {{no}} |
|- | |- | ||
− | |{{tl|any}} || {{any}} | + | | any || {{tl|any}} || {{any}} |
|- | |- | ||
− | |{{tl|some}} || {{some}} | + | | some || {{tl|some}} || {{some}} |
|- | |- | ||
− | |{{tl|n/a}} || {{n/a}} | + | | n/a || {{tl|n/a}} || {{n/a}} |
|} | |} |
Revision as of 10:44, 12 August 2018
How to use Table Cell Templates
... !{{Yes}} ||{{No}} ||rowspan=2 {{n/a}} |- |colspan=2 {{Any}} ...
Yes | No | N/A |
---|---|---|
Any |
- You put the cell-template within a "cell" of the table.
- to use
colspan
orrowspan
with the template you need to add them in front of the template - You cannot combine two templates in one cell
- you cannot add any styling to the cell since it will conflict with the template.
- Each cell-template has it's own parameters, these are some common ones that might apply:
| 1 =
(the first parameter) allows you to replace the default text{{yes|custom text}}
| align =
sets the text alignment| style =
allows you to add custom styling
Cell-templates on pangaea wiki
template | code | example |
---|---|---|
yes | {{yes}} | Yes |
no | {{no}} | No |
any | {{any}} | Any |
some | {{some}} | Template:Some |
n/a | {{n/a}} | N/A |