Difference between revisions of "Template:Get experts"

From SNIC Documentation
Jump to: navigation, search
(Created page with "<noinclude>'''Unless you really know what you are doing, you should probably use Template:List experts instead.''' This template generates the page selection part of a query...")
 
Line 8: Line 8:
 
  {{get experts|{{PAGENAME}}|{{#ask: [[{{PAGENAME}}]]|?research area=|link=none}}}}</nowiki>
 
  {{get experts|{{PAGENAME}}|{{#ask: [[{{PAGENAME}}]]|?research area=|link=none}}}}</nowiki>
  
</noinclude><includeonly>[[Category:Person]] <q>[[expertise::{{{page}}}]] OR [[research area::Category:{{{page}}}]] {{#if: {{{research areas|}}}|OR [[research area::{{#replace:{{{research areas}}}|, |!!}}]]}}</q></includeonly>
+
</noinclude><includeonly><onlyinclude>[[Category:Person]] <q>[[expertise::{{{page}}}]] OR [[research area::Category:{{{page}}}]] {{#if: {{{research areas|}}}|OR [[research area::{{#replace:{{{research areas}}}|, |!!}}]]}}</q></onlyinclude></includeonly>

Revision as of 12:56, 6 July 2011

Unless you really know what you are doing, you should probably use Template:List experts instead.

This template generates the page selection part of a query for experts. It will yield pages for people who have the expertise page, have the research area Category:page, or otherwise have one of the research areas, which should be given as a comma separated list of pagenames including the 'Category:' namespace part.

Examples:

 {{get experts|GROMAX|Category:Bioinformatics, Category:Computational chemistry}}
 {{get experts|{{PAGENAME}}|{{#ask: [[{{PAGENAME}}]]|?research area=|link=none}}}}