Vorlage:DisplayNeuigkeit: Unterschied zwischen den Versionen
Aus International Center for Computational Logic
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. | |||
Usage: | |||
<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 | |||
}} | }} | ||
< | </pre> | ||
< | |||
</noinclude><includeonly>__NOTOC__<!-- | |||
{{#ifeq:{{{ | |||
| | --><div style="clear:both"></div><!-- | ||
| | |||
| | --><div style="margin-top: 2ex; margin-bottom: 4ex; "><h5 class="flat-top">{{#switch: {{{L}}} | ||
[[ | |= ''[[News|Neuigkeit]] {{#ifeq:{{{Forschungsgruppe|}}}|||{{MediaWiki:Portal_label_Aus_der_Forschungsgruppe}} [[{{{Forschungsgruppe}}}]]}} {{#ifeq:{{{Datum|}}}|||vom {{Translate date|{{{Datum}}}}} }}'' | ||
|/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:{{{ | |||
< | -->{{Main heading|{{{Titel}}}}}<!-- | ||
{{#ifeq:{{{ | |||
*** Position of an image *** | |||
{{#ifeq:{{{ | |||
< | -->{{#ifeq:{{{Bild|}}}||| | ||
{{#ifeq:{{{ | [[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>}}<!-- | |||
*** Link to a PDF file *** | |||
-->{{#ifeq:{{{Link PDF|}}}|||<li>[[Media:{{{Link PDF}}}|{{MediaWiki:Portal_label_Bericht_als_PDF{{{L}}}}}]]</li>}} | |||
[[ | </ul> | ||
{{ | |||
{{ | |||
</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 }}