Difference between revisions of "Template:ProjectByResTopic"

From AIRWiki
Jump to: navigation, search
m
Line 25: Line 25:
 
| ?PrjResTopic
 
| ?PrjResTopic
 
| format = template
 
| format = template
| template = ProjectViz
+
| template = ProjectVizSlim
 
}}
 
}}
 
</includeonly>
 
</includeonly>
Line 47: Line 47:
 
| ?PrjResTopic
 
| ?PrjResTopic
 
| format = template
 
| format = template
| template = ProjectViz
+
| template = ProjectVizSlim
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 16:21, 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>