"ഫലകം:If empty/doc" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

(ചെ.) en:ഫലകം:If empty/doc എന്നതിൽ നിന്ന് 42 പതിപ്പുകൾ ഇറക്കുമതി ചെയ്തു
(ചെ.) tc, tlpad
വരി 35:
|row1style=background:whitesmoke;padding-left:0.5em;font-weight:bold;
| Code | Result |
| {{tlctc|if empty}} | {{if empty}} | Returns an empty string.
| {{tlctc|if empty|one}} | {{if empty|one}} | Returns the first parameter that is defined and not empty.
| {{tlctc|if empty|one|two}} | {{if empty|one|two}} |
| {{tlctc|if empty|one|two|three|four}} | {{if empty|one|two|three|four}} |
| {{tlctc|if empty||two}} | {{if empty||two}} | The first parameter is empty/undefined, so is passed over.
| {{tlctc|if empty||two|three|four}} | {{if empty||two|three|four}} |
| {{tlctc|if empty||two||four}} | {{if empty||two||four}} |
| <code><nowiki>{{if empty||||||||||ten}}</nowiki></code> | {{if empty||||||||||ten}} | Unlike in previous versions, this template is no longer limited by 9 parameters.
| {{tlctc|if empty|}} | {{if empty|}} | The only parameter is empty or undefined, so returns an empty string.
| {{tlctc|if empty||||}} | {{if empty||||}} | Returns an empty string.
| <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}}}").
വരി 53:
 
===See also===
* {{tlspctlpad|if all}}
* {{tlspctlpad|if either}}
* {{tlspctlpad|px}} assists in handling image-width parameters within templates.
* [[Help:Parameter default]]
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!---- ADD CATEGORIES BELOW THIS LINE, PLEASE:-- -->
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!----ADD CATEGORIES BELOW THIS LINE, PLEASE:---->
[[Category:If-then-else templates]]
}}</includeonly>
}}
</includeonly>
"https://ml.wikipedia.org/wiki/ഫലകം:If_empty/doc" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്