Template:Currency cell/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (html output should be cells, not a row) |
(Document rowspan/{left,right}_colspan) |
||
Line 173: | Line 173: | ||
--></tr><!-- |
--></tr><!-- |
||
--></table> |
--></table> |
||
==rowspan== |
|||
Each cell will have rowspan="rowspan". Defaults to 1. |
|||
==left_colspan== |
|||
The 10 columns with the currency cell will be merged with (blank) cells to the left of this amount. |
|||
==right_colspan== |
|||
Similar to left_colspan but with cells to the right. |
|||
<syntaxhighlight lang="wikitext">{| class="wikitable" |
|||
! Left |
|||
! colspan="10" | Currency |
|||
! Right |
|||
|- |
|||
| {{Currency cell|1|left_colspan=1}} |
|||
| A |
|||
|- |
|||
| B |
|||
| {{Currency cell|2|right_colspan=1}} |
|||
|- |
|||
| D |
|||
| {{Currency cell|3|rowspan=2}} |
|||
| E |
|||
|- |
|||
| F |
|||
| G |
|||
|}</syntaxhighlight> |
|||
{| class="wikitable sortable" |
|||
! Left |
|||
! colspan="10" | Currency |
|||
! Right |
|||
|- |
|||
| {{Currency cell|1|left_colspan=1}} |
|||
| A |
|||
|- |
|||
| B |
|||
| {{Currency cell|2|right_colspan=1}} |
|||
|- |
|||
| D |
|||
| {{Currency cell|3|rowspan=2}} |
|||
| E |
|||
|- |
|||
| F |
|||
| G |
|||
|} |