.

Template:Expand-section: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<div class="messagebox cleanup metadata plainlinks">
<!--{{Expand section}} begin-->{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates|{{PAGENAME}}]]</includeonly>|}}{{Ambox
{|style="width:99%;background:none"
| type  = notice
|width=60px|
| small = {{{small|left}}}
|'''Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this article] by expanding this section{{#if:{{{1|}}}|<br/>with: {{{1}}}}}.'''<br /><small>Further information might be found on the [[{{TALKPAGENAME}}|talk page]] or at [[Wikipedia:Requests for expansion|requests for expansion]]. Please remove this message once the section has been expanded.</small>
| image = [[Image:Wiki letter w.svg|20px]]
|}</div><includeonly>[[Category:Articles to be expanded|{{PAGENAME}}]]</includeonly><noinclude>
| text  = This section requires [{{fullurl:{{FULLPAGENAME}}|action=edit}} expansion]{{
----
  #if:{{{1|}}}
Places article in [[:Category:Articles to be expanded]]. 1st argument, if supplied, explains the expansion requested. Example: <nowiki>{{expand-section|examples and additional citations}}</nowiki>
  | <nowiki> </nowiki> with: <br> {{{1}}}
 
  }}.{{
== See also ==
  #if:{{{talksection|}}}
* {{tl|expand}}
  | {{#if:{{{small|}}}|<br>|&nbsp;}} See the [[{{TALKPAGENAME}}#{{anchorencode:{{{talksection}}}}}|talk page]].
* {{tl|sectstub}}
  }}
 
}}<includeonly>{{DMCA|Articles to be expanded|from|{{{date|}}}|All articles to be expanded}}<!--  
[[Category:Cleanup templates|{{PAGENAME}}]]
  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}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>
[[category:templates]]

Revision as of 09:30, 14 October 2010

{{#ifeq:Template|Template||}}Template:Ambox {{#ifeq: Expand-section | sandbox

|

Template:Template sandbox notice }}Template:Template other

{{#ifeq: ¬ |

|

|
{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Expand-section
 | sandbox
 | testcases = Expand-section
 | #default = Expand-section
 }}/doc
   }}
 | yes
 }}
   | [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Expand-section
 | sandbox
 | testcases = Expand-section
 | #default = Expand-section
 }}/doc
 }}|action=edit}} edit]] [purge] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Expand-section
 | sandbox
 | testcases = Expand-section
 | #default = Expand-section
 }}/doc
 }}| action=edit&preload={{
       #ifeq: Template | File
       | Template:Documentation/preload-filespace
       | Template:Documentation/preload
       }} }} create]]
   }}
 }} {{#switch: ¬
 | ¬ =   
   {{#switch: Template 
   | Template =  Template documentation
   | File = Summary
   | #default = Documentation
   }}
 | #default = 
   ¬
}}

}} {{#if: | | {{#if: {{#ifexist:

   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Expand-section
 | sandbox
 | testcases = Expand-section
 | #default = Expand-section
 }}/doc
   }}
 | yes
 }}
 | {{ {{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Expand-section
 | sandbox
 | testcases = Expand-section
 | #default = Expand-section
 }}/doc
 }} }}
 }}

}}

{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Expand-section
 | sandbox
 | testcases = Expand-section
 | #default = Expand-section
 }}/doc
   }}
 | yes
 }}{{
   #switch: Template
   | User
   | Template = yes
   }}
 }}

| Template:Fmbox }}{{#if:

 {{#switch: Expand-section
 | doc
 | testcases = strange
 }}

| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Expand-section]]

}}