Difference between revisions of "Template:DocumentMetadata"

From
Jump to: navigation, search
m
Line 95: Line 95:
 
|EURO-ARGO
 
|EURO-ARGO
 
|-
 
|-
!Author{{#if:{{{author2|}}}|s}}
+
!Author{{#if:{{{author2|}}}|s}} || {{{author1}}} ({{{author-affiliation1}}})
|{{{author1}}} ({{{author-affiliation1}}})
+
{{#if:{{{author2|}}} |
{{#if:{{{author2|}}}|
 
 
{{!}}-
 
{{!}}-
{{!}}​{{!}}{{!}}{{{author2}}} ({{{author-affiliation2}}})
+
{{!}}​{{!}}{{!}}{{{author2}}} ({{{author-affiliation2}}}) | }}
}}  
+
{{#if:{{{author3|}}} |
{{#if:{{{author3|}}}|
 
 
{{!}}-
 
{{!}}-
{{!}} {{{author3}}} ({{{author-affiliation3}}})
+
{{!}}​{{!}}{{!}}{{{author3}}} ({{{author-affiliation3}}}) | }}
}}
+
{{#if:{{{author4|}}} |
{{#if:{{{author4|}}} | {{!}}{{{author4}}} ({{{author-affiliation4}}}) | }}
+
{{!}}-
{{#if:{{{author5|}}} | {{!}}{{{author5}}} ({{{author-affiliation5}}}) | }}
+
{{!}}​{{!}}{{!}}{{{author4}}} ({{{author-affiliation4}}}) | }}
{{#if:{{{author6|}}} | {{!}}{{{author6}}} ({{{author-affiliation6}}}) | }}
+
{{#if:{{{author5|}}} |
{{#if:{{{author7|}}} | {{!}}{{{author7}}} ({{{author-affiliation7}}}) | }}
+
{{!}}-
{{#if:{{{author8|}}} | {{!}}{{{author8}}} ({{{author-affiliation8}}}) | }}
+
{{!}}​{{!}}{{!}}{{{author5}}} ({{{author-affiliation5}}}) | }}
{{#if:{{{author9|}}} | {{!}}{{{author9}}} ({{{author-affiliation9}}}) | }}
+
{{#if:{{{author6|}}} |
{{#if:{{{author10|}}} | {{!}}{{{author10}}} ({{{author-affiliation10}}}) | }}
+
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{author6}}} ({{{author-affiliation6}}}) | }}
 +
{{#if:{{{author7|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{author7}}} ({{{author-affiliation7}}}) | }}
 +
{{#if:{{{author8|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{author8}}} ({{{author-affiliation8}}}) | }}
 +
{{#if:{{{author9|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{author9}}} ({{{author-affiliation9}}}) | }}
 +
{{#if:{{{author10|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{author10}}} ({{{author-affiliation10}}}) | }}
 
|-
 
|-
 
!Accepted by
 
!Accepted by
Line 131: Line 142:
 
|[[#ABSTRACT]]
 
|[[#ABSTRACT]]
 
|-
 
|-
!Project internal reviewer(s)
+
!Project internal reviewer{{#if:{{{reviewer2|}}}|s}} || {{{reviewer1}}} ({{{reviewer-affiliation1}}})
{{{reviewer1}}} ({{{reviewer-affiliation1}}})
+
{{#if:{{{reviewer2|}}} |
{{#if:{{{reviewer2|}}} | {{!}}{{{reviewer2}}} ({{{reviewer-affiliation2}}}) | }}
+
{{!}}-
{{#if:{{{reviewer3|}}} | {{!}}{{{reviewer3}}} ({{{reviewer-affiliation3}}}) | }}
+
{{!}}​{{!}}{{!}}{{{reviewer2}}} ({{{reviewer-affiliation2}}}) | }}
{{#if:{{{reviewer4|}}} | {{!}}{{{reviewer4}}} ({{{reviewer-affiliation4}}}) | }}
+
{{#if:{{{reviewer3|}}} |
{{#if:{{{reviewer5|}}} | {{!}}{{{reviewer5}}} ({{{reviewer-affiliation5}}}) | }}
+
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{reviewer3}}} ({{{reviewer-affiliation3}}}) | }}
 +
{{#if:{{{reviewer4|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{reviewer4}}} ({{{reviewer-affiliation4}}}) | }}
 +
{{#if:{{{reviewer5|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{reviewer5}}} ({{{reviewer-affiliation5}}}) | }}
 
!Document history
 
!Document history
 
|-
 
|-
Line 145: Line 163:
 
|{{{version1}}}
 
|{{{version1}}}
 
|-
 
|-
{{#if:{{{date2|}}} | {{!}}{{{date2}}} | }}
+
{{#if:{{{date2|}}} |
{{#if:{{{version2|}}} | {{!}}{{{version2}}} | }}
+
{{!}}-
{{#if:{{{date3|}}} | {{!}}{{{date3}}} | }}
+
{{!}}​{{!}}{{!}}{{{date2}}} | }}
{{#if:{{{version3|}}} | {{!}}{{{version3}}} | }}
+
{{#if:{{{version2|}}} |
{{#if:{{{date4|}}} | {{!}}{{{date4}}} | }}
+
{{!}}-
{{#if:{{{version4|}}} | {{!}}{{{version4}}} | }}
+
{{!}}​{{!}}{{!}}{{{version2}}} | }}
{{#if:{{{date5|}}} | {{!}}{{{date5}}} | }}
+
{{#if:{{{date3|}}} |
{{#if:{{{version5|}}} | {{!}}{{{version5}}} | }}
+
{{!}}-
{{#if:{{{date6|}}} | {{!}}{{{date6}}} | }}
+
{{!}}​{{!}}{{!}}{{{date3}}} | }}
{{#if:{{{version6|}}} | {{!}}{{{version6}}} | }}
+
{{#if:{{{version3|}}} |
{{#if:{{{date7|}}} | {{!}}{{{date7}}} | }}
+
{{!}}-
{{#if:{{{version7|}}} | {{!}}{{{version7}}} | }}
+
{{!}}​{{!}}{{!}}{{{version3}}} | }}
{{#if:{{{date8|}}} | {{!}}{{{date8}}} | }}
+
{{#if:{{{date4|}}} |
{{#if:{{{version8|}}} | {{!}}{{{version8}}} | }}
+
{{!}}-
{{#if:{{{date9|}}} | {{!}}{{{date9}}} | }}
+
{{!}}​{{!}}{{!}}{{{date4}}} | }}
{{#if:{{{version9|}}} | {{!}}{{{version9}}} | }}
+
{{#if:{{{version4|}}} |
{{#if:{{{date10|}}} | {{!}}{{{date10}}} | }}
+
{{!}}-
{{#if:{{{version10|}}} | {{!}}{{{version10}}} | }}
+
{{!}}​{{!}}{{!}}{{{version4}}} | }}
 +
{{#if:{{{date5|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{date5}}} | }}
 +
{{#if:{{{version5|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{version5}}} | }}
 +
{{#if:{{{date6|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{date6}}} | }}
 +
{{#if:{{{version6|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{version6}}} | }}
 +
{{#if:{{{date7|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{date7}}} | }}
 +
{{#if:{{{version7|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{version7}}} | }}
 +
{{#if:{{{date8|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{date8}}} | }}
 +
{{#if:{{{version8|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{version8}}} | }}
 +
{{#if:{{{date9|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{date9}}} | }}
 +
{{#if:{{{version9|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{version9}}} | }}
 +
{{#if:{{{date10|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{date10}}} | }}
 +
{{#if:{{{version10|}}} |
 +
{{!}}-
 +
{{!}}​{{!}}{{!}}{{{version10}}} | }}
 
|}
 
|}
  

Revision as of 07:55, 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: