Difference between revisions of "Template:DocumentMetadata"

From
Jump to: navigation, search
(Fixed syntax error in conditionals.)
m
Line 10: Line 10:
 
| title =  
 
| title =  
 
| work-package =  
 
| work-package =  
 +
| type = (Should match a category.)
 
| leading-beneficiary =  
 
| leading-beneficiary =  
  
Line 45: Line 46:
  
 
| accepted-by = (Format: Full Name - Affiliation - Role)
 
| accepted-by = (Format: Full Name - Affiliation - Role)
| deliverable-type = (Should match a category. Plain text; no special characters.)
+
| type = (Should match a category. Plain text; no special characters.)
| dissemination-type = (By default PUBLIC)
+
| dissemination-level = (By default PUBLIC)
 
| deliverable-due-date = (ISO 8601 format, ie. YYYY-MM-DD)
 
| deliverable-due-date = (ISO 8601 format, ie. YYYY-MM-DD)
 
| actually-delivered-on = (ISO 8601)
 
| actually-delivered-on = (ISO 8601)
Line 96: Line 97:
 
!Author(s)
 
!Author(s)
 
|-
 
|-
|{{{author1}}} ({{{author-association1}}})
+
|{{{author1}}} ({{{author-affiliation1}}})
{{#if:{{{author2|}}} | {{!}}{{{author2}}} ({{{author-association2}}}) | }}  
+
{{#if:{{{author2|}}} | {{!}}{{!}}{{{author2}}} ({{{author-affiliation2}}}) | }}  
{{#if:{{{author3|}}} | {{!}}{{{author3}}} ({{{author-association3}}}) | }}
+
{{#if:{{{author3|}}} | {{!}}{{{author3}}} ({{{author-affiliation3}}}) | }}
{{#if:{{{author4|}}} | {{!}}{{{author4}}} ({{{author-association4}}}) | }}
+
{{#if:{{{author4|}}} | {{!}}{{{author4}}} ({{{author-affiliation4}}}) | }}
{{#if:{{{author5|}}} | {{!}}{{{author5}}} ({{{author-association5}}}) | }}
+
{{#if:{{{author5|}}} | {{!}}{{{author5}}} ({{{author-affiliation5}}}) | }}
{{#if:{{{author6|}}} | {{!}}{{{author6}}} ({{{author-association6}}}) | }}
+
{{#if:{{{author6|}}} | {{!}}{{{author6}}} ({{{author-affiliation6}}}) | }}
{{#if:{{{author7|}}} | {{!}}{{{author7}}} ({{{author-association7}}}) | }}
+
{{#if:{{{author7|}}} | {{!}}{{{author7}}} ({{{author-affiliation7}}}) | }}
{{#if:{{{author8|}}} | {{!}}{{{author8}}} ({{{author-association8}}}) | }}
+
{{#if:{{{author8|}}} | {{!}}{{{author8}}} ({{{author-affiliation8}}}) | }}
{{#if:{{{author9|}}} | {{!}}{{{author9}}} ({{{author-association9}}}) | }}
+
{{#if:{{{author9|}}} | {{!}}{{{author9}}} ({{{author-affiliation9}}}) | }}
{{#if:{{{author10|}}} | {{!}}{{{author10}}} ({{{author-association10}}}) | }}
+
{{#if:{{{author10|}}} | {{!}}{{{author10}}} ({{{author-affiliation10}}}) | }}
 
|-
 
|-
 
!Accepted by
 
!Accepted by
Line 126: Line 127:
 
|-
 
|-
 
!Project internal reviewer(s)
 
!Project internal reviewer(s)
{{{reviewer1}}} ({{{reviewer-association1}}})
+
{{{reviewer1}}} ({{{reviewer-affiliation1}}})
{{#if:{{{reviewer2|}}} | {{!}}{{{reviewer2}}} ({{{reviewer-association2}}}) | }}
+
{{#if:{{{reviewer2|}}} | {{!}}{{{reviewer2}}} ({{{reviewer-affiliation2}}}) | }}
{{#if:{{{reviewer3|}}} | {{!}}{{{reviewer3}}} ({{{reviewer-association3}}}) | }}
+
{{#if:{{{reviewer3|}}} | {{!}}{{{reviewer3}}} ({{{reviewer-affiliation3}}}) | }}
{{#if:{{{reviewer4|}}} | {{!}}{{{reviewer4}}} ({{{reviewer-association4}}}) | }}
+
{{#if:{{{reviewer4|}}} | {{!}}{{{reviewer4}}} ({{{reviewer-affiliation4}}}) | }}
{{#if:{{{reviewer5|}}} | {{!}}{{{reviewer5}}} ({{{reviewer-association5}}}) | }}
+
{{#if:{{{reviewer5|}}} | {{!}}{{{reviewer5}}} ({{{reviewer-affiliation5}}}) | }}
 
!Document history
 
!Document history
 
|-
 
|-

Revision as of 06:04, 25 August 2020

An expandable navFrame for document metadata.

Parameters:

{{DocumentMetadata
| project = (Should match a category.)
| deliverable-nr = 
| title = 
| work-package = 
| type = (Should match a category.)
| leading-beneficiary = 

| author1 = 
| author-affiliation1 = 
| author2 = 
| author-affiliation2 = 
| author3 = 
| author-affiliation3 = 
| author4 = 
| author-affiliation4 = 
| author5 = 
| author-affiliation5 = 
| author6 = 
| author-affiliation6 = 
| author7 = 
| author-affiliation7 = 
| author8 = 
| author-affiliation8 = 
| author9 = 
| author-affiliation9 = 
| author10 = 
| author-affiliation10 = 

| reviewer1 = 
| reviewer-affiliation1 = 
| reviewer2 = 
| reviewer-affiliation2 = 
| reviewer3 = 
| reviewer-affiliation3 = 
| reviewer4 = 
| reviewer-affiliation4 = 
| reviewer5 = 
| reviewer-affiliation5 = 

| accepted-by = (Format: Full Name - Affiliation - Role)
| type = (Should match a category. Plain text; no special characters.)
| dissemination-level = (By default PUBLIC)
| deliverable-due-date = (ISO 8601 format, ie. YYYY-MM-DD)
| actually-delivered-on = (ISO 8601)

<!--Document history:-->
| date1 = 
| version1 = 
| date2 = 
| version2 = 
| date3 = 
| version3 = 
| date4 = 
| version4 = 
| date5 = 
| version5 = 
| date6 = 
| version6 = 
| date7 = 
| version7 = 
| date8 = 
| version8 = 
| date9 = 
| version9 = 
| date10 = 
| version10 = 
}}

Styling is set under the navX (navFrame, navHead etc.) class in MediaWiki:Common.css.

Output: