"ഫലകം:If empty/doc" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
Content deleted Content added
Undid revision 740872154 by 24.107.145.1 (talk) Sorry! My bad! |
links |
||
വരി 1:
{{Documentation subpage}}
{{Template
{{Lua|Module:If empty}}
{{High-risk | 640000+ }}
വരി 28:
====Piping====
Parameters used with {{tlf|if empty}} must be [[Pipe (Unix)|pipe]]d – i.e. include the [[Vertical bar|vertical bar (pipe) symbol]] {{nowrap|("{{
===Examples===
വരി 35:
|row1style=background:whitesmoke;padding-left:0.5em;font-weight:bold;
| Code | Result |
| {{
| {{
| {{
| {{
| {{
| {{
| {{
| <code><nowiki>{{if empty||||||||||ten}}</nowiki></code> | {{if empty||||||||||ten}} | Unlike in previous versions, this template is no longer limited by 9 parameters.
| {{
| {{
| <code><nowiki>{{if empty|{{{1|}}}|{{{2|}}}|three}}</nowiki></code> | {{if empty|{{{1|}}}|{{{2|}}}|three}} |
| <code><nowiki>{{if empty|{{{1}}}|{{{2}}}|three}}</nowiki></code> | {{if empty|{{{1}}}|{{{2}}}|three}} | No pipe-characters following the names of the first two parameters ("1" and "2"), so the first of these returned as text ("{{{1}}}").
|