Editing Template:Currency cell/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 136: | Line 136: | ||
<syntaxhighlight lang="wikitext"> |
<syntaxhighlight lang="wikitext"> |
||
{| class="wikitable" |
{| class="wikitable" |
||
⚫ | |||
! Head1 |
|||
⚫ | |||
|- |
|- |
||
| Text |
|||
| {{Currency cell|1,000|html=no}} |
| {{Currency cell|1,000|html=no}} |
||
|} |
|} |
||
Line 145: | Line 143: | ||
<table class="wikitable"><!-- |
<table class="wikitable"><!-- |
||
--><tr><!-- |
--><tr><!-- |
||
--><th> |
--><th colspan="10">Head</th><!-- |
||
--><th colspan="10">Head2</th><!-- |
|||
--></tr><!-- |
|||
--><tr><!-- |
|||
--><td>Text</td><!-- |
|||
⚫ | |||
--></tr><!-- |
--></tr><!-- |
||
⚫ | |||
--></table> |
--></table> |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
{| class="wikitable" |
{| class="wikitable" |
||
⚫ | |||
! Head1 |
|||
⚫ | |||
|- |
|- |
||
| Text |
|||
| {{Currency cell|1,000|html=no}} |
| {{Currency cell|1,000|html=no}} |
||
|} |
|} |
||
Line 165: | Line 158: | ||
<table class="wikitable"><!-- |
<table class="wikitable"><!-- |
||
--><tr><!-- |
--><tr><!-- |
||
--><th> |
--><th colspan="10">Head</th><!-- |
||
--><th colspan="10">Head2</th><!-- |
|||
--></tr><!-- |
|||
--><tr><!-- |
|||
--><td>Text</td><!-- |
|||
⚫ | |||
--></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 |
|||
|} |