Difference between revisions of "Template:Expand/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Tothwolf
(Refactor, indent)
imported>Tothwolf
(Merge Template:Expand section, Added support for subject= parameter)
Line 5: Line 5:
 
     #ifeq:{{lc:{{{1|}}}}}
 
     #ifeq:{{lc:{{{1|}}}}}
 
     |section
 
     |section
    |{{Expand section|date={{{date|}}}}}
 
 
     |{{Ambox
 
     |{{Ambox
 
       |type = notice
 
       |type = notice
       |image= [[File:wiki letter w cropped.svg|50x40px|alt=]]
+
      |small = {{{small|left}}}
       |text = '''Please help [{{fullurl:{{PAGENAME}}|action=edit}} improve this {{{1|article}}}] by expanding it.''' {{
+
       |image = [[Image:Wiki letter w cropped.svg|20px|alt=]]
           #if:{{{concern|}}}|The specific concern here is: ''{{{concern}}}''
+
       |text = This section requires [{{fullurl:{{FULLPAGENAME}}|action=edit}} expansion]{{
        }} Further information might be found on the [[{{TALKPAGENAME}}#{{
+
          #if:{{{concern|}}}{{{2|}}}
 +
           |{{
 +
            #if:{{{small|}}}
 +
            |.<br>''{{{concern|{{{2}}}}}}}''
 +
            |with: {{{concern|{{{2}}}}}}}
 +
          }}
 +
        }}{{
 
           #if:{{{talksection|}}}
 
           #if:{{{talksection|}}}
           |{{anchorencode:{{{talksection}}}}}
+
           |{{
         }}|talk page]]. <small>{{
+
            #if:{{{small|}}}
 +
            |<br>
 +
            |&nbsp;
 +
          }} See the [[{{TALKPAGENAME}}#{{anchorencode:{{{talksection}}}}}|talk page]].
 +
         }}
 +
    }}
 +
    |{{Ambox
 +
      |type = notice
 +
      |image = [[File:wiki letter w cropped.svg|50x40px|alt=]]
 +
      |text = '''Please help [{{fullurl:{{PAGENAME}}|action=edit}} improve this {{{1|article}}}] by expanding it.'''
 +
        {{
 +
          #if:{{{talksection|}}}
 +
          |See the [[{{TALKPAGENAME}}#{{anchorencode:{{{talksection}}}}}|talk page]] for details.
 +
        }}{{
 
           #if:{{{date|}}}
 
           #if:{{{date|}}}
           |''({{{date}}})''
+
           |&#32;<small>''({{{date}}})''</small>
         }}</small>{{
+
         }}{{
           #if:{{{2|}}}
+
           #if:{{{concern|}}}{{{2|}}}
           |<br><small>{{{2}}}</small>
+
           |&#32;The specific concern is:<br>{{{concern|{{{2}}}}}}
 +
        }}{{
 +
          #if:{{{subject|}}}{{{3|}}}
 +
          |&#32;[[Wikipedia:WikiProject {{ucfirst:{{{subject|{{{3}}}}}}}}|WikiProject {{ucfirst:{{{subject|{{{3}}}}}}}}]] {{
 +
            #ifexist:Portal:{{ucfirst:{{{subject|{{{3}}}}}}}}
 +
            |or the [[Portal:{{ucfirst:{{{subject|{{{3}}}}}}}}|{{ucfirst:{{{subject|{{{3}}}}}}}} Portal]]
 +
          }} may be able to help with expansion.
 +
          |Consider [[:Template:Expand|associating this request]] with a [[WP:WikiProject|WikiProject]].
 
         }}
 
         }}
 
     }}
 
     }}
   <includeonly>}}{{DMCA|Articles to be expanded|from|{{{date|}}}|All articles to be expanded}}</includeonly>
+
   <includeonly>}}{{DMCA|Articles to be expanded|from|{{{date|}}}|All articles to be expanded}}{{
 +
    #ifexist:Category:{{ucfirst:{{{subject|{{{3}}}}}}}} articles needing to be expanded
 +
    |[[Category:{{ucfirst:{{{subject|{{{3}}}}}}}} articles needing to be expanded]]
 +
    |[[Category:Miscellaneous articles needing to be expanded]]
 +
  }}{{
 +
    #if:{{{talksection|}}}{{{concern|}}}{{{2|}}}
 +
    ||[[Category:Pages with expand template lacking a concern]]
 +
  }}</includeonly>
 
}}{{
 
}}{{
 
   #ifeq:{{NAMESPACE}}
 
   #ifeq:{{NAMESPACE}}

Revision as of 23:03, 25 December 2010

Template documentation[create]