Difference between revisions of "Template:ProjectProposalByResArea"

From AIRWiki
Jump to: navigation, search
Line 10: Line 10:
 
<pre><nowiki>
 
<pre><nowiki>
 
<includeonly>
 
<includeonly>
== {{{1}}} ==
+
===== {{{1}}} =====
 
{{#ask: [[Category:ProjectProposal]] [[PrjResArea::{{{1}}}]]
 
{{#ask: [[Category:ProjectProposal]] [[PrjResArea::{{{1}}}]]
 
| ?PrjTitle
 
| ?PrjTitle
Line 31: Line 31:
  
 
<includeonly>
 
<includeonly>
== {{{1}}} ==
+
===== {{{1}}} =====
 
{{#ask: [[Category:ProjectProposal]] [[PrjResArea::{{{1}}}]]
 
{{#ask: [[Category:ProjectProposal]] [[PrjResArea::{{{1}}}]]
 
| ?PrjTitle
 
| ?PrjTitle

Revision as of 19:50, 9 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:ProjectProposalViz. It can be used to dynamically generate list of ProjectProposal grouped by their Research Area, with the following query:

   {{#ask: [[Category:Research Area]]|format=template|template=ProjectProposalByResArea}}

Source Code:

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