Template:Currency cell/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Document changed show_zeros arg)
m (html output should be cells, not a row)
Line 136: Line 136:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{| class="wikitable"
{| class="wikitable"
! Head1
! colspan="10" | Head
! colspan="10" | Head2
|-
|-
| Text
| {{Currency cell|1,000|html=no}}
| {{Currency cell|1,000|html=no}}
|}
|}
Line 143: Line 145:
<table class="wikitable"><!--
<table class="wikitable"><!--
--><tr><!--
--><tr><!--
--><th colspan="10">Head</th><!--
--><th>Head1</th><!--
--><th colspan="10">Head2</th><!--
--></tr><!--
--><tr><!--
--><td>Text</td><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<td" and ending "</td>"
--></tr><!--
--></tr><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<tr" and ending "</tr>"
--></table>
--></table>
</syntaxhighlight>
</syntaxhighlight>



{| class="wikitable"
{| class="wikitable"
! Head1
! colspan="10" | Head
! colspan="10" | Head2
|-
|-
| Text
| {{Currency cell|1,000|html=no}}
| {{Currency cell|1,000|html=no}}
|}
|}
Line 158: Line 165:
<table class="wikitable"><!--
<table class="wikitable"><!--
--><tr><!--
--><tr><!--
--><th colspan="10">Head</th><!--
--><th>Head1</th><!--
--><th colspan="10">Head2</th><!--
--></tr><!--
--><tr><!--
--><td>Text</td><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<td" and ending "</td>"
--></tr><!--
--></tr><!--
-->{{Currency cell|1,000|html=yes}}<!-- Will output some text starting "<tr" and ending "</tr>"
--></table>
--></table>