Vorlage:DisplayProjekt: Unterschied zwischen den Versionen
Aus International Center for Computational Logic
Markus Krötzsch (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude> Template for displaying projects. Usage: <pre> {{DisplayProjekt: ... }} </pre> Example: ... </noinclude><includeonly>{{HideHeading1}}<table clas…“) |
Lukas Gerlach (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(53 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<noinclude> | <noinclude> | ||
Template for displaying projects. Usage: | Template for displaying projects. This template is used by [[Template:Projekt]] and [[Template:Projekt/en]]. | ||
Use [[Formular:Projekt]] to create new projects. | |||
Usage: | |||
<pre> | <pre> | ||
{{DisplayProjekt: | {{DisplayProjekt: | ||
. | | L=/en (English) or empty (German) | ||
| Page=name of the page where the data is stored | |||
| Kurzname=short name | |||
| Name=long name | |||
| Beschreibung=description | |||
| Kontaktperson=contact person (can be a list) | |||
| Project Authors=list of authors of the project proposal | |||
| URL=project homepage | |||
| Start=start date | |||
| Ende=end date (if known) | |||
| Finanziert von=funding organisation (can be a list) | |||
| Projektstatus=status (active etc.) | |||
| Logo=Name of logo image file | |||
| Vorgängerprojekt=predecessor project if any (can be a list) | |||
| Person=list of people involved | |||
| Forschungsgruppe=research groups involved | |||
| Video=name of an uploaded video file | |||
| Unterprojekt=list of subprojects | |||
}} | }} | ||
</pre> | </pre> | ||
Example: | '''Attention:''' Partner organisations must be created as partner to appear listed on the page (since the display includes the URL and logo). | ||
Example: [[DIAMOND]] | |||
{{todo|Display Forschungsgebiet}} | |||
</noinclude><includeonly>{{ | </noinclude><includeonly>__NOTOC__{{#description2:{{{Name}}}: {{{Beschreibung}}}}}{{Page about Forschungsprojekte | ||
< | |contents=<!-- | ||
{{#ifeq:{{{Logo|}}} | --><div style="margin-bottom: 5ex; "><!-- | ||
| | -->{{Main heading|{{{Kurzname}}}}} | ||
| | <h5>{{{Name|}}}</h5> | ||
{{ | </div><!-- | ||
--><div class="row"> | |||
<!-- Start left column (picture and links) --> | |||
<div class="col-sm-4 col-md-3"> | |||
<div style="max-width: 200px; "><!-- to avoid sticking image to the far right in single-column mode --> | |||
<div style="margin-left: auto; margin-right: auto; width: 150px;">{{#ifeq:{{{Logo|}}}|||[[{{#setmainimage:Bild:{{{Logo}}}}}{{!}}150px{{!}}link={{!}}frameless{{!}}{{{Kurzname}}} Logo]]}} | |||
<br /> | |||
'''{{MediaWiki:Portal_label_Forschungsgruppe{{{L|}}}}}''' | |||
<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | |||
{{#arraymap:{{{Forschungsgruppe|}}}|, |@@@|<li>{{Translate Name|@@@|#userparam={{{L|}}}}}</li>|}} | |||
</ul> | |||
'''{{MediaWiki:Portal_label_Personen{{{L|}}}}}''' | |||
<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | |||
{{#arraymap:{{{Person|}}}|, |@@@|<li>[[@@@]]</li>|}} | |||
</ul> | |||
{{#ask: [[Unterprojekt::{{{Page}}}]] | |||
| intro='''{{MediaWiki:Portal_label_Superproject{{{L|}}}}}'''<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "><li> | |||
| sep=</li><li> | |||
| outro=</li></ul> | |||
}} | }} | ||
{{#ifeq:{{{Unterprojekt|}}}|||'''{{MediaWiki:Portal_label_Subprojects{{{L|}}}}}''' | |||
{{# | <ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | ||
{{#arraymap:{{{Unterprojekt|}}}|, |@@@|<li>[[@@@]]</li>|}} | |||
</ul>}} | |||
}} | </div> | ||
}} | </div> | ||
</ | </div><!-- | ||
< | |||
</ | *** Start right column *** | ||
--><div class="col-sm-8 col-md-9"><!-- | |||
< | |||
< | -->{{#maketabs:<!-- | ||
{{#ifeq:{{{Kontaktperson|}}}|| | |||
*** Tab for contact and info *** | |||
{{#ifeq:{{{ | |||
{{ | -->{{MediaWiki:Portal_label_Information{{{L|}}}}} = | ||
}}{{# | <ul class="plain-list"><!-- | ||
{{#ifeq: {{ | |||
< | -->{{#ifeq: {{{Kontaktperson|}}}|||<li><span class="fas fa-user"></span> {{MediaWiki:Portal_label_Kontaktperson{{{L|}}}}} {{#arraymap:{{{Kontaktperson|}}}|, |@@@|[[@@@]]|, }}</li>}}<!-- | ||
< | |||
</ | -->{{#ifeq: {{{Project Authors|}}}|||<li><span class="fas fa-user"></span> {{MediaWiki:Portal_label_Project_Authors{{{L|}}}}} {{#arraymap:{{{Project Authors|}}}|, |@@@|[[@@@]]|, }}</li>}}<!-- | ||
{{#ifeq:{{{ | |||
-->{{#ifeq: {{{URL|}}}|||<li><span class="fas fa-home"></span> {{{URL}}}</li>}}<!-- | |||
--><li><span class="fas fa-clock"></span> {{#ifeq:{{{Ende|}}}| | |||
|{{MediaWiki:Portal_label_seit{{{L|}}}}} {{#time: Y | {{{Start}}} }} | |||
|{{#time: Y | {{{Start}}} }} – {{#time: Y | {{{Ende}}} }} | |||
}}</li><!-- | |||
-->{{#ifeq: {{{Finanziert von|}}}|||<li><span class="fas fa-euro-sign"></span> {{MediaWiki:Portal_label_Finanzierung{{{L|}}}}} {{{Finanziert von}}}</li>}}<!-- | |||
-->{{#ifeq:{{{Vorgängerprojekt|}}}|||<li><span class="fas fa-certificate">{{MediaWiki:Portal_label_Nachfolgeprojekt_von}} | |||
{{#arraymap:{{{Vorgängerprojekt}}}|,|@@@|[[@@@]]|, }}</li>}} | |||
</ul> | |||
<div style="margin-top: 4ex; "> | |||
{{{Beschreibung|}}} | |||
</div><!-- | |||
{{#arraymap:{{{ | |||
</ | |||
< | |||
</ | |||
*** Tab for Publications*** | |||
:{{Publikationen | -->|{{MediaWiki:Portal_label_Publikationen{{{L|}}} }}={{Publikationen | ||
|Projekt={{ | |Projekt={{{Page}}} | ||
|EntryType=article | |EntryType=article | ||
|sort=Year | |sort=Year | ||
|order=descending | |order=descending | ||
|Sprache={{{L||}}} | |||
}}{{Publikationen | }}{{Publikationen | ||
|Projekt={{ | |Projekt={{{Page}}} | ||
|EntryType=inproceedings | |EntryType=inproceedings | ||
|sort=Year | |sort=Year | ||
|order=descending | |order=descending | ||
|Sprache={{{L|}}} | |||
}}{{Publikationen | }}{{Publikationen | ||
|Projekt={{ | |Projekt={{{Page}}} | ||
|EntryType=book | |EntryType=book | ||
|sort=Year | |sort=Year | ||
|order=descending | |order=descending | ||
|Sprache={{{L|}}} | |||
}}{{Publikationen | }}{{Publikationen | ||
|Projekt={{ | |Projekt={{{Page}}} | ||
|EntryType=incollection | |EntryType=incollection | ||
|sort=Year | |sort=Year | ||
|order=descending | |order=descending | ||
|Sprache={{{L|}}} | |||
}}{{Publikationen | }}{{Publikationen | ||
|Projekt={{ | |Projekt={{{Page}}} | ||
|EntryType=proceedings | |EntryType=proceedings | ||
|sort=Year | |sort=Year | ||
|order=descending | |order=descending | ||
|Sprache={{{L|}}} | |||
}}{{Publikationen | }}{{Publikationen | ||
|Projekt={{ | |Projekt={{{Page}}} | ||
|EntryType=phdthesis | |EntryType=phdthesis | ||
|sort=Year | |sort=Year | ||
|order=descending | |order=descending | ||
|Sprache={{{L|}}} | |||
}}{{Publikationen | }}{{Publikationen | ||
|Projekt={{ | |Projekt={{{Page}}} | ||
|EntryType=techreport | |EntryType=techreport | ||
|sort=Year | |sort=Year | ||
|order=descending | |order=descending | ||
|Sprache={{{L|}}} | |||
}}{{Publikationen | }}{{Publikationen | ||
|Projekt={{ | |Projekt={{{Page}}} | ||
|EntryType=deliverable | |EntryType=deliverable | ||
|sort=Year | |sort=Year | ||
|order=descending | |order=descending | ||
|Sprache={{{L|}}} | |||
}}{{Publikationen | }}{{Publikationen | ||
|Projekt={{ | |Projekt={{{Page}}} | ||
|EntryType=misc | |EntryType=misc | ||
|sort=Year | |sort=Year | ||
|order=descending | |order=descending | ||
}}{{ | |Sprache={{{L|}}} | ||
| | }}<!-- | ||
| | |||
| | *** Tab for Partners*** | ||
| | |||
}}</ | -->|{{MediaWiki:Portal_label_Partners{{{L|}}} }}={{#ask: [[Category:Partner]] [[-Partner::{{{Page}}}]] | ||
|?Logo | |||
|?URL | |||
|?Ort | |||
|link=none | |||
|template=Projektliste | |||
|userparam={{{L|}}} | |||
|format=plainlist | |||
|default=HIDETHISTAB | |||
}} | |||
}}<!-- #maketabs --> | |||
</div> | |||
</div> | |||
}}<!-- Page about Forschungsprojekte --></includeonly> | |||
<!-- | |||
{{Rubrik|Informationen}} | |||
<p style="margin-left: 2em;"> | |||
</p> | |||
{{#ifeq:{{{Partner|}}}|||<br />{{Rubrik|Partner}}}} | |||
<p style="margin-left: 2em;">{{#arraymap:{{{Partner |}}}|,|@@@|[[@@@]]|, }}</p> | |||
{{#ifeq:{{{Forschungsgruppe|}}}|||<br />{{Rubrik|Forschungsgruppe}}}} | |||
<p style="margin-left: 2em;"> | |||
{{#arraymap:{{{Forschungsgruppe|}}}|, |@@@|[[@@@]]|, }} | |||
</p> | |||
{{#ifeq:{{{Forschungsgebiet}}}|||<br />{{Rubrik|Forschungsgebiet}}}} | |||
<p style="margin-left: 2em;"> | |||
{{#arraymap:{{{Forschungsgebiet|}}}|,|@@@|[[@@@]]|, }} | |||
{{#ask:[[{{{Page}}}]]|?Forschungsgebiet=|format=plainlist}} | |||
</p> | |||
--> |
Aktuelle Version vom 16. September 2024, 16:55 Uhr
Template for displaying projects. This template is used by Template:Projekt and Template:Projekt/en. Use Formular:Projekt to create new projects.
Usage:
{{DisplayProjekt: | L=/en (English) or empty (German) | Page=name of the page where the data is stored | Kurzname=short name | Name=long name | Beschreibung=description | Kontaktperson=contact person (can be a list) | Project Authors=list of authors of the project proposal | URL=project homepage | Start=start date | Ende=end date (if known) | Finanziert von=funding organisation (can be a list) | Projektstatus=status (active etc.) | Logo=Name of logo image file | Vorgängerprojekt=predecessor project if any (can be a list) | Person=list of people involved | Forschungsgruppe=research groups involved | Video=name of an uploaded video file | Unterprojekt=list of subprojects }}
Attention: Partner organisations must be created as partner to appear listed on the page (since the display includes the URL and logo).
Example: DIAMOND
There is still work to do on this page
- Display Forschungsgebiet.
See also the list of all pages with todos. This note is only visible to logged in users.