User:ɞɞ/AddMonths/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

BearbeitenVersionenCache löschenSeiteninformation

Template:Documentation/Dokuseite

Die Vorlage {{AddMonths}} addiert eine bestimmte Anzahl von Monaten zu einem Datum, der Wert darf auch negativ sein. Template:Sendungsvorlagen

Verwendung[edit]

{{AddMonths|1=|2=}}

{{AddMonths}}

ergibt

{{AddMonths|2=-3|3=j F}}

ergibt

Parameter[edit]

x
Name Beschreibung Standard Status
1 Datum heute optional
2 Differenz 1 optional
3 time Formatierungsstring Ymd optional

Code[edit]

<includeonly>

<onlyinclude>{{#time:{{{3|Ymd}}}|{{{1|{{#time:Y-m-d|}}}}} {{{2|1}}} months}}</onlyinclude> </includeonly> {{verborgen}}{{bearbeiten}}

{{documentation}}