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

imported>Happy-melon
add doc
Changed the "#ifeq:" statements to "#if:", changed to using {{namespace detect}} so a demospace parameter can be used and talk space can be easily detected, and other fixes.
വരി 1:
{{
{{ {{#switch:{{NAMESPACE}}
{{namespace detect
|{{ns:0}} = ambox
| demospace = {{{demospace|}}}
|{{ns:Image}} = imbox
|{{ns:0}} | main = ambox
|{{ns:Category}} = cmbox
<!-- | talk = tmbox -->
|#default = dmbox
|{{ns:Image}} image = imbox
}}
| category = cmbox
|{{#ifeq:{{{type|μ}}}|μ||type}}={{{type|}}}
|#default | other = dmbox
|{{#ifeq:{{{image|μ}}}|μ||image}}={{{image|}}}
}}
|{{#ifeq:{{{imageright|μ}}}|μ||imageright}}={{{imageright|}}}
<!-- These if-cases soon unnecessary since all but ambox and dmbox can take empty parameters, and ambox and dmbox will be fixed. This code means we are feeding several empty numbered parameters but that doesn't matter since the mboxes don't use numbered parameters. -->
|{{#ifeq:{{{style|μ}}}|μ||style}}={{{style|}}}
| {{#ifeqif:{{{textstyletype|μ}}}|μ||textstyle}} type={{{textstyletype|}}} }}
| {{#ifeqif:{{{textimage|μ}}}|μ||text}} image={{{textimage|}}} }}
| {{#ifeqif:{{{imageright|μ}}}|μ|| imageright}}={{{imageright|}}} }}
| {{#ifeqif:{{{imagestyle|μ}}}|μ||image}} style={{{imagestyle|}}} }}
| {{#if:{{{textstyle|}}}| textstyle={{{textstyle|}}} }}
| {{#ifeqif:{{{typetext|μ}}}|μ||type}} text={{{typetext|}}} }}
 
}}<noinclude>
 
{{documentation}}
<!-- {{pp-template|small=yes}} -->
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
"https://ml.wikipedia.org/wiki/ഫലകം:Mbox" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്