Vorlage:Good Practice Beispiel LNBE: Unterschied zwischen den Versionen
Aus DG HochN-Wiki
Keine Bearbeitungszusammenfassung |
Änderung 26071 von ClaudiaP (Diskussion) rückgängig gemacht. Markierung: Rückgängigmachung |
||
| (22 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Kategorie (list;property=Kategorie LNBE)|Stichworte (label=Stichwort;list;property=Stichwort LNBE)}} | {{#template_params:Kategorie (list;property=Kategorie LNBE)|Stichworte (label=Stichwort;list;property=Stichwort LNBE)}} | ||
</noinclude><includeonly>{| style="width: | </noinclude><includeonly> | ||
! style="text-align: center; background-color: | {| style="width: 260px; font-size: 90%; border: 1px solid rgb(133,177,208); background-color: white; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
! style="text-align: center; background-color:rgb(75,111,138); color: white" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | |||
|- | |- | ||
! Kategorie | | colspan="2" style="padding-top: 4px; padding-bottom: 4px;text-align:justify;" |[[Kurzbeschreibung::{{{beschr|{{{beschr|}}}}}} ]] | ||
| {{#arraymap:{{{Kategorie|}}}|,|x|[[ | |-<!-- *** KATEGORIE *** --> | ||
{{#if:{{{Kategorie|{{{Kategorie|}}}}}}|{{Tablesection|Label=Kategorie|Color=rgb(133,177,208)|Textcolor=rgb(0,73,91)}}}} | |||
|- | |||
{{#if:{{{Kategorie|{{{Kategorie|}}}}}}| | |||
{{Tablelongrow|Value={{#arraymap:{{{Kategorie|}}}|,|x|[[x]]}} }} }} | |||
|-<!-- *** STICHWORT *** --> | |||
{{#if:{{{Stichworte|{{{Stichworte|}}}}}}|{{Tablesection|Label=Stichworte|Color=rgb(133,177,208)|Textcolor=rgb(0,73,91)}}}} | |||
|- | |||
{{#if:{{{Stichworte|{{{Stichworte|}}}}}}| | |||
{{Tablelongrow|Value={{#arraymap:{{{Stichworte|}}}|,|x|[[Stichwort LNBE::x]]}} }} }} | |||
|- <!-- *** HOCHSCHULE ***--> | |||
{{#if:{{{hochsch|{{{hochsch|}}}}}}|{{Tablesection|Label=Hochschule|Color=rgb(133,177,208)|Textcolor=rgb(0,73,91)}}}} | |||
|- | |||
{{#if:{{{hochsch|{{{hochsch|}}}}}}| | |||
{{Tablelongrow|Value=[[Hat Bezug zu Hochschule::{{{hochsch|}}}]] }} }} | |||
|- <!-- *** ORGANISATIONSEINHEIT *** --> | |||
{{#if:{{{org|{{{org|}}}}}}|{{Tablesection|Label=Organisationseinheit|Color=rgb(133,177,208)|Textcolor=rgb(0,73,91)}}}} | |||
|- | |||
{{#if:{{{org|{{{org|}}}}}}| | |||
{{Tablelongrow|Value=[[Hat Bezug zu Organisationseinheit::{{{org|}}}]] }} }} | |||
|- <!-- *** ORT *** --> | |||
| {{#if:{{{adresse|{{{adresse|}}}}}}|{{Tablesection|Label=Adresse|Color=rgb(133,177,208)|Textcolor=rgb(0,73,91)}}}} | |||
|- | |||
{{Tablelongrow|Value=[[Hat Adresse::{{{adresse|}}}]] [[Coordinates::{{#geocode:{{{adresse|}}}}}|]]}} | |||
|- | |||
{{#if:{{{adresse|{{{adresse|}}}}}}| | |||
{{Tablelongrow|Value={{#display_map:{{#geocode:{{{adresse|}}}}}|width=250|height=250}} }} }} | |||
|- <!-- *** LINKS *** --> | |||
{{#if:{{{url|{{{url|}}}}}}|{{Tablesection|Label=Website|Color=rgb(133,177,208)|Textcolor=rgb(0,73,91)}}}} | |||
|- | |||
{{#if:{{{url|{{{url|}}}}}}| | |||
{{Tablelongrow|Value={{#arraymap:{{{url|}}}|,|x|[[Hat Weblinks::x]]}} }} }} | |||
|- <!-- *** DATEI *** --> | |||
{{#if:{{{datei|{{{datei|}}}}}}|{{Tablesection|Label=Dateien|Color=rgb(133,177,208)|Textcolor=rgb(0,73,91)}}}} | |||
|- | |- | ||
{{#if:{{{datei|{{{datei|}}}}}}| | |||
| {{#arraymap:{{{ | {{Tablelongrow|Value=<ul>{{#arraymap:{{{datei|}}}|,|x|<li>[[:Datei:x{{!}}x]]{{#set:Hat Datei=x}}</li>|}}</ul> }} }} | ||
|} | |||
|} | <!-- Dynamic categories from form: If Kategorie field has values, iterate through comma-separated list | ||
and create a [[Kategorie:X]] link for each selected option (Beschaffung, Entsorgung, Kreislauf) | |||
The last parameter (empty string) is the separator between outputs - empty to avoid visible commas --> | |||
{{#if:{{{Kategorie|}}}|{{#arraymap:{{{Kategorie|}}}|,|x|[[Kategorie:x]]|}}}} | |||
<!-- Static category: All pages using this template are automatically added to this category --> | |||
[[Kategorie:Good Practice Beispiel LNBE]] | [[Kategorie:Good Practice Beispiel LNBE]] | ||
</includeonly> | </includeonly> | ||
Aktuelle Version vom 28. November 2025, 14:57 Uhr
Dies ist die Vorlage „Good Practice Beispiel LNBE“.
Sie hat die folgende Struktur:
{{Good Practice Beispiel LNBE
|Kategorie=
|Stichworte=
}}
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.