Difference between revisions of "Template:ProjectByResTopic"

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

Revision as of 15:28, 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]] [[PrjResArea::{{PAGENAME}}]] [[PrjResTopic::{{{1}}}]]
| ?PrjTitle
| ?PrjImage
| ?PrjDescription
| ?PrjCoordinator
| ?PrjTutor
| ?PrjStarts
| ?PrjStudMin
| ?PrjStudMax
| ?PrjCFUMin
| ?PrjCFUMax
| ?PrjResArea
| ?PrjResTopic
| format = template
| template = ProjectVizSlim
}}
</includeonly>