మూస:Ambox: కూర్పుల మధ్య తేడాలు

చి tweak categorisation, if {{{name}}} parameter defined then no category unless on Template:{{{name}}}
implement separate parameters for issue and fix, use only issue in small form unless smalltext specified, adjust categories for article message templates
పంక్తి 19:
|textstyle = {{{textstyle|}}}
|text = {{#if:{{{smalltext|}}}
|{{{smalltext}}}
|{{#if:{text{{issue|}}}
|{{{issue}}}
|{{{text}}}
}}
}}
}}
Line 30 ⟶ 33:
|style = {{{style|}}}
|textstyle = {{{textstyle|}}}
|text = {{{text|}}} {{{issue<includeonly>|</includeonly>}}}<span class="hide-in-submbox"> {{#switch:{{{talk|¬}}}
|¬ = <!-- No talk link used -->
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|&#32;More details and relevant discussion can be found on the [[{{TALKPAGENAME}}|talk page]].}}
Line 37 ⟶ 40:
|the [[{{TALKPAGENAME}}#{{{talk}}}|talk page]]
}}.
}} {{{fix<includeonly>|</includeonly>}}}</span>{{#switch:{{{date|¬}}}
|¬ = <!-- No date used -->
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|&#32;<small>''({{CURRENTMONTHNAME}} {{CURRENTYEAR}})''</small>}}
Line 57 ⟶ 60:
|date={{{date|}}}
}}
|template={{#switch:Template:{{{name|<noinclude>Ambox</noinclude>}}}
|{{FULLPAGENAME}} = [[Category:Article message templates]]
|Template: = [[Category:Article message templates with missing parameters]]
|Template: = {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|<!--We are on a rootpage, not a /doc or /sandbox page-->{{#ifeq:{{{nocat|}}}|true
}}
| <!--Don't categorise-->
| [[Category:Article message boxes|{{BASEPAGENAME}}]]
}}
}}
}}
}}<noinclude>
{{Documentation}}
"https://te.wikipedia.org/wiki/మూస:Ambox" నుండి వెలికితీశారు