Difference between revisions of "Template:ProjectProposalByResArea"
From AIRWiki
DavideTateo (Talk | contribs) |
DavideTateo (Talk | contribs) (Undo revision 17279 by DavideTateo (talk)) |
||
| Line 5: | Line 5: | ||
{{#ask: [[Category:Research Area]]|format=template|template=ProjectProposalByResArea}} | {{#ask: [[Category:Research Area]]|format=template|template=ProjectProposalByResArea}} | ||
</nowiki></pre> | </nowiki></pre> | ||
| + | |||
| + | Source Code: | ||
| + | |||
| + | <pre><nowiki> | ||
| + | <includeonly> | ||
| + | ===== {{{1}}} ===== | ||
| + | {{#ask: [[Category:ProjectProposal]] [[PrjResArea::{{{1}}}]][[PrjStatus::Active]] | ||
| + | | ?PrjTitle | ||
| + | | ?PrjImage | ||
| + | | ?PrjDescription | ||
| + | | ?PrjTutor | ||
| + | | ?PrjStarts | ||
| + | | ?PrjStudMin | ||
| + | | ?PrjStudMax | ||
| + | | ?PrjCFUMin | ||
| + | | ?PrjCFUMax | ||
| + | | ?PrjResArea | ||
| + | | ?PrjResTopic | ||
| + | | format = template | ||
| + | | template = ProjectProposalViz | ||
| + | }} | ||
| + | </includeonly> | ||
| + | </nowiki></pre> | ||
| + | </noinclude> | ||
<includeonly> | <includeonly> | ||
Revision as of 09:57, 18 December 2014
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}}}]][[PrjStatus::Active]]
| ?PrjTitle
| ?PrjImage
| ?PrjDescription
| ?PrjTutor
| ?PrjStarts
| ?PrjStudMin
| ?PrjStudMax
| ?PrjCFUMin
| ?PrjCFUMax
| ?PrjResArea
| ?PrjResTopic
| format = template
| template = ProjectProposalViz
}}
</includeonly>