Module:Yesno/doc: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
(Marked this version for translation)
(→‎Usage: Use <tvar> for `true` and `false`)
Line 114: Line 114:
</syntaxhighlight>
</syntaxhighlight>


<translate><!--T:30--> Although the blank string usually evaluates to false in wikitext, it evaluates to true in Lua.</translate>
<translate><!--T:30--> Although the blank string usually evaluates to <tvar name=1><code>false</code></tvar> in wikitext, it evaluates to <tvar name=2><code>true</code></tvar> in Lua.</translate>
<translate><!--T:31--> This module prefers the Lua behaviour over the wikitext behaviour.</translate>
<translate><!--T:31--> This module prefers the Lua behaviour over the wikitext behaviour.</translate>
<translate><!--T:32--> If treating the blank string as false is important for your module, you will need to remove blank arguments at an earlier stage of processing.</translate>
<translate><!--T:32--> If&nbsp;treating the blank string as <tvar name=1><code>false</code></tvar> is important for your module, you will need to remove blank arguments at an earlier stage of processing.</translate>
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->

Revision as of 00:31, 2 July 2021

<languages />Script error: No such module "Template translation".