Vorlage:DisplayNeuigkeit: Unterschied zwischen den Versionen

Aus International Center for Computational Logic
Wechseln zu:Navigation, Suche
Tomas Masopust (Diskussion | Beiträge)
(Die Seite wurde neu angelegt: „ <includeonly><div style="clear:both"></div>{{Rubrik| ''Neuigkeit vom {{#ifeq:{{{Datum |}}}||'''Datum: ''' ''k.A.''|[[Datum::{{{Datum}}}|]]{{#t…“)
 
Maximilian Marx (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(36 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>
Template for displaying news. This template is used by [[Template:Neuigkeit]] and [[Template:Neuigkeit/en]].
Use [[Formular:Neuigkeit]] to create new news.


<includeonly><div style="clear:both"></div>{{Rubrik|
Usage:
''[[Neuigkeiten|Neuigkeit]] vom {{#ifeq:{{{Datum |}}}||'''Datum: ''' ''k.A.''|[[Datum::{{{Datum}}}|]]{{#timel: j\. F Y|{{{Datum}}}}}}}''
 
<pre>
{{DisplayNeuigkeit
| L=/en (English) or empty (German)
| Titel=Title of the news
| Beschreibung=description
| Link PDF=string name of a PDF file stored in the wiki
| URL=link
| Datum=Date
| Bild=Name of an illustrating image file
| Forschungsgruppe=Research Groups
}}
}}
<br />
</pre>
<h2>{{#ifeq:{{{Titel DE|}}}|||[[Titel DE::{{{Titel DE}}}]]}}</h2>
 
<br />
</noinclude><includeonly>__NOTOC__<!--
{{#ifeq:{{{Bild|}}}
 
|
--><div style="clear:both"></div><!--
|
 
|
--><div style="margin-top: 2ex; margin-bottom: 4ex; "><h5 class="flat-top">{{#switch: {{{L}}}
[[File:{{{Bild}}}|border|right|140x140px|]]
|=      ''[[News|Neuigkeit]] {{#ifeq:{{{Forschungsgruppe|}}}|||{{MediaWiki:Portal_label_Aus_der_Forschungsgruppe}} [[{{{Forschungsgruppe}}}]]}} {{#ifeq:{{{Datum|}}}|||vom {{Translate date|{{{Datum}}}}} }}''
[[Bild::{{{Bild}}}| ]]
|/en=''[[News/en|News]] {{#ifeq:{{{Forschungsgruppe|}}}|||{{MediaWiki:Portal_label_Aus_der_Forschungsgruppe/en}} {{Translate Name|{{{Forschungsgruppe}}}|#userparam=/en }} }} {{#ifeq:{{{Datum|}}}|||of {{Translate date|{{{Datum}}}|#userparam=/en}} }}''
}}
}}</h5></div><!--
{{#ifeq:{{{Beschreibung DE|}}}|||{{#set:Beschreibung DE={{{Beschreibung DE}}} }} {{{Beschreibung DE}}} }}
 
<br /><br />
-->{{Main heading|{{{Titel}}}}}<!--
{{#ifeq:{{{URL|}}}|||Weitere Infos unter: [[URL::{{{URL}}}]]}}
 
<br />
*** Position of an image ***
{{#ifeq:{{{Link PDF|}}}|||{{Rubrik|Weiterführende Informationen}}[[Link PDF::{{{Link PDF}}}|]][[Media:{{{Link PDF}}}|Bericht als PDF]]}}
 
<br />
-->{{#ifeq:{{{Bild|}}}|||
{{#ifeq:{{{Forschungsgruppe|}}}|||''Aus der Forschungsgruppe [[Forschungsgruppe::{{{Forschungsgruppe}}}]]''}}
[[File:{{{Bild}}}|border|right|x300px|]]
}}<!--
 
*** Text of the news ***
 
-->{{#ifeq:{{{Beschreibung|}}}|||<div style="padding-top: 2ex; padding-bottom: 3ex; ">{{{Beschreibung}}}</div>
}}<!--
 
*** Further Links ***
 
--><ul class="link-list"><!--
 
*** URL ***
 
-->{{#ifeq:{{{URL|}}}|||<li>{{MediaWiki:Portal_label_Weitere_Infos_unter{{{L}}}}}: {{{URL}}}</li>}}<!--


{{#set:Beschreibung EN={{{Beschreibung EN}}} }}
*** Link to a PDF file ***


[[Titel EN::{{{Titel EN|}}}|]]
-->{{#ifeq:{{{Link PDF|}}}|||<li>[[Media:{{{Link PDF}}}|{{MediaWiki:Portal_label_Bericht_als_PDF{{{L}}}}}]]</li>}}
[[Kategorie:Neuigkeit]]
</ul>
{{HideHeading1}}
{{#createpageifnotex:{{PAGENAME}}/en|<nowiki>{{</nowiki>Neuigkeit/en<nowiki>}}</nowiki>}}
</includeonly>
</includeonly>

Aktuelle Version vom 31. Juli 2019, 15:02 Uhr

Template for displaying news. This template is used by Template:Neuigkeit and Template:Neuigkeit/en. Use Formular:Neuigkeit to create new news.

Usage:

{{DisplayNeuigkeit
| L=/en (English) or empty (German)
| Titel=Title of the news
| Beschreibung=description
| Link PDF=string name of a PDF file stored in the wiki
| URL=link
| Datum=Date
| Bild=Name of an illustrating image file
| Forschungsgruppe=Research Groups
}}