Difference between revisions of "Template:List resources for software"

From SNIC Documentation
Jump to: navigation, search
(Created page with "<noinclude> This template will generate a list of installations of the software described on ''page'' (defaults to <nowiki>{{PAGENAME}}</nowiki>), or if no installations have bee...")
 
m (moved Template:List resources for software devel to Template:List resources for software: Now using installation information from resource pages instead.)
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
This template will generate a list of installations of the software described on ''page'' (defaults to <nowiki>{{PAGENAME}}</nowiki>), or if no installations have been reported, a short message will be displayed.
 
This template will generate a list of installations of the software described on ''page'' (defaults to <nowiki>{{PAGENAME}}</nowiki>), or if no installations have been reported, a short message will be displayed.
  
The format currently used is a semantic mediawiki sortable table with centre and description columns, but that may be subject to change in the future.
+
The format currently used is a semantic mediawiki sortable table with a centre column, but that may be subject to change in the future.
  
 
Examples:  
 
Examples:  
Line 9: Line 9:
 
  {{list resources for software|page=HMMER}}</nowiki>
 
  {{list resources for software|page=HMMER}}</nowiki>
  
</noinclude><includeonly>{{#if: {{#ask: [[software::{{{page|{{PAGENAME}}}}}]]}}|{{#ask: [[{{#replace: {{#ask: [[software::{{{page|{{PAGENAME}}}}}]]||link=none}}|, |{{pipe}}{{pipe}}}}]]|?=resource|?centre|?description|mainlabel=[[Property:Software|Software]]}}|No installations reported.}}</includeonly>
+
</noinclude><includeonly>{{#if: {{#ask: [[software::{{{page|{{PAGENAME}}}}}]]}}|{{#ask: [[{{#replace: {{#ask: [[software::{{{page|{{PAGENAME}}}}}]]|link=none}}|, |{{pipe}}{{pipe}}}}]]|?=[[Property:Resource|Resource]]|?centre|?description|mainlabel=[[Property:Resource|Resource]]}}|No installations reported.}}</includeonly>

Latest revision as of 13:41, 9 September 2011

This template will generate a list of installations of the software described on page (defaults to {{PAGENAME}}), or if no installations have been reported, a short message will be displayed.

The format currently used is a semantic mediawiki sortable table with a centre column, but that may be subject to change in the future.

Examples:

 {{list resources for software}}
 {{list resources for software|page=HMMER}}