Difference between revisions of "Template:Table cell templates"
From Pangaea Wiki
MyraMidnight (Talk | contribs) m |
MyraMidnight (Talk | contribs) |
||
| Line 2: | Line 2: | ||
:{{navbar|Table cell templates|text=Go here to edit this section: -}} | :{{navbar|Table cell templates|text=Go here to edit this section: -}} | ||
*You put the cell-template within a "cell" of the table. | *You put the cell-template within a "cell" of the table. | ||
| − | *You cannot combine two templates in one cell | + | *You cannot combine two templates in one cell |
| − | * | + | *you cannot add any styling to the cell since it will conflict with the template. |
| + | *:unless the template itself provides a <code>| style=</code> parameter | ||
| + | *to use <code>colspan</code> or <code>rowspan</code> you need to add it in front of the template | ||
<pre style="width:300px;float:left;margin:20px;"> | <pre style="width:300px;float:left;margin:20px;"> | ||
... | ... | ||
Revision as of 09:54, 12 August 2018
How to use Table Cell Templates
- You put the cell-template within a "cell" of the table.
- You cannot combine two templates in one cell
- you cannot add any styling to the cell since it will conflict with the template.
- unless the template itself provides a
| style=parameter
- unless the template itself provides a
- to use
colspanorrowspanyou need to add it in front of the template
...
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 {{Any}}
...
| Yes | No | N/A |
|---|---|---|
| Any | ||