Vorlage:DisplayProjekt: Unterschied zwischen den Versionen

Aus International Center for Computational Logic
Wechseln zu:Navigation, Suche
(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>{{HideHeading1}}<table class="ptabelle" cellpadding="0" cellspacing="0">
</noinclude><includeonly>__NOTOC__{{#description2:{{{Name}}}: {{{Beschreibung}}}}}{{Page about Forschungsprojekte
<tr>
|contents=<!--
<td rowspan="2" class="foto">


{{#ifeq:{{{Logo|}}}
--><div style="margin-bottom: 5ex; "><!--
|
-->{{Main heading|{{{Kurzname}}}}}
|
<h5>{{{Name|}}}</h5>
{{#tag:imagemap | Bild:Transparent.png{{!}}178px
</div><!--
default [[ {{PAGENAME}} ]]
 
desc none
--><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|}}}}}'''
{{#tag:imagemap | Bild:{{{Logo}}}{{!}}178px
<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; ">
default [[ {{PAGENAME}} ]]
{{#arraymap:{{{Unterprojekt|}}}|, |@@@|<li>[[@@@]]</li>|}}
desc none
</ul>}}
}}
</div>
}}
</div>
</td>
</div><!--
<td  colspan="1" class="name">
 
</td>
*** Start right column ***
</tr>
 
<tr>
--><div class="col-sm-8 col-md-9"><!--
<td class="row-left">
 
<span class="ein-em">
-->{{#maketabs:<!--
{{#ifeq:{{{Kontaktperson|}}}||'''Kontaktperson: ''' ''k.A.''|<br>'''Kontaktperson:''' {{#arraymap:{{{Kontaktperson|}}}|, |@@@|[[@@@]]|,&nbsp;}}}}<br><br>
 
{{#ifeq:{{{URL|}}}|||{{{URL}}} }}<br><br>
*** Tab for contact and info ***
{{#ifeq:{{{Video|}}}|||[{{{Video}}} Video]}}<br><br></span>
 
{{#ifeq:{{{Projektstatus|}}}||'''Projektstatus: ''' ''k.A.''|'''Projektstatus:''' {{{Projektstatus|}}}
-->{{MediaWiki:Portal_label_Information{{{L|}}}}} =
}}{{#ifeq:{{{Unterprojekt|}}}|||<br>'''Unterprojekte:''' {{#arraymap: {{{Unterprojekt}}}|,|@@@|[[@@@]]|,&#160;}}}}
<ul class="plain-list"><!--
{{#ifeq: {{#ask: [[Kategorie:Projekt]] [[Unterprojekt::{{PAGENAME}}]] | format=count}}|0||<br>'''Projekt:''' {{#ask: [[Kategorie:Projekt]] [[Unterprojekt::{{PAGENAME}}]] | format=list | mainlabel=}}}}
 
</td>
-->{{#ifeq: {{{Kontaktperson|}}}|||<li><span class="fas fa-user"></span>&nbsp;&nbsp;{{MediaWiki:Portal_label_Kontaktperson{{{L|}}}}} {{#arraymap:{{{Kontaktperson|}}}|, |@@@|[[@@@]]|,&nbsp;}}</li>}}<!--
</tr>
 
</table>
-->{{#ifeq: {{{Project Authors|}}}|||<li><span class="fas fa-user"></span>&nbsp;&nbsp;{{MediaWiki:Portal_label_Project_Authors{{{L|}}}}} {{#arraymap:{{{Project Authors|}}}|, |@@@|[[@@@]]|,&nbsp;}}</li>}}<!--
{{#ifeq:{{{Beschreibung DE|}}}|||<br>{{Rubrik|Beschreibung}}{{#set:Beschreibung DE={{{Beschreibung DE}}}}}
 
<p style="margin-left: 2em;">{{{Beschreibung DE}}}</p>}}
-->{{#ifeq: {{{URL|}}}|||<li><span class="fas fa-home"></span>&nbsp;&nbsp;{{{URL}}}</li>}}<!--
 
--><li><span class="fas fa-clock"></span>&nbsp;&nbsp;{{#ifeq:{{{Ende|}}}|
|{{MediaWiki:Portal_label_seit{{{L|}}}}} {{#time: Y | {{{Start}}} }}
|{{#time: Y | {{{Start}}} }} &ndash; {{#time: Y | {{{Ende}}} }}
}}</li><!--


{{Rubrik|Involvierte Personen}}
-->{{#ifeq: {{{Finanziert von|}}}|||<li><span class="fas fa-euro-sign"></span>&nbsp;&nbsp;{{MediaWiki:Portal_label_Finanzierung{{{L|}}}}} {{{Finanziert von}}}</li>}}<!--
:{{#arraymap:{{{Person|}}}|, |@@@|[[@@@]]|,&nbsp;}}


{{Rubrik|Informationen}}
-->{{#ifeq:{{{Vorgängerprojekt|}}}|||<li><span class="fas fa-certificate">{{MediaWiki:Portal_label_Nachfolgeprojekt_von}}
<p style="margin-left: 2em;">
{{#arraymap:{{{Vorgängerprojekt}}}|,|@@@|[[@@@]]|,&nbsp;}}</li>}}
{{#ifeq:{{{Start|}}}|||''von: ''{{date|{{{Start}}}|dmy}}<br>}}
</ul>
{{#ifeq:{{{Ende|}}}||''bis: k.A.''<br>|''bis: '' {{date|{{{Ende}}}|dmy}}<br>}}
<div style="margin-top: 4ex; ">
{{#ifeq:{{{Finanziert von|}}}|||''Finanzierung: ''{{{Finanziert von}}}<br>}}{{#ifeq:{{{Vorgängerprojekt|}}}|||''Vorgängerprojekt(e): ''}}{{#arraymap:{{{Vorgängerprojekt |}}}|,|@@@|[[@@@]]|,&nbsp;}}</p>
{{{Beschreibung|}}}
{{#ifeq:{{{Partner|}}}|||<br />{{Rubrik|Partner}}}}
</div><!--
<p style="margin-left: 2em;">{{#arraymap:{{{Partner |}}}|,|@@@|[[@@@]]|,&nbsp;}}</p>
{{#ifeq:{{{Forschungsgruppe|}}}|||<br />{{Rubrik|Forschungsgruppe}}}}
<p style="margin-left: 2em;">
{{#arraymap:{{{Forschungsgruppe|}}}|, |@@@|[[@@@]]|,&nbsp;}}
</p>
{{#ifeq:{{{Forschungsgebiet}}}|||<br />{{Rubrik|Forschungsgebiet}}}}
<p style="margin-left: 2em;">
{{#arraymap:{{{Forschungsgebiet|}}}|,|@@@|[[@@@]]|,&nbsp;}}
{{#ask:[[{{BASEPAGENAME}}]]|?Forschungsgebiet=|format=list}}
</p><br />
{{Rubrik|Publikationen zum Projekt}}
{{Zeige BibTex Links nach Projekt|Projekt={{PAGENAME}}}}


{{#ifloggedin:[http://www.aifb.kit.edu/web/Intern:Intern#Stammdaten_hinzuf.C3.BCgen Publikationen hinzufügen]}}
*** Tab for Publications***


:{{Publikationen
-->|{{MediaWiki:Portal_label_Publikationen{{{L|}}} }}={{Publikationen
|Projekt={{PAGENAME}}
|Projekt={{{Page}}}
|EntryType=article
|EntryType=article
|sort=Year            
|sort=Year
|order=descending
|order=descending
|Sprache={{{L||}}}
}}{{Publikationen
}}{{Publikationen
|Projekt={{PAGENAME}}
|Projekt={{{Page}}}
|EntryType=inproceedings
|EntryType=inproceedings
|sort=Year            
|sort=Year
|order=descending
|order=descending
|Sprache={{{L|}}}
}}{{Publikationen
}}{{Publikationen
|Projekt={{PAGENAME}}
|Projekt={{{Page}}}
|EntryType=book
|EntryType=book
|sort=Year            
|sort=Year
|order=descending
|order=descending
|Sprache={{{L|}}}
}}{{Publikationen
}}{{Publikationen
|Projekt={{PAGENAME}}
|Projekt={{{Page}}}
|EntryType=incollection
|EntryType=incollection
|sort=Year            
|sort=Year
|order=descending
}}{{Publikationen
|Projekt={{PAGENAME}}
|EntryType=booklet
|sort=Year           
|order=descending
|order=descending
|Sprache={{{L|}}}
}}{{Publikationen
}}{{Publikationen
|Projekt={{PAGENAME}}
|Projekt={{{Page}}}
|EntryType=proceedings
|EntryType=proceedings
|sort=Year            
|sort=Year
|order=descending
|order=descending
|Sprache={{{L|}}}
}}{{Publikationen
}}{{Publikationen
|Projekt={{PAGENAME}}
|Projekt={{{Page}}}
|EntryType=phdthesis
|EntryType=phdthesis
|sort=Year            
|sort=Year
|order=descending
|order=descending
|Sprache={{{L|}}}
}}{{Publikationen
}}{{Publikationen
|Projekt={{PAGENAME}}
|Projekt={{{Page}}}
|EntryType=techreport
|EntryType=techreport
|sort=Year            
|sort=Year
|order=descending
|order=descending
|Sprache={{{L|}}}
}}{{Publikationen
}}{{Publikationen
|Projekt={{PAGENAME}}
|Projekt={{{Page}}}
|EntryType=deliverable
|EntryType=deliverable
|sort=Year            
|sort=Year
|order=descending
|order=descending
|Sprache={{{L|}}}
}}{{Publikationen
}}{{Publikationen
|Projekt={{PAGENAME}}
|Projekt={{{Page}}}
|EntryType=manual
|sort=Year           
|order=descending
}}{{Publikationen
|Projekt={{PAGENAME}}
|EntryType=misc
|EntryType=misc
|sort=Year            
|sort=Year
|order=descending
|order=descending
}}{{Publikationen
|Sprache={{{L|}}}
|Projekt={{PAGENAME}}
}}<!--
|EntryType=unpublished
 
|sort=Year           
*** Tab for Partners***
|order=descending
 
}}</includeonly>
-->|{{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 |}}}|,|@@@|[[@@@]]|,&nbsp;}}</p>
{{#ifeq:{{{Forschungsgruppe|}}}|||<br />{{Rubrik|Forschungsgruppe}}}}
<p style="margin-left: 2em;">
{{#arraymap:{{{Forschungsgruppe|}}}|, |@@@|[[@@@]]|,&nbsp;}}
</p>
{{#ifeq:{{{Forschungsgebiet}}}|||<br />{{Rubrik|Forschungsgebiet}}}}
<p style="margin-left: 2em;">
{{#arraymap:{{{Forschungsgebiet|}}}|,|@@@|[[@@@]]|,&nbsp;}}
{{#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.