Vorlage:Event item: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
(+Logo)
(Hinweis wiederkehrend an den Anfang)
Zeile 88: Zeile 88:
 
<tr>
 
<tr>
 
<td><i>Wann?</i></td>
 
<td><i>Wann?</i></td>
<td><!--  
+
<td>{{#switch: {{LC:{{{recurring type|}}}}}
 +
|1|recurring|wiederkehrend=<div>''Hinweis:'' der Termin wiederholt sich {{#switch: {{#var: recurringUnitStandardized}}
 +
  |day={{PLURAL:{{{recurring period|1}}}|jeden Tag|alle {{{recurring period|1}}} Tage}}
 +
  |week={{PLURAL:{{{recurring period|1}}}|jede Woche|alle {{{recurring period|1}}} Wochen}}
 +
  |month={{
 +
  #ifexpr: {{{recurring week number|}}} + 0 > 0<!--
 +
  then positive week number within week
 +
    -->|an jedem {{{recurring week number|}}}. {{#time: l|{{{start|}}}}} im Monat<!--
 +
  else 0==0 or < 0
 +
    -->|{{
 +
    #ifexpr: {{{recurring week number|}}} + 0 < 0<!--
 +
    then negative week number within week
 +
      -->|an jedem {{#switch:{{{recurring week number|}}}|-1=letzten|#default={{{recurring week number|}}}.–letzten}} {{#time: l|{{{start|}}}}} im Monat<!--
 +
    else equals 0
 +
      -->|{{PLURAL:{{{recurring period|1}}}|jeden Monat|alle {{{recurring period|1}}} Monate}}
 +
    }}
 +
  }}
 +
  |year={{PLURAL:{{{recurring period|1}}}|jedes Jahr|alle {{{recurring period|1}}} Jahre}}
 +
  |#default=
 +
  }}</div>
 +
}}<!--#switch wiederkehrend --><!--  
 
   no line break here
 
   no line break here
 
-->{{#if: {{#pos:{{{start|}}}|:}}<!--  
 
-->{{#if: {{#pos:{{{start|}}}|:}}<!--  
Zeile 115: Zeile 135:
 
     -->|{{#time: l d. F Y |{{{end|}}}}}
 
     -->|{{#time: l d. F Y |{{{end|}}}}}
 
     }}
 
     }}
  }}
 
}}{{#switch: {{LC:{{{recurring type|}}}}}
 
|1|recurring|wiederkehrend=<br />''Hinweis:'' der Termin wiederholt sich {{#switch: {{#var: recurringUnitStandardized}}
 
  |day={{PLURAL:{{{recurring period|1}}}|jeden Tag|alle {{{recurring period|1}}} Tage}}
 
  |week={{PLURAL:{{{recurring period|1}}}|jede Woche|alle {{{recurring period|1}}} Wochen}}
 
  |month={{
 
  #ifexpr: {{{recurring week number|}}} + 0 > 0<!--
 
  then positive week number within week
 
    -->|an jedem {{{recurring week number|}}}. {{#time: l|{{{start|}}}}} im Monat<!--
 
  else 0==0 or < 0
 
    -->|{{
 
    #ifexpr: {{{recurring week number|}}} + 0 < 0<!--
 
    then negative week number within week
 
      -->|an jedem {{#switch:{{{recurring week number|}}}|-1=letzten|#default={{{recurring week number|}}}.–letzten}} {{#time: l|{{{start|}}}}} im Monat<!--
 
    else equals 0
 
      -->|{{PLURAL:{{{recurring period|1}}}|jeden Monat|alle {{{recurring period|1}}} Monate}}
 
    }}
 
  }}
 
  |year={{PLURAL:{{{recurring period|1}}}|jedes Jahr|alle {{{recurring period|1}}} Jahre}}
 
  |#default=
 
 
   }}
 
   }}
 
}}
 
}}
Zeile 241: Zeile 241:
 
-->
 
-->
 
|#default=
 
|#default=
}}
+
}}</includeonly>
</includeonly>
 

Version vom 22. August 2018, 21:53 Uhr

Dies ist die Vorlage „Event item“. Sie hat folgende Vorlagenparameter (Pflichtparameter in fett und optionale normal):

{{Event item
|title=
|start=
|end=
|type=
|description=
|color=
|icon=
|coordinates=
|location=
|keywords=
|recurring type=
|recurring unit=
|recurring period=
|recurring week number=
|recurring start=
|recurring end=
|recurring limit=
|recurring include datetimes=
|recurring exclude datetimes=
}}

Technische Abhängigkeiten

Erweiterungen

Attribute

Vorlagen/Formulare:

Layout:

  • CSS-Klassen booktable, vertical-align-top

Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.