Difference between revisions of "Template:ProjectByResTopic"

From AIRWiki
Jump to: navigation, search
Line 1: Line 1:
 +
'''EXPERIMENTAL! DO NOT USE!'''
 +
 
<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 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]].
Line 11: Line 13:
 
<includeonly>
 
<includeonly>
 
===== {{{1}}} =====
 
===== {{{1}}} =====
{{#ask: [[Category:Project]][[PrjResTopic::{{{1}}}]][[PrjResArea::{{PAGENAME}}]]
+
{{#ask: [[Category:Project]][[PrjResTopic::{{{1}}}]][[PrjResArea::Robotics]]
 
| ?PrjTitle
 
| ?PrjTitle
 
| ?PrjImage
 
| ?PrjImage
Line 33: Line 35:
 
<includeonly>
 
<includeonly>
 
===== {{{1}}} =====
 
===== {{{1}}} =====
{{#ask: [[Category:Project]][[PrjResTopic::{{{1}}}]]
+
{{#ask: [[Category:Project]][[PrjResTopic::{{{1}}}]][[PrjResArea::Robotics]]
 
| ?PrjTitle
 
| ?PrjTitle
 
| ?PrjImage
 
| ?PrjImage

Revision as of 15:34, 12 February 2010

EXPERIMENTAL! DO NOT USE!


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::Robotics]]
| ?PrjTitle
| ?PrjImage
| ?PrjDescription
| ?PrjCoordinator
| ?PrjTutor
| ?PrjStarts
| ?PrjStudMin
| ?PrjStudMax
| ?PrjCFUMin
| ?PrjCFUMax
| ?PrjResArea
| ?PrjResTopic
| format = template
| template = ProjectVizSlim
}}
</includeonly>