Difference between revisions of "Template:ProjectProposalByResArea"
From AIRWiki
DavideTateo (Talk | contribs) |
DavideTateo (Talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
{{#ask: [[Category:Research Area]]|format=template|template=ProjectProposalByResArea}} | {{#ask: [[Category:Research Area]]|format=template|template=ProjectProposalByResArea}} | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | |||
+ | Pay attention to the missing newline after <nowiki><includeonly></nowiki> tag, is by design to avoid unnecessary newlines. | ||
</noinclude> | </noinclude> | ||
− | <includeonly> | + | <includeonly>{{#if: {{#ask: [[Category:ProjectProposal]] [[PrjResArea::{{{1}}}]][[PrjStatus::Active]]}} | ===== {{{1}}} ===== |
− | + | ||
− | {{#if: {{#ask: [[Category:ProjectProposal]] [[PrjResArea::{{{1}}}]][[PrjStatus::Active]]}} | | + | |
− | + | ||
− | ===== {{{1}}} ===== | + | |
{{#ask: [[Category:ProjectProposal]] [[PrjResArea::{{{1}}}]][[PrjStatus::Active]] | {{#ask: [[Category:ProjectProposal]] [[PrjResArea::{{{1}}}]][[PrjStatus::Active]] | ||
Line 17: | Line 15: | ||
| ?PrjImage | | ?PrjImage | ||
| ?PrjDescription | | ?PrjDescription | ||
− | | ?PrjTutor | + | | ?PrjTutor# |
| ?PrjStarts | | ?PrjStarts | ||
| ?PrjStudMin | | ?PrjStudMin | ||
Line 28: | Line 26: | ||
| template = ProjectProposalViz | | template = ProjectProposalViz | ||
}} | }} | ||
− | + | }}</includeonly> | |
− | }} | + | |
− | + | ||
− | + | ||
− | </includeonly> | + |
Latest revision as of 23:25, 6 January 2015
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}}
Pay attention to the missing newline after <includeonly> tag, is by design to avoid unnecessary newlines.