Difference between revisions of "Template:ProjectByResTopic"

From AIRWiki
Jump to: navigation, search
Line 33: Line 33:
 
<includeonly>
 
<includeonly>
 
===== {{{1}}} =====
 
===== {{{1}}} =====
{{#ask: [[Category:Project]][[PrjResTopic::{{{1}}}]][[PrjResArea::Robotics]]
+
{{#ask: [[Category:Project]][[PrjResTopic::{{{1}}}]]
 
| ?PrjTitle
 
| ?PrjTitle
 
| ?PrjImage
 
| ?PrjImage

Revision as of 16:32, 12 February 2010

This template takes as first input a Research Area and returns a paragraph with title that Area and containing all the ProjectProposal belonging to that Area, visualizing it with the Template:ProjectViz. It can be used to dynamically generate list of ProjectProposal grouped by their Research Area, with the following query:

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

Source Code:

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