Difference between revisions of "Template:Publication"

From its-wiki.no
Jump to: navigation, search
Line 3: Line 3:
  
 
Usage: this takes 5 parameters:  
 
Usage: this takes 5 parameters:  
* the project, e.g. pSHIELD
+
* (0) the name of the template, here: Deliverable
* Work Package, e.g. WP2
+
* (1) the project, e.g. pSHIELD
* the number of the deliverable, e.g. D2.1
+
* (2) Work Package, e.g. WP2
* the name, e.g. ''name of deliverable''
+
* (3) the number of the deliverable, e.g. D2.1
* delivery date, e.g. Q1.2011
+
* (4) the name, e.g. ''name of deliverable''
* Lead partner (who has responsibility), e.g. THYIA
+
* (5) delivery date, e.g. M9 (month)
for example <tt> <nowiki>{{Deliverable|pSHIELD|WP2|D2.1|name of deliverable|Q1.2011|Thyia}}</nowiki></tt>
+
* (6) open or restricted, e.g. open
 +
* (7) Lead partner (who has responsibility), e.g. THYIA
 +
for example <tt> <nowiki>{{Deliverable|pSHIELD|WP2|D2.1|name of deliverable|M9|open|Thyia}}</nowiki></tt>
  
Here's the actual template "code": </noinclude>
+
Underneath (in edit mode) is the actual template "code", which generates the whole web page:  
Deliverable [[Number::{{{3}}}]] of [[Project::{{{1}}}]] is related to WP [[WP::{{{2}}}]]
+
</noinclude>
 +
Deliverable [[Number::{{{3}}}]] of [[Project::{{{1}}}]] is related to [[WP::{{{2}}}]]
  
some more info -{{{3}}} '''{{{4}}}''',  due date ''{{{5}}}''  ({{{6}}})
+
'''Title: [[Title::{{{5}}}]]'''
 +
 
 +
The deliverable is [[Dissemination level::{{{7}}}]], due date is month [[Due date::{{{6}}}]].
 +
 
 +
some more info -{{{3}}} '''{{{4}}}''',  due date ''''  ({{{6}}})

Revision as of 12:51, 6 January 2011

This semantic template provides a simple way to simultaneously annotate a page with the property Deliverable|Number|Name|Delivery Date|Partner and display its value in a standardized scientific notation.

Usage: this takes 5 parameters:

  • (0) the name of the template, here: Deliverable
  • (1) the project, e.g. pSHIELD
  • (2) Work Package, e.g. WP2
  • (3) the number of the deliverable, e.g. D2.1
  • (4) the name, e.g. name of deliverable
  • (5) delivery date, e.g. M9 (month)
  • (6) open or restricted, e.g. open
  • (7) Lead partner (who has responsibility), e.g. THYIA

for example {{Deliverable|pSHIELD|WP2|D2.1|name of deliverable|M9|open|Thyia}}

Underneath (in edit mode) is the actual template "code", which generates the whole web page:

Deliverable {{{3}}} of {{{1}}} is related to {{{2}}}

Title: {{{5}}}

The deliverable is {{{7}}}, due date is month The date "{{{6}}}" was not understood..

some more info -{{{3}}} {{{4}}}, due date ' ({{{6}}})