"टेम्पलेट:Expand section" की अवतरण में अंतर

Making it a small left-aligned box per requests and discussion on the talk page and the Village pump. Simplifying the category namespace-code, and removing the broken "catanyway" parameter.
(Add space per editprotected on talk by Penubag, using nowiki tags because the space needed is within a ParserFunction (which would strip leading spaces otherwise).)
imported>Davidgothberg
(Making it a small left-aligned box per requests and discussion on the talk page and the Village pump. Simplifying the category namespace-code, and removing the broken "catanyway" parameter.)
<table class="metadata plainlinks ambox ambox-notice ambox-small-left" style="margin: 4px 1em 4px 0; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em;">
<!-- {{expand-section}} start -->{{ambox
|image<td class="mbox-image"> [[Image:Wiki letter w.svg|36px20px]] </td>
|type=notice
<td class="mbox-text"> This section requires [{{fullurl:{{FULLPAGENAME}}|action=edit}} expansion]{{
|image=[[Image:Wiki letter w.svg|36px]]
-->{{ #if:{{{catanyway1|}}}|
|text = '''Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this section] by expanding it{{#if:{{{1|}}}|<nowiki> </nowiki>with:<br/>{{{1}}}}}.''' Further information might be found on the [[{{TALKPAGENAME}}|talk page]]. <small>{{#if:{{{date|}}}|''({{{date}}})''}}</small>
| <nowiki> </nowiki>with: <br> {{{1}}}
}}<includeonly>{{#switch:{{NAMESPACE}}|
}}. </td>
<!-- To add more namespaces, do this e.g.:
</tr>
{{ns:1}}|
</table>{{main other
to add article talk space. Use namespace numbers-->
| {{ns#if:0{{{date|}}}=
{{#if:{{{date|}}}|{{{category | [[Category:Articles to be expanded since {{{date}}}]]}}}|{{{category|[[Category:Articles to be expanded]]}}}}}{{{category|[[Category:All articles to be expanded]]}}}
| [[Category:Articles to be expanded]]
| #default={{ns:0}}<!-- if outside accepted range of namespaces, do nothing-->}}<!--
}}[[Category:All articles to be expanded]]
-->{{#if:{{{catanyway|}}}|
| <!-- Don't categorise when not in main (article) space. -->
{{#if:{{{date|}}}|{{{category|[[Category:Articles to be expanded since {{{date}}}]]}}}|{{{category|[[Category:Articles to be expanded]]}}}}}{{{category|[[Category:All articles to be expanded]]}}}
}}<!--
<!-- allow people to override previous ns checker-->}}</includeonly><!-- end {{expand-section}} --><noinclude>
Detect and report any usage of the "catanyway" parameter.
Also detects empty but defined "catanyway=" feeding:
-->{{#ifeq:{{{catanyway|x}}}|{{{catanyway|}}}
| [[Category:Wikipedia expand-section box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| <!-- No "catanyway" parameter fed. -->
}}<noinclude>
 
{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
नामालूम प्रयोगकर्ता