Difference between revisions of "Template:ProjectByResTopic"

From AIRWiki
Jump to: navigation, search
m
Line 2: Line 2:
  
 
<noinclude>
 
<noinclude>
This template takes as first input a [[:Category:Research Area|Research Area]] and returns a paragraph with title that Area and containing all the [[:Category:ProjectProposal| ProjectProposal]] belonging to that Area, visualizing it with the [[Template:ProjectViz]].
+
This template takes as first input a [[:Category:Research Topic|Research Topic]] and returns a paragraph having with the name of the topic as its title, including all the [[:Category:Project| Projects]] belonging to that Area, visualizing it with the [[Template:ProjectVizSlim]].
It can be used to dynamically generate list of [[:Category:ProjectProposal|ProjectProposal]] grouped by their [[:Category:Research Area|Research Area]], with the following query:
+
It can be used to dynamically generate list of [[:Category:Project|Projects]] grouped by their [[:Category:Research Topic|Research Topic]], with the following query:
 
<pre><nowiki>
 
<pre><nowiki>
 
   {{#ask:[[Category:Research Topic]]|format=template|link=none|template=ProjectByResTopic}}
 
   {{#ask:[[Category:Research Topic]]|format=template|link=none|template=ProjectByResTopic}}

Revision as of 09:51, 15 February 2010

EXPERIMENTAL! DO NOT USE!


This template takes as first input a Research Topic and returns a paragraph having with the name of the topic as its title, including all the Projects belonging to that Area, visualizing it with the Template:ProjectVizSlim. It can be used to dynamically generate list of Projects grouped by their Research Topic, with the following query:

   {{#ask:[[Category:Research Topic]]|format=template|link=none|template=ProjectByResTopic}}

Source Code:

<includeonly>
===== {{{1}}} =====
{{#ask: [[Category:Project]][[PrjResTopic::{{{1}}}]][[PrjResArea::Robotics]]
| ?PrjTitle
| ?PrjImage
| ?PrjDescription
| ?PrjCoordinator
| ?PrjTutor
| ?PrjStarts
| ?PrjStudMin
| ?PrjStudMax
| ?PrjCFUMin
| ?PrjCFUMax
| ?PrjResArea
| ?PrjResTopic
| format = template
| template = ProjectVizSlim
}}
</includeonly>