Jump to content

Template:Expand section: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
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.
Changing to use the now deployed ambox "small=left" feature, instead of hardcoded small styles. Adding logging of when the explanation parameter is used, so we can study those cases.
Line 1: Line 1:
{{ambox
<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;">
| type = notice
<td class="mbox-image"> [[Image:Wiki letter w.svg|20px]] </td>
| small = left
<td class="mbox-text"> This section requires [{{fullurl:{{FULLPAGENAME}}|action=edit}} expansion]{{
| image = [[Image:Wiki letter w.svg|20px]]
| text = This section requires [{{fullurl:{{FULLPAGENAME}}|action=edit}} expansion]{{
#if:{{{1|}}}
#if:{{{1|}}}
| <nowiki> </nowiki>with: <br> {{{1}}}
| <nowiki> </nowiki> with: <br> {{{1}}}
}}. </td>
}}.

</tr>
</table>{{main other
}}{{main other
| {{#if:{{{date|}}}
| {{#if:{{{date|}}}
| [[Category:Articles to be expanded since {{{date}}}]]
| [[Category:Articles to be expanded since {{{date}}}]]
Line 18: Line 20:
| [[Category:Wikipedia expand-section box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| [[Category:Wikipedia expand-section box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| <!-- No "catanyway" parameter fed. -->
| <!-- No "catanyway" parameter fed. -->
}}<!--
Detect and report any usage of the unnamed explanation parameter.
Those cases are not errors, but we want to study them:
-->{{#if:{{{1|}}}
| [[Category:Wikipedia expand-section box with explanation text|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| <!-- No explanation parameter fed. -->
}}<noinclude>
}}<noinclude>



Revision as of 02:10, 17 March 2009