Difference between revisions of "Template:Expand section"

From Self-sufficiency
Jump to: navigation, search
m (tweak: only break if using the small display, otherwise continue in the same line)
 
(fix spacing, set "alt=[icon]" per talk requests)
Line 2: Line 2:
 
| type  = notice
 
| type  = notice
 
| small = {{{small|left}}}
 
| small = {{{small|left}}}
| image = [[Image:Wiki letter w.svg|20px]]
+
| image = [[Image:Wiki letter w cropped.svg|20px|alt=[icon]]]
 
| text  = This section requires [{{fullurl:{{FULLPAGENAME}}|action=edit}} expansion]{{
 
| text  = This section requires [{{fullurl:{{FULLPAGENAME}}|action=edit}} expansion]{{
 
   #if:{{{1|}}}
 
   #if:{{{1|}}}
   | <nowiki> </nowiki> with: <br> {{{1}}}
+
   | &#32;with:<br />{{{1}}}
 
   }}.{{
 
   }}.{{
 
   #if:{{{talksection|}}}
 
   #if:{{{talksection|}}}
   | {{#if:{{{small|}}}|<br>|&nbsp;}} See the [[{{TALKPAGENAME}}#{{anchorencode:{{{talksection}}}}}|talk page]].
+
   | {{#if:{{{small|}}}|<br />|&#32;}}See the [[{{TALKPAGENAME}}#{{anchorencode:{{{talksection}}}}}|talk page]].
 
   }}
 
   }}
}}<includeonly>{{DMCA|Articles to be expanded|from|{{{date|}}}|All articles to be expanded}}<!--
+
}}<includeonly>{{DMCA|Articles to be expanded|from|{{{date|}}}|All articles to be expanded}}</includeonly><!--{{Expand section}} end--><noinclude>
  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. -->
+
}}</includeonly><!--{{Expand section}} end--><noinclude>
+
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 03:57, 28 November 2011