Vorlage:Event item: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „<noinclude> Dies ist die Vorlage „Event“. Sie sollte im folgenden Format genutzt werden: <pre> {{Event |title= |start= |eb.= }} </pre> Klick auf „Bearbei…“) |
|||
| Zeile 1: | Zeile 1: | ||
<noinclude> | <noinclude> | ||
Dies ist die Vorlage „Event“. | Dies ist die Vorlage „Event“. | ||
| − | Sie | + | Sie hat folgende Vorlagenparameter ('''Pflichtparameter in fett''' und optionale normal): |
| − | < | + | <nowiki>{{</nowiki>Event |
| − | {{Event | + | <b>|title=</b> |
| − | |title= | + | <b>|start=</b> |
| − | |start= | + | |end= |
| − | | | + | |description= |
| + | |color= | ||
| + | |icon= | ||
| + | |coordinates= | ||
| + | |location= | ||
| + | |type= | ||
| + | <nowiki>}}</nowiki> | ||
| + | Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen. | ||
| + | </noinclude><includeonly> | ||
| + | <table class="wikitable"> | ||
| + | <tr><td colspan="2"><!-- | ||
| + | -->{{#if:{{{icon|}}}|[[Has event icon::{{{icon|}}}| ]] [[{{{icon|}}}|x20px|left|{{{title|}}}]]}}<!-- | ||
| + | -->{{#if:{{{type|}}}|''[[Has event type::{{{type|}}}]]:'' }}<!-- | ||
| + | -->[[Has event::{{{title|}}}]]<!-- | ||
| + | --></td></tr> | ||
| + | <tr> | ||
| + | <td><i>Wann?</i></td> | ||
| + | <td> | ||
| + | {{#if: {{{end|}}} | ||
| + | |''Beginn:'' [[Has event start::{{{start|}}}]] ''Ende:'' [[Has event end::{{{end|}}}]] | ||
| + | |[[Has event start::{{{start|}}}]] | ||
}} | }} | ||
| − | </ | + | </td> |
| − | + | </tr> | |
| − | </ | + | {{#if: {{{description|}}} |
| − | + | |<tr> | |
| − | | [[Has event::{{{ | + | <td><i>Was?</i></td> |
| − | |- | + | <td>[[Has event description::{{{description|}}}]]</td> |
| − | + | </tr> | |
| − | | [[Has event | + | }} |
| − | | | + | {{#if: {{{location|}}} |
| − | + | |<tr> | |
| − | | {{{ | + | <td><i>Wo?</i></td> |
| − | |} | + | <td>[[Has event location::{{{location|}}}]]</td> |
| + | </tr> | ||
| + | }} | ||
| + | {{#if: {{{coordinates|}}} | ||
| + | |<tr> | ||
| + | <td><i>Karte</i></td> | ||
| + | <td>{{#display_map: {{{coordinates|}}}~{{{title|}}}~{{{description|}}}}}</td> | ||
| + | </tr> | ||
| + | }} | ||
| + | </table><!-- | ||
| + | |||
| + | set silently properties | ||
| + | -->{{#if:{{{color|}}}|[[Has event color::{{{color|}}}| ]]}}<!-- | ||
| + | -->{{#if:{{{coordinates|}}}|[[Has event geocoordinates::{{{coordinates|}}}| ]]}} | ||
</includeonly> | </includeonly> | ||
Version vom 25. Mai 2018, 20:55 Uhr
Dies ist die Vorlage „Event“. Sie hat folgende Vorlagenparameter (Pflichtparameter in fett und optionale normal):
{{Event
|title=
|start=
|end=
|description=
|color=
|icon=
|coordinates=
|location=
|type=
}}
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.