Vorlage:DisplayNeuigkeit: Unterschied zwischen den Versionen
Aus International Center for Computational Logic
Tomas Masopust (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Tomas Masopust (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
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=link to a PDF file stored in the wiki | |||
| URL=link | |||
| Datum=Date | |||
| Bild=Name of an illustrating image file | |||
| Forschungsgruppe=Research Groups | |||
}} | |||
</pre> | |||
Example: ... | |||
</noinclude><includeonly>__NOTOC__<!-- | |||
--><div style="margin-bottom: 5ex; "><!-- | |||
-->{{Main heading|{{{Titel}}}}} | |||
</div><!-- | |||
--><div class="row"> | |||
<!-- Start left column (picture and links) --> | |||
<div class="col-sm-6 col-md-5"> | |||
<div style="margin-left: auto; margin-right: auto; width: 370px;">[[{{#ifeq:{{{Bild|}}}| | |||
|Bild:Placeholder-3-2.jpg | |||
|Bild:{{{Bild}}} | |||
}}|370px|link=|frameless|{{{Bildbeschreibung|Illustration for {{{Name}}}}}}]] | |||
<div style="font-size: 90%; color: #666; padding-top: 2ex; ">{{{Bildbeschreibung|}}}</div> | |||
</div> | |||
</div><!-- | |||
*** Start right column *** | |||
--><div class="col-sm-6 col-md-7"> | |||
{{#maketabs:<!-- | |||
Tab for general information | |||
-->|{{MediaWiki:Portal_label_Information{{{L|}}}}} = <!-- | |||
-->{{{Beschreibung|}}}<!-- | |||
*** Tab for Group members *** | |||
-->|{{MediaWiki:Portal_label_Personen{{{L|}}} }}={{Person list | |||
| query = [[Forschungsgebiet::{{{Page}}}]] | |||
| langsuffix = {{{L|}}} | |||
| columns=1 | |||
}}<!-- | |||
*** Tab for Publications*** | |||
-->|{{MediaWiki:Portal_label_Publikationen{{{L|}}} }}={{GroupedPublicationList | |||
| query = [[Forschungsgebiet::{{{Page}}}]] | |||
| langsuffix = {{{L|}}} | |||
| orderby = time | |||
}}<!-- | |||
*** Tab for Projects *** | |||
--> | |||
|{{MediaWiki:Portal_label_Aktive_Projekte{{{L}}} }}={{List projects | |||
| query = [[Projektstatus::aktiv]] [[Forschungsgebiet::{{{Page}}}]] | |||
| fortab=1 | |||
| langsuffix = {{{L|}}} | |||
}} | |||
}}<!-- #maketabs --> | |||
</div> | |||
</div> | |||
</includeonly> | |||
<includeonly><div style="clear:both"></div>{{Rubrik| | <includeonly><div style="clear:both"></div>{{Rubrik| |
Version vom 15. Oktober 2014, 14:59 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=link to a PDF file stored in the wiki | URL=link | Datum=Date | Bild=Name of an illustrating image file | Forschungsgruppe=Research Groups }}
Example: ...
Englische Vorlage zu Darstellung von News.
Inhalte werden von der DE Seite geholt.