Vorlage:DisplayNeuigkeit: Unterschied zwischen den Versionen
Aus International Center for Computational Logic
Tomas Masopust (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Maximilian Marx (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(33 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 10: | Zeile 10: | ||
| Titel=Title of the news | | Titel=Title of the news | ||
| Beschreibung=description | | Beschreibung=description | ||
| Link PDF= | | Link PDF=string name of a PDF file stored in the wiki | ||
| URL=link | | URL=link | ||
| Datum=Date | | Datum=Date | ||
Zeile 17: | Zeile 17: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>__NOTOC__<!-- | </noinclude><includeonly>__NOTOC__<!-- | ||
--><div style=" | --><div style="clear:both"></div><!-- | ||
</div><!-- | |||
--><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}} }}'' | ||
</div> | }}</h5></div><!-- | ||
< | |||
-->{{Main heading|{{{Titel}}}}}<!-- | |||
*** Position of an image *** | |||
-->{{#ifeq:{{{Bild|}}}||| | |||
[[ | [[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, 16: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 }}