Difference between revisions of "Template:ProjectByResTopicOngoing"
m |
m (→{{{1}}}) |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
<includeonly> | <includeonly> | ||
==== [[{{{1}}}]] ==== | ==== [[{{{1}}}]] ==== | ||
− | {{#ask: [[Category:Project]] [[PrjResTopic::{{{1}}}]] [[PrjEnd::>{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}} | + | {{#ask: [[Category:Project]] [[PrjResTopic::{{{1}}}]] [[PrjEnd::>{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}}]] |
| ?PrjTitle | | ?PrjTitle | ||
| ?PrjImage | | ?PrjImage | ||
Line 45: | Line 45: | ||
<includeonly> | <includeonly> | ||
==== [[{{{1}}}]] ==== | ==== [[{{{1}}}]] ==== | ||
− | {{#ask: [[Category:Project]] [[PrjResTopic::{{{1}}}]] [[PrjEnd::>{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}}]] | + | {{#ask: [[Category:Project]] [[PrjResTopic::{{{1}}}]] [[PrjEnd::>{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}}]] [[PrjStatus::Active]] |
| ?PrjTitle | | ?PrjTitle | ||
| ?PrjImage | | ?PrjImage |
Latest revision as of 16:50, 3 October 2011
This is a specialized version of template Template:ProjectByResTopic. This template takes as first input a Research Topic and returns a paragraph having the name of the topic as its title, including all the Projects belonging to that Area and having an end date posterior to the current date, visualizing it with the Template:ProjectViz template. It can be used to dynamically generate list of Projects grouped by their Research Topic, with the following query:
{{#ask:[[Category:Research Topic]]|format=template|link=none|template=ProjectByResTopicOngoing}}
If you only want to show projects belonging to a single research area (e.g., because you want to list them in the AIRWiki page dedicated to that area) you can use the following query instead:
{{#ask:[[Category:Research Topic]][[BelongsToArea::NameOfTheChosenResearchArea]]|format=template|link=none|template=ProjectByResTopicOngoing}}
Of course, the last query will consider only research topics which include
[[belongsToArea::NameOfTheChosenResearchArea]]
in their wiki source code.
Source Code:
<includeonly> ==== [[{{{1}}}]] ==== {{#ask: [[Category:Project]] [[PrjResTopic::{{{1}}}]] [[PrjEnd::>{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}}]] | ?PrjTitle | ?PrjImage | ?PrjDescription | ?PrjCoordinator | ?PrjTutor | ?PrjCollaborator | ?PrjStudent | ?PrjStart | ?PrjEnd | ?PrjResArea | ?PrjResTopic | ?PrjLevel | ?PrjType | ?PrjStatus | format = template | template = ProjectVizSlim }} </includeonly>