Difference between revisions of "Template:Research area info"

From SNIC Documentation
Jump to: navigation, search
Line 13: Line 13:
  
 
</noinclude><includeonly><onlyinclude>{{#if: {{{description|}}}|{{#set: description={{{description}}}|<span style="font-weight: bold; color: red;">ERROR: No description.</span>}}}}
 
</noinclude><includeonly><onlyinclude>{{#if: {{{description|}}}|{{#set: description={{{description}}}|<span style="font-weight: bold; color: red;">ERROR: No description.</span>}}}}
{{set category|parent category|research area|quiet=true}}
+
{{set category|parent category|research area|quiet=true}}</onlyinclude></includeonly>
</onlyinclude></includeonly>
 

Revision as of 13:34, 7 July 2011

This template creates a standard info blurb for a research area, and registers the relevant categories and properties. Will protest loudly in bold red if mandatory information is missing. If you do not wish to provide a certain piece of required information: do not use this template. Or else you will corrupt the database with incorrect information.

Usage: {{research area info|description=}}</nowiki>

Example:

{{research area info
|description=the science of information handling in biology
}}