Anonymous user
Module:Yesno/doc: Difference between revisions
→Syntax: Make heading translatable
(Marked this version for translation) |
(→Syntax: Make heading translatable) |
||
Line 1:
<noinclude><!--
-->{{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}}<!--
--><languages /><!--
--></noinclude>{{#switch:<translate></translate>
| =
<includeonly>{{Languages|Module:Yesno/doc}}</includeonly>
Line 17:
<translate><!--T:5--> The module also accepts other Lua structures as input, i.e. booleans, numbers, tables, and functions.</translate>
<translate><!--T:6--> If it is passed input that it does not recognise as boolean or <tvar name=1><code>nil</code></tvar>, it is possible to specify a default value to return.</translate>
<translate>
== Syntax ==
</translate>
<syntaxhighlight lang="lua">
yesno(value, default)
|