Vorlage:DisplayForschungsgebiet: Unterschied zwischen den Versionen

Aus International Center for Computational Logic
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „<noinclude> Template for displaying research topics. This template is used by Template:Forschungsgebiet and Template:Forschungsgebiet/en. Use Formula…“)
 
Markus Krötzsch (Diskussion | Beiträge)
(use grouped person list, fixes issue that publications were displayed among people)
 
(13 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 12: Zeile 12:
| Beschreibung=description
| Beschreibung=description
| Bild=Name of illustrating image file
| Bild=Name of illustrating image file
| Bildbeschreibung=Caption for the image
}}
}}
</pre>
</pre>
Zeile 17: Zeile 18:
Example: ...
Example: ...


</noinclude><includeonly>__NOTOC__<!--
</noinclude><includeonly>__NOTOC__{{Page about Forschungsgebiete|contents=<!--


--><div style="margin-bottom: 5ex; "><!--
--><div style="margin-bottom: 5ex; "><!--
Zeile 23: Zeile 24:
</div><!--
</div><!--


--><div class="row">
-->{{#maketabs:<!--
 
Tab for general information
 
-->|{{MediaWiki:Portal_label_Information{{{L|}}}}} = <div class="row">
<!-- Start left column (picture and links) -->
<!-- Start left column (picture and links) -->
<div class="col-sm-6 col-md-5">
<div class="col-sm-6 col-md-5">
<div style="margin-left: auto; margin-right: auto; width: 370px;">[[{{#ifeq:{{{Bild|}}}|
<div style="margin-left: auto; margin-right: auto; max-width: 370px;"><!--
 
/*Put symbolic image in a static carousel to make it auto-shrink when scaling down browser window*/
 
-->{{#makecarousel:
|nav=none
|indicators=off
|interval=false
|slide =[[{{#ifeq:{{{Bild|}}}|
|Bild:Placeholder-3-2.jpg
|Bild:Placeholder-3-2.jpg
|Bild:{{{Bild}}}
|Bild:{{{Bild}}}
}}|370px|link=|frameless|Illustration for {{{Name}}}]]
}}|370px|link=|frameless|{{{Bildbeschreibung|Illustration for {{{Name}}}}}}]]}}
<div style="font-size: 90%; color: #666; padding-top: 2ex; ">{{{Bildbeschreibung|}}}</div>
</div>
</div>
</div><!--  
</div><!--  


*** Start right column ***
*** Right column (information) ***


--><div class="col-sm-6 col-md-7">
--><div class="col-sm-6 col-md-7"><!--
{{#maketabs:<!--


Tab for general information
-->{{{Beschreibung|}}}</div>
</div><!--


-->{{MediaWiki:Portal_label_Information{{{L|}}}}} =
*** Tab for people ***
<ul class="plain-list"><!--


-->{{{Beschreibung|}}}<!--
-->|{{MediaWiki:Portal_label_Personen{{{L|}}} }}={{GroupedPersonList
 
*** Tab for Group members ***
 
-->|{{MediaWiki:Portal_label_Mitglieder{{{L|}}} }}=
{{GroupedPersonList
| query= [[Forschungsgebiet::{{{Page}}}]]
| query= [[Forschungsgebiet::{{{Page}}}]]
| langsuffix={{{L|}}}
| langsuffix={{{L}}}
}}
}}<!--  
<!--  


*** Tab for Publications***
*** Tab for Publications***
Zeile 71: Zeile 78:
}}
}}
}}<!-- #maketabs -->
}}<!-- #maketabs -->
</div>
}}<!-- Page about Forschungsgebiete -->
</div>
</includeonly>
</includeonly>

Aktuelle Version vom 11. Juni 2015, 10:42 Uhr

Template for displaying research topics. This template is used by Template:Forschungsgebiet and Template:Forschungsgebiet/en. Use Formular:Forschungsgebiet to create new research topics.

Usage:

{{DisplayProjekt:
| L=/en (English) or empty (German)
| Page=name of the page where the data is stored
| Name=name
| Beschreibung=description
| Bild=Name of illustrating image file
| Bildbeschreibung=Caption for the image
}}

Example: ...