Template:Currency cell/doc: Difference between revisions
m
html output should be cells, not a row
(Document changed show_zeros arg) |
m (html output should be cells, not a row) |
||
Line 136:
<syntaxhighlight lang="wikitext">
{| class="wikitable"
! Head1
! colspan="10" |
|-
| Text
| {{Currency cell|1,000|html=no}}
|}
Line 143 ⟶ 145:
<table class="wikitable"><!--
--><tr><!--
--><th
--><th colspan="10">Head2</th><!--
--></tr><!--
--><tr><!--
--><td>Text</td><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<
--></tr><!--
▲ -->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<tr" and ending "</tr>"
--></table>
</syntaxhighlight>
{| class="wikitable"
! Head1
! colspan="10" |
|-
| Text
| {{Currency cell|1,000|html=no}}
|}
Line 158 ⟶ 165:
<table class="wikitable"><!--
--><tr><!--
--><th
--><th colspan="10">Head2</th><!--
--></tr><!--
--><tr><!--
--><td>Text</td><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<
--></tr><!--
▲ -->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<tr" and ending "</tr>"
--></table>
|