Template:Expand section and Template:Expand section/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Adding find params to generate optional 'find sources' capability. No change to existing transclusions; all test cases passed.
 
Undid revision 1051793717 by Mathglot (talk) we are using this for a discussion
 
Line 1: Line 1:
{{SAFESUBST:<noinclude />#invoke:Unsubst||date=__DATE__ |$B=
{{SAFESUBST:<noinclude />#invoke:Unsubst||date=__DATE__ |$B=
<!--{{Expand section}} begin-->{{Ambox
<!--{{Expand section}} begin-->{{Ambox
| name = Expand section
| name = Expand section
| type = content
| type = content
| small = {{{small|left}}}
| small = left
| style = width: auto;
| image = [[File:Wiki letter w cropped.svg|{{#ifeq:{{{small|}}}|no|44px|20px}}|alt=&#91;icon&#93;]]
| textstyle = width: auto;
| issue = This section '''needs expansion'''{{#if:{{{with|{{{for|{{{1|}}}}}}}}}
| &#32;with: {{{with|{{{for|{{{1}}}}}}}}}}}{{#ifeq:{{{punctuation|{{{period|}}}}}}|no||.}} You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit&section={{{section|}}}}} adding to it].{{#if: {{{find|}}} | {{br}}{{find sources mainspace|{{{find|{{ARTICLENAME}} }}} | {{{find2|}}} }}|}}
| image = [[File:Wiki letter w cropped.svg|{{#ifeq:{{{small|}}}|no|44px|20px}}|alt=&#91;icon&#93;]]
| issue = This section '''needs expansion'''{{#if:{{{with|{{{for|{{{1|}}}}}}}}}
| &#32;with: {{{with|{{{for|{{{1}}}}}}}}}}}{{#ifeq:{{{punctuation|{{{period|}}}}}}|no||.}} You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit&section={{{section|}}}}} adding to it].{{#if: {{{find|}}} | {{br}}{{find sources mainspace|{{{find|{{ARTICLENAME}} }}} | {{{find2|}}} }}}}
| talk = {{{talk|{{{discuss|{{{talksection|}}}}}}}}}
| talk = {{{talk|{{{discuss|{{{talksection|}}}}}}}}}
| all = All articles to be expanded
| all = All articles to be expanded
| cat = Articles to be expanded
| cat = Articles to be expanded
| date = {{{date|}}}
| date = {{{date|}}}
}}<!--{{Expand section}} end-->
}}<!--{{Expand section}} end-->
}}<noinclude>
}}<noinclude>