.
Template:Expand-section: Difference between revisions
Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
Red marquis (talk | contribs) mNo edit summary |
Red marquis (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
< | <!--{{Expand section}} begin-->{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates|{{PAGENAME}}]]</includeonly>|}}{{Ambox | ||
{| | | type = notice | ||
| | | small = {{{small|left}}} | ||
| | | image = [[Image:Wiki letter w.svg|20px]] | ||
| text = This section requires [{{fullurl:{{FULLPAGENAME}}|action=edit}} expansion]{{ | |||
---- | #if:{{{1|}}} | ||
| <nowiki> </nowiki> with: <br> {{{1}}} | |||
}}.{{ | |||
#if:{{{talksection|}}} | |||
| {{#if:{{{small|}}}|<br>| }} See the [[{{TALKPAGENAME}}#{{anchorencode:{{{talksection}}}}}|talk page]]. | |||
}} | |||
}}<includeonly>{{DMCA|Articles to be expanded|from|{{{date|}}}|All articles to be expanded}}<!-- | |||
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> | ||
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]]
}}