Difference between revisions of "Template:ShowProjectSummary"

From RevSpace
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
This template's main use is to show the results of inline semantic mediawiki queries for Current, Initializing, Stalled and Completed projects as well as the project proposals on the [[Projects]] page. It substitutes a couple of parameters, matching to the columns of the query result:
 
This template's main use is to show the results of inline semantic mediawiki queries for Current, Initializing, Stalled and Completed projects as well as the project proposals on the [[Projects]] page. It substitutes a couple of parameters, matching to the columns of the query result:
 
# Result Title
 
# Result Title
# Project Name (not used)
+
# Project Name
 
# The last modification date (of the page describing the project)
 
# The last modification date (of the page describing the project)
 
# Project Status
 
# Project Status
Line 10: Line 10:
  
 
TODO: find a way to include only the first part of a page, that is include the same functionality as the Foswiki token '''$summary''' in the '''format''' parameter for '''%SEARCH{...}'''.
 
TODO: find a way to include only the first part of a page, that is include the same functionality as the Foswiki token '''$summary''' in the '''format''' parameter for '''%SEARCH{...}'''.
 +
 +
Tried and failed:
 +
<pre>
 +
{{#sub:{{:{{{1}}}}}|0|162}}
 +
</pre>
 
</noinclude>
 
</noinclude>
  

Latest revision as of 21:44, 1 November 2011

This template's main use is to show the results of inline semantic mediawiki queries for Current, Initializing, Stalled and Completed projects as well as the project proposals on the Projects page. It substitutes a couple of parameters, matching to the columns of the query result:

  1. Result Title
  2. Project Name
  3. The last modification date (of the page describing the project)
  4. Project Status
  5. Project Contact

An example query using this template: TestProjectSummary

TODO: find a way to include only the first part of a page, that is include the same functionality as the Foswiki token $summary in the format parameter for %SEARCH{...}.

Tried and failed:

{{#sub:{{:{{{1}}}}}|0|162}}


[[{{{1}}}|{{{2}}}]]

{{{3}}}
{{{4}}}, primary suspect {{{5}}}