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" | HeadHead2
|-
| Text
| {{Currency cell|1,000|html=no}}
|}
Line 143 ⟶ 145:
<table class="wikitable"><!--
--><tr><!--
--><th colspan="10">HeadHead1</th><!--
--><th colspan="10">Head2</th><!--
--></tr><!--
--><tr><!--
--><td>Text</td><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<trtd" and ending "</trtd>"
--></tr><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<tr" and ending "</tr>"
--></table>
</syntaxhighlight>
 
 
{| class="wikitable"
! Head1
! colspan="10" | HeadHead2
|-
| Text
| {{Currency cell|1,000|html=no}}
|}
Line 158 ⟶ 165:
<table class="wikitable"><!--
--><tr><!--
--><th colspan="10">HeadHead1</th><!--
--><th colspan="10">Head2</th><!--
--></tr><!--
--><tr><!--
--><td>Text</td><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<trtd" and ending "</trtd>"
--></tr><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<tr" and ending "</tr>"
--></table>
707

edits