Zum Inhalt springen

Vorlage:Veranstaltung: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Pl (Diskussion | Beiträge)
I'm not sure why he did the code as it was before, but it should work that way too, but with out displaying anything of this code when the parameter is unused
Mel1na (Diskussion | Beiträge)
temp dark mode compatibility
 
(8 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 2: Zeile 2:
{{Howto_Event}}
{{Howto_Event}}
</noinclude>
</noinclude>
<includeonly>{{#ifeq: {{{hidden}}}| true | <div style="display:none;"> }}{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
<includeonly>{{#ifeq: {{{hidden}}}| true | <div style="display:none;"> }}{| style="width: 30em; font-size: 90%; border: 1px solid var(--border-color-notice); background-color: var(--background-color-notice-subtle) !important; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
| style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{{name|{{PAGENAME}}}}}</big>
| style="text-align: center; background-color: var(--background-color-progressive-subtle) !important;" colspan="2" |<big>{{{name|{{PAGENAME}}}}}</big>
|-
|-
|colspan="2" align="center"| {{#if: {{{image|}}}| {{150px image|{{{image}}}}} }}
|colspan="2" align="center"| {{#if: {{{image|}}}| {{150px image|{{{image}}}}} }}
|-
|-
{{#if: {{ {when}}}|{{!}}'''wann:''' {{!}}{{{when}}} | }}
{{#if: {{{when|}}}|{{!}}'''wann:''' {{!}}{{{when}}} | }}
|-
|-
{{#if: {{ {involved}}}|{{!}}'''Involvierte:''' {{!}}{{{involved}}} | }}
{{#if: {{{where|}}} | {{!}}'''Location:''' {{!}}{{{where}}} | }}
|-
|-
{{#if: {{ {category}}}|{{!}}'''Rubrik:''' {{!}}{{{category}}} | }}
{{#if: {{{involved|}}}|{{!}}'''Involvierte:''' {{!}}{{{involved}}} | }}
|-
|-
{{#if: {{{costs}}} | {{!}}'''Unkostenbeitrag:''' {{!}}{{{costs}}} | }}
{{#if: {{{category|}}}|{{!}}'''Rubrik:''' {{!}}{{{category}}} | }}
|-
|-
{{#if: {{{status}}} | {{!}}'''Status:'''  {{!}}{{{status}}} | }}
{{#if: {{{costs|}}} | {{!}}'''Kostenbeitrag:'''  {{!}}{{{costs}}} | }}
|-
|-
{{#if: {{ {wtf}}}|{{!}}'''Beschreibung:'''|{{!}}{{{wtf}}} | }}
{{#if: {{{status|}}} | {{!}}'''Status:''' {{!}}{{{status}}} | }}
|-
{{#if: {{{wtf|}}} | {{!}}'''Beschreibung:''' {{!}}{{{wtf}}} | }}
|-
|-
| '''Zuletzt aktualisiert:'''  
| '''Zuletzt aktualisiert:'''  

Aktuelle Version vom 3. März 2025, 20:17 Uhr


Language: English
Subpages:
Veranstaltung hat keine Unterseiten.

Use like this:

{{Veranstaltung
|name=Name of the event
|image=No-Logo.png
|involved=[[User:Name]]
|when=12.04.2015, 21:00
|where=[[Info_Folder|Metalab]]|[[Hauptraum]]|[[Küche]]|[[Bibliothek]]|[[Lounge]]|[[WhateverLab]]|[[Heavy Machinery]]|[[Fotolab]]/[[Chemielab]]|[[Scannerraum]]
|costs=5€
|category=Workshop|Vortrag|Metaday|Usergroup|Party|Konferenz|Festival
|status=active|suspended|completed|canceled|on hold|planning
|wtf=so much stuff is happening! it will be a great party! everbody come!
|hidden=false|true
}}

All parameters are optional. If no 'name' is given, the title of the wikipage is used.