Jump to content

Template:Expand section: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
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.
restore (with permission), issue has been resolved at the base template
 
(47 intermediate revisions by 21 users not shown)
Line 1: Line 1:
{{SAFESUBST:<noinclude />#invoke:Unsubst||date=__DATE__ |$B=
{{ambox
<!--{{Expand section}} begin-->{{Ambox
| type = notice
| small = left
| name = Expand section
| type = content
| image = [[Image:Wiki letter w.svg|20px]]
| small = {{{small|left}}}
| text = This section requires [{{fullurl:{{FULLPAGENAME}}|action=edit}} expansion]{{
| image = [[File:Wiki letter w cropped.svg|{{#ifeq:{{{small|}}}|no|44px|20px}}|alt=&#91;icon&#93;]]
#if:{{{1|}}}
| issue = This section '''needs expansion'''{{#if:{{{with|{{{for|{{{1|}}}}}}}}}
| <nowiki> </nowiki> with: <br> {{{1}}}
| &#32;with: {{{with|{{{for|{{{1}}}}}}}}}}}{{#ifeq:{{{punctuation|{{{period|}}}}}}|no||.}} You can help by {{Protected page maintenance message|[{{fullurl:{{FULLPAGENAME}}|action=edit&section={{{section|}}}}} adding to it]}}.{{#if: {{{find|}}} | {{br}}{{find sources mainspace|{{{find|{{ARTICLENAME}} }}} | {{{find2|}}} }}|}}
}}.
| talk = {{{talk|{{{discuss|{{{talksection|}}}}}}}}}

| all = All articles to be expanded
}}{{main other
| cat = Articles to be expanded
| {{#if:{{{date|}}}
| [[Category:Articles to be expanded since {{{date}}}]]
| date = {{{date|}}}
}}<!--{{Expand section}} end-->
| [[Category:Articles to be expanded]]
}}[[Category:All articles to be expanded]]
| <!-- Don't categorise when not in main (article) space. -->
}}<!--
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. -->
}}<!--
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>
{{Documentation}}

{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 11:08, 26 October 2024