Difference between revisions of "Template:Publication"

From its-wiki.no
Jump to: navigation, search
m
Line 1: Line 1:
<noinclude>[[Category:Sample pages]]
+
<noinclude>
This [[Help:Semantic templates|semantic template]] provides a simple way to simultaneously annotate a page with the property [[Property:Project|Deliverable|Number|Name|Delivery Date|Partner]] and display its value in a standardized scientific notation.
+
Dies ist die Template für „Deliverable“. Sie sollte im folgenden Format aufgerufen werden:
 +
<pre>
 +
{{Deliverable
 +
|BibTex-ID=
 +
|Title=
 +
|Year=
 +
|Month=
 +
|Address=
 +
|Institution=
 +
|Note=
 +
|Number=
 +
|Type=
 +
}}
 +
</pre>
 +
Deliverable hat folgende ausgehende Propertye:
 +
* [[Property:BibTex-ID|BibTex-ID]]
 +
* [[Property:Title|Title]]
 +
* [[Property:Year|Year]]
 +
* [[Property:Month|Month]]
 +
* [[Property:Address|Address]]
 +
* [[Property:Institution|Institution]]
 +
* [[Property:Note|Note]]
 +
* [[Property:Number|Number]]
 +
* [[Property:Type|Type]]
 +
</noinclude><includeonly>{{HideHeading1}}<div style="text-align:center;font-style:bold;font-size: 130%; ">[[Title::{{{Title|}}}]]</div>
 +
<br />
 +
<!-- Ausgabe der Authoren per Variable -->
 +
<div style="text-align:center">
 +
{{#vardefineecho:authtext|{{#ifeq: {{#var:Author1}}|||[[{{#var:Author1}}]]}}{{#ifeq: {{#var:Author2}}|||,&nbsp;[[{{#var:Author2}}]]}}{{#ifeq: {{#var:Author3}}|||,&nbsp;[[{{#var:Author3}}]]}}{{#ifeq: {{#var:Author4}}|||,&nbsp;[[{{#var:Author4}}]]}}{{#ifeq: {{#var:Author5}}|||,&nbsp;[[{{#var:Author5}}]]}}{{#ifeq: {{#var:Author6}}|||,&nbsp;[[{{#var:Author6}}]]}}{{#ifeq: {{#var:Author7}}|||,&nbsp;[[{{#var:Author7}}]]}}{{#ifeq: {{#var:Author8}}|||,&nbsp;[[{{#var:Author8}}]]}}{{#ifeq: {{#var:Author9}}|||,&nbsp;[[{{#var:Author9}}]]}}{{#ifeq: {{#var:Author10}}|||,&nbsp;[[{{#var:Author10}}]]}}{{#ifeq: {{#var:Author11}}|||,&nbsp;[[{{#var:Author11}}]]}}{{#ifeq: {{#var:Author12}}|||,&nbsp;[[{{#var:Author12}}]]}}{{#ifeq: {{#var:Author13}}|||,&nbsp;[[{{#var:Author13}}]]}}{{#ifeq: {{#var:Author14}}|||,&nbsp;[[{{#var:Author14}}]]}}{{#ifeq: {{#var:Author15}}|||,&nbsp;[[{{#var:Author15}}]]}}{{#ifeq: {{#var:Author16}}|||,&nbsp;[[{{#var:Author16}}]]}}{{#ifeq: {{#var:Author17}}|||,&nbsp;[[{{#var:Author17}}]]}}{{#ifeq: {{#var:Author18}}|||,&nbsp;[[{{#var:Author18}}]]}}{{#ifeq: {{#var:Author19}}|||,&nbsp;[[{{#var:Author19}}]]}}{{#ifeq: {{#var:Author20}}|||,&nbsp;[[{{#var:Author20}}]]}}{{#ifeq: {{#var:Author21}}|||,&nbsp;[[{{#var:Author21}}]]}}{{#ifeq: {{#var:Author22}}|||,&nbsp;[[{{#var:Author22}}]]}}{{#ifeq: {{#var:Author23}}|||,&nbsp;[[{{#var:Author23}}]]}}{{#ifeq: {{#var:Author24}}|||,&nbsp;[[{{#var:Author24}}]]}}{{#ifeq: {{#var:Author25}}|||,&nbsp;[[{{#var:Author25}}]]}}{{#ifeq: {{#var:Author26}}|||,&nbsp;[[{{#var:Author26}}]]}}{{#ifeq: {{#var:Author27}}|||,&nbsp;[[{{#var:Author27}}]]}}{{#ifeq: {{#var:Author28}}|||,&nbsp;[[{{#var:Author28}}]]}}{{#ifeq: {{#var:Author29}}|||,&nbsp;[[{{#var:Author29}}]]}}{{#ifeq: {{#var:Author30}}|||,&nbsp;[[{{#var:Author30}}]]}}{{#ifeq: {{#var:AuthorGT30}}|||,&nbsp;[[{{#var:AuthorGT30}}]]}}
 +
}}</div>
 +
<br /><br />
 +
{{#ifeq:{{{Year|}}}|||Published: [[Year::{{{Year}}}]]
 +
{{#ifeq: {{{Month|}}}||| [[Month::{{{Month}}}]] }}<br />}}
 +
{{#ifeq:{{{Type |}}}|||Type: [[Type::{{{Type}}}]]<br />}}{{#ifeq:{{{Number|}}}|||Nummer: [[Number::{{{Number}}}]]<br />}}{{#ifeq:{{{Institution|}}}||| Institution: [[Institution::{{{Institution}}}]]<br />}}{{#ifeq:{{{Address|}}}|||Erscheinungsplace / Ort: [[Address::{{{Address}}}]]<br />}}{{#ifeq:{{{BibTex-ID|}}}|||BibTex-ID: [[BibTex-ID::{{{BibTex-ID}}}]]<br />}}{{#ifeq:{{{Note|}}}|||Bemerkung: [[Note::{{{Note}}}]]<br />}}
  
Usage: this takes 5 parameters:
+
{{#ask: [[{{BASEPAGENAME}}]]
* (0) the name of the template, here: Deliverable
+
| format=kiteva
* (1) the project, e.g. pSHIELD
+
}}<!-- Variablen Def. für Übersichtsseite--><br /><br />
* (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 <tt> <nowiki>{{Deliverable|pSHIELD|WP2|D2.1|name of deliverable|M9|open|Thyia}}</nowiki></tt>
+
  
Underneath (in edit mode) is the actual template "code", which generates the whole web page:  
+
{{#vardefine:pubtext|{{#ifeq: {{#var:Author1}}|||{{#var:Author1}}}}{{#ifeq: {{#var:Author2}}|||,&nbsp;{{#var:Author2}}}}{{#ifeq: {{#var:Author3}}|||,&nbsp;{{#var:Author3}}}}{{#ifeq: {{#var:Author4}}|||,&nbsp;{{#var:Author4}}}}{{#ifeq: {{#var:Author5}}|||,&nbsp;{{#var:Author5}}}}{{#ifeq: {{#var:Author6}}|||,&nbsp;{{#var:Author6}}}}{{#ifeq: {{#var:Author7}}|||,&nbsp;{{#var:Author7}}}}{{#ifeq: {{#var:Author8}}|||,&nbsp;{{#var:Author8}}}}{{#ifeq: {{#var:Author9}}|||,&nbsp;{{#var:Author9}}}}{{#ifeq: {{#var:Author10}}|||,&nbsp;{{#var:Author10}}}}{{#ifeq: {{#var:Author11}}|||,&nbsp;{{#var:Author11}}}}{{#ifeq: {{#var:Author12}}|||,&nbsp;{{#var:Author12}}}}{{#ifeq: {{#var:Author13}}|||,&nbsp;{{#var:Author13}}}}{{#ifeq: {{#var:Author14}}|||,&nbsp;{{#var:Author14}}}}{{#ifeq: {{#var:Author15}}|||,&nbsp;{{#var:Author15}}}}{{#ifeq: {{#var:Author16}}|||,&nbsp;{{#var:Author16}}}}{{#ifeq: {{#var:Author17}}|||,&nbsp;{{#var:Author17}}}}{{#ifeq: {{#var:Author18}}|||,&nbsp;{{#var:Author18}}}}{{#ifeq: {{#var:Author19}}|||,&nbsp;{{#var:Author19}}}}{{#ifeq: {{#var:Author20}}|||,&nbsp;{{#var:Author20}}}}{{#ifeq: {{#var:Author21}}|||,&nbsp;{{#var:Author21}}}}{{#ifeq: {{#var:Author22}}|||,&nbsp;{{#var:Author22}}}}{{#ifeq: {{#var:Author23}}|||,&nbsp;{{#var:Author23}}}}{{#ifeq: {{#var:Author24}}|||,&nbsp;{{#var:Author24}}}}{{#ifeq: {{#var:Author25}}|||,&nbsp;{{#var:Author25}}}}{{#ifeq: {{#var:Author26}}|||,&nbsp;{{#var:Author26}}}}{{#ifeq: {{#var:Author27}}|||,&nbsp;{{#var:Author27}}}}{{#ifeq: {{#var:Author28}}|||,&nbsp;{{#var:Author28}}}}{{#ifeq: {{#var:Author29}}|||,&nbsp;{{#var:Author29}}}}{{#ifeq: {{#var:Author30}}|||,&nbsp;{{#var:Author30}}}}{{#ifeq: {{#var:AuthorGT30}}|||,&nbsp;{{#var:AuthorGT30}}}} <br /> '''[[{{BASEPAGENAMEE}}|{{{Title}}}]]'''<br />{{#ifeq:{{{Institution|}}}|||''{{{Institution}}}''}}{{#ifeq:{{{Address|}}}|||,&nbsp;{{{Address}}}}}{{#ifeq:{{{Number|}}}|||,&nbsp;({{{Number}}})}}{{#ifeq:{{{Note|}}}|||,&nbsp;''{{{Note}}}''}}{{#ifeq:{{{Type|}}}|||,&nbsp;''{{{Type}}}''}}{{#ifeq:{{{Year|}}}|||{{#ifeq:{{{Month|}}}|||,&nbsp;{{{Month}}}}},&nbsp;{{{Year}}}}}}}<!-- Variablen Def. für Übersichtsseite-->
</noinclude>
+
{{#vardefine:pubtext en|{{#ifeq: {{#var:Author1}}|||{{#var:Author1}}}}{{#ifeq: {{#var:Author2}}|||,&nbsp;{{#var:Author2}}}}{{#ifeq: {{#var:Author3}}|||,&nbsp;{{#var:Author3}}}}{{#ifeq: {{#var:Author4}}|||,&nbsp;{{#var:Author4}}}}{{#ifeq: {{#var:Author5}}|||,&nbsp;{{#var:Author5}}}}{{#ifeq: {{#var:Author6}}|||,&nbsp;{{#var:Author6}}}}{{#ifeq: {{#var:Author7}}|||,&nbsp;{{#var:Author7}}}}{{#ifeq: {{#var:Author8}}|||,&nbsp;{{#var:Author8}}}}{{#ifeq: {{#var:Author9}}|||,&nbsp;{{#var:Author9}}}}{{#ifeq: {{#var:Author10}}|||,&nbsp;{{#var:Author10}}}}{{#ifeq: {{#var:Author11}}|||,&nbsp;{{#var:Author11}}}}{{#ifeq: {{#var:Author12}}|||,&nbsp;{{#var:Author12}}}}{{#ifeq: {{#var:Author13}}|||,&nbsp;{{#var:Author13}}}}{{#ifeq: {{#var:Author14}}|||,&nbsp;{{#var:Author14}}}}{{#ifeq: {{#var:Author15}}|||,&nbsp;{{#var:Author15}}}}{{#ifeq: {{#var:Author16}}|||,&nbsp;{{#var:Author16}}}}{{#ifeq: {{#var:Author17}}|||,&nbsp;{{#var:Author17}}}}{{#ifeq: {{#var:Author18}}|||,&nbsp;{{#var:Author18}}}}{{#ifeq: {{#var:Author19}}|||,&nbsp;{{#var:Author19}}}}{{#ifeq: {{#var:Author20}}|||,&nbsp;{{#var:Author20}}}}{{#ifeq: {{#var:Author21}}|||,&nbsp;{{#var:Author21}}}}{{#ifeq: {{#var:Author22}}|||,&nbsp;{{#var:Author22}}}}{{#ifeq: {{#var:Author23}}|||,&nbsp;{{#var:Author23}}}}{{#ifeq: {{#var:Author24}}|||,&nbsp;{{#var:Author24}}}}{{#ifeq: {{#var:Author25}}|||,&nbsp;{{#var:Author25}}}}{{#ifeq: {{#var:Author26}}|||,&nbsp;{{#var:Author26}}}}{{#ifeq: {{#var:Author27}}|||,&nbsp;{{#var:Author27}}}}{{#ifeq: {{#var:Author28}}|||,&nbsp;{{#var:Author28}}}}{{#ifeq: {{#var:Author29}}|||,&nbsp;{{#var:Author29}}}}{{#ifeq: {{#var:Author30}}|||,&nbsp;{{#var:Author30}}}}{{#ifeq: {{#var:AuthorGT30}}|||,&nbsp;{{#var:AuthorGT30}}}} <br /> '''[[{{BASEPAGENAMEE}}/en|{{{Title}}}]]'''<br />{{#ifeq:{{{Institution|}}}|||''{{{Institution}}}''}}{{#ifeq:{{{Address|}}}|||,&nbsp;{{{Address}}}}}{{#ifeq:{{{Number|}}}|||,&nbsp;({{{Number}}})}}{{#ifeq:{{{Note|}}}|||,&nbsp;''{{{Note}}}''}}{{#ifeq:{{{Type|}}}|||,&nbsp;''{{{Type}}}''}}{{#ifeq:{{{Year|}}}|||{{#ifeq:{{{Month|}}}|||,&nbsp;{{{Month}}}}},&nbsp;{{{Year}}}}}}}<!--Bibtex Type für bibtex expplace setzen-->{{#set:bibtype=Deliverable}}{{#createpageifnotex:{{PAGENAME}}/en|<nowiki>#REDIRECT [[</nowiki>{{PAGENAME}}<nowiki>]]</nowiki>}}[[Category:Deliverable]]
Deliverable [[Number:: {{{1}}}:{{{3}}}]] of [[Project:: {{{1}}}]] is part of [[WP:: {{{1}}}:{{{2}}}]]
+
</includeonly>
 
+
'''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}}}]]
+

Revision as of 16:39, 13 January 2011

Dies ist die Template für „Deliverable“. Sie sollte im folgenden Format aufgerufen werden:

{{Deliverable
|BibTex-ID=
|Title=
|Year=
|Month=
|Address=
|Institution=
|Note=
|Number=
|Type=
}}

Deliverable hat folgende ausgehende Propertye: