Vorlage:DisplayRaum: Unterschied zwischen den Versionen
Aus International Center for Computational Logic
Markus Krötzsch (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude> Template for displaying room pages. It is used in Template:Raum and Template:Raum/en. Usage: <pre> {{DisplayRaum | L = "/en" (English) or…“) |
Maximilian Marx (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(16 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) | |||
Zeile 8: | Zeile 8: | ||
| Page = title of the main page where the room's data is stored | | Page = title of the main page where the room's data is stored | ||
| Navigator URL= URL for this room in campus navigator | | Navigator URL= URL for this room in campus navigator | ||
| Beschreibung = brief description of this room | |||
}} | }} | ||
</pre> | </pre> | ||
Zeile 13: | Zeile 14: | ||
; Example output: | ; Example output: | ||
{{ | {{DisplayRaum | ||
| L=/en | | L=/en | ||
| Page=APB 3010 | | Page=APB 3010 | ||
| Navigator URL= https://navigator.tu-dresden.de/etplan/apb/03/raum/542103.7130 | | Navigator URL= https://navigator.tu-dresden.de/etplan/apb/03/raum/542103.7130 | ||
| Beschreibung = The short description is optional. It's most useful for general meeting rooms. | |||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly>{{#leftsidenav:{{LeftsidenavHeading|{{MediaWiki:Portal_label_Raeume{{{L|}}}}}}} | ||
{{#ask: [[Category:Raum]] | |||
|intro=<ul class="nav-list"><li> | |||
|sep=</li><li> | |||
|template=Translate link | |||
|outro=</li></ul> | |||
|order=asc | |||
|userparam={{{L|}}} | |||
|link=none | |||
}}|<!-- | |||
*** Page Content *** | |||
{{MediaWiki: | -->{{Überschrift|{{MediaWiki:Portal_label_Raum{{{L}}} }} {{{Page}}}}} | ||
{{#ifeq: {{{Navigator URL|}}}|||[{{{Navigator URL}}}{{#ifeq:{{{L}}}|/en|?language=en|?language=de}} {{MediaWiki:Portal_label_Im_Campus_Navigator_anzeigen{{{L}}} }}]}} | |||
{{ | {{{Beschreibung|}}} | ||
{{#ask: <q>[[Kategorie:Mitarbeiter]] OR [[Kategorie:Gast]]</q> [[Raum::{{{Page}}}]] [[Ehemaliger::0]] | |||
| format = plainlist | |||
| intro = <h2>{{MediaWiki:Portal_label_Personen in diesem Raum{{{L}}} }}</h2> | |||
<ul class="plain-list" style="margin-top: 2ex; "><li> | |||
| sep = </li><li> | |||
| outro = </li></ul> | |||
}} | |||
{{#ask: [[Start::>{{#time: Y/m/d}}]] [[Raum::{{{Page}}}]] | |||
| {{DEEN|{{{L|}}}|?Titel DE|?Titel EN}} | |||
| ?Start#ISO | |||
| ?Ende#ISO | |||
| sort=Start | |||
| order=asc | |||
| format=plainlist | |||
| link=none | |||
| template=Show event | |||
| userparam={{{L|}}} | |||
| intro=<h2>{{MediaWiki:Portal_label_Veranstaltungen in diesem Raum{{{L}}} }}</h2> | |||
''{{MediaWiki:Portal_label_Veranstaltungen_unvollstaendig_Anmerkung{{{L}}} }}'' | |||
{{MediaWiki:Portal_label_Naechste_Veranstaltungen{{{L}}} }}: | |||
<ul><li> | |||
| sep=</li><li> | |||
| outro=</li></ul><br /><br /> | |||
| limit = 5 | |||
| searchlabel= | |||
}} | |||
{{#ask: [[Start::>{{#time: Y}}/01/01]] [[Raum::{{{Page}}}]] | |||
| ?Start#ISO | |||
| ?Ende#ISO | |||
| {{DEEN|{{{L|}}}|?Titel DE|?Titel EN}}=title | |||
| format=eventcalendar | |||
| firstday=Monday | |||
| defaultview=month | |||
| limit=1000 | |||
| link=subject | |||
| sort=Start | |||
| order=asc | |||
}} | |||
}}<!-- #leftsidenav --> | |||
</includeonly> | </includeonly> |
Aktuelle Version vom 20. März 2019, 01:35 Uhr
Template for displaying room pages. It is used in Template:Raum and Template:Raum/en.
Usage:
{{DisplayRaum | L = "/en" (English) or empty (German) | Page = title of the main page where the room's data is stored | Navigator URL= URL for this room in campus navigator | Beschreibung = brief description of this room }}
- Example output
Room APB 3010
The short description is optional. It's most useful for general meeting rooms.
People in this room