Difference between revisions of "Template:Publication"

From its-wiki.no
Jump to: navigation, search
m
m
Line 15: Line 15:
 
Underneath (in edit mode) is the actual template "code", which generates the whole web page:  
 
Underneath (in edit mode) is the actual template "code", which generates the whole web page:  
 
</noinclude>
 
</noinclude>
Deliverable [[Number:: :{{{3}}}]] of [[Project:: {{{1}}}]] is part of [[WP:: :{{{2}}}]]
+
Deliverable [[Number:: {{{1}}}:{{{3}}}]] of [[Project:: {{{1}}}]] is part of [[WP:: {{{1}}}:{{{2}}}]]
  
 
'''Title: [[Title:: {{{4}}}]]'''
 
'''Title: [[Title:: {{{4}}}]]'''
  
 
The deliverable is [[Dissemination level::{{{6}}}]], due date is month [[Due date::{{{5}}}]]. Lead partner of this deliverable is [[Lead partner::{{{7}}}]]
 
The deliverable is [[Dissemination level::{{{6}}}]], due date is month [[Due date::{{{5}}}]]. Lead partner of this deliverable is [[Lead partner::{{{7}}}]]

Revision as of 15:48, 7 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 {{{1}}}:{{{3}}} of {{{1}}} is part of {{{1}}}:{{{2}}}

Title: {{{4}}}

The deliverable is {{{6}}}, due date is month The date "{{{5}}}" was not understood.. Lead partner of this deliverable is {{{7}}}