Difference between revisions of "Template:ShowProjectSummary"

From RevSpace
Jump to: navigation, search
 
(20 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
# Project Contact
 
# Project Contact
  
An example query using this template:
+
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:
 
<pre>
 
<pre>
TODO
+
{{#sub:{{:{{{1}}}}}|0|162}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>
  
=== [[{{lc:{{{1}}}}}|{{{2}}}]] ===
+
=== [[{{{1}}}|{{{2}}}]] ===
  
 
{{{3}}}<br />
 
{{{3}}}<br />
 
{{{4}}}, primary suspect {{{5}}}
 
{{{4}}}, primary suspect {{{5}}}

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}}}