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

No edit summary
switch to Lua version
വരി 1:
{{#invoke:Message box|ambox}}<noinclude>
{{#ifeq:{{{subst}}}|SUBST
|{{#if:{{{name|}documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|{{Error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}}
}}[[Category:Pages with incorrectly substituted templates]]
}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
|type = {{{type|}}}
|image = {{{image|}}}
|smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
|imageright = {{{imageright|}}}
|smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
|class = ambox-{{#switch:{{{type|}}}
|speedy = speedy
|delete = delete
|content = content
|style = style
|move = move
|protection = protection
|notice|#default = notice
}} {{{class|}}}
|style = {{{style|}}}
|textstyle = {{{textstyle|}}}
|smalltext = {{{smalltext|}}}
|talk = {{#switch:{{{talk|¬}}}
|¬ = <!-- No talk link used -->
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|#}}
|#default = {{{talk}}}
}}
|issue = {{#switch:{{{sect|¬}}}
|¬ = <!-- No section parameter used -->
| = ഈ ലേഖനം
|ഈ {{{sect}}}
}} {{{issue<includeonly>|</includeonly>}}} {{{text|}}}
|fix = {{{fix<includeonly>|</includeonly>}}}
|date = {{#switch:{{{date|¬}}}
|¬ = <!-- No date used -->
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|#default = {{{date}}}
}}
|info = {{{info|}}}
}}{{Category handler
|nocat={{{nocat|<noinclude>true</noinclude>}}}
|main={{Ambox/category
|cat={{{cat|{{{category|}}}}}}
|all={{{all|}}}
|date={{{date|}}}
}}{{Ambox/category
|cat={{{cat2|{{{category2|}}}}}}
|all={{{all2|}}}
|date={{{date|}}}
}}{{Ambox/category
|cat={{{cat3|{{{category3|}}}}}}
|all={{{all3|}}}
|date={{{date|}}}
}}
|template={{#switch:Template:{{{name|}}}
|{{FULLPAGENAME}} = [[Category:Article message templates]]{{#ifexpr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}
|[[Category:Article message templates with missing parameters|{{#expr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}}}]]
}}{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}}
|[[Category:Article message templates with missing parameters|C]]
}}
|Template: = {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:Article message templates with missing parameters]]}}
}}
}}<noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
"https://ml.wikipedia.org/wiki/ഫലകം:Ambox" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്