Difference between revisions of "Template:Expert-subject"

From Self-sufficiency
Jump to: navigation, search
(add talk parameter and don't break when project parameter is not used, per request)
 
Line 1: Line 1:
 
<!--{{Expert-subject}} begin-->{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates|{{PAGENAME}}]]</includeonly>|}}{{Ambox
 
<!--{{Expert-subject}} begin-->{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates|{{PAGENAME}}]]</includeonly>|}}{{Ambox
 
| type = content
 
| type = content
 +
| class = ambox-Expert-subject
 
| text = This {{{2|article}}} '''needs attention from an expert on the subject'''. See the [[{{TALKPAGENAME}}{{#if:{{{talk|}}}
 
| text = This {{{2|article}}} '''needs attention from an expert on the subject'''. See the [[{{TALKPAGENAME}}{{#if:{{{talk|}}}
 
  |&#x23;{{{talk}}}
 
  |&#x23;{{{talk}}}
Line 9: Line 10:
 
  |Consider [[:Template:Expert-subject|associating this request]] with a [[WP:WikiProject|WikiProject]].
 
  |Consider [[:Template:Expert-subject|associating this request]] with a [[WP:WikiProject|WikiProject]].
 
}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
 
}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
}}<includeonly>{{#ifexist:Category:{{ucfirst:{{{1}}}}} articles needing expert attention|[[Category:{{ucfirst:{{{1}}}}} articles needing expert attention]]|[[Category:Miscellaneous articles needing expert attention]]}}{{DMCA|Articles needing expert attention|from|{{{date|}}}|All articles needing expert attention}}</includeonly><!--{{Expert-subject}} end--><noinclude>
+
}}<includeonly>{{#ifeq:{{{1|}}}||[[Category:Miscellaneous articles needing expert attention]]|{{#ifexist:Category:{{ucfirst:{{{1|xyzzy}}}}} articles needing expert attention|[[Category:{{ucfirst:{{{1|Miscellaneous}}}}} articles needing expert attention]]|[[Category:Miscellaneous articles needing expert attention]]}}}}{{DMCA|Articles needing expert attention|from|{{{date|}}}|All articles needing expert attention|Articles needing expert attention by month}}</includeonly><!--{{Expert-subject}} end--><noinclude>
  
 
{{Documentation}}
 
{{Documentation}}

Revision as of 20:19, 20 November 2011