Différences entre les versions de « Modèle:Event calendar item »
De Semantic MediaWiki - Sandbox
(add) |
(Added rudimentary TemplateData) Balise : Éditeur de wikicode 2017 |
||
Ligne 31 : | Ligne 31 : | ||
|} __NOFACTBOX__ {{#default_form:Event calendar item}} {{#subobject:|Has event={{{event|}}}|Has event start={{{start|}}}|Has event end={{{end|}}}|Has event type={{{type|}}}|Has event location={{{location|}}}|Has event icon={{#switch: {{{type|}}}|Meeting =File:Event-meeting-icon.png|Presentation=File:Event-presentation-icon.png|Talk=File:Event-talk-icon.png }}|Has event color={{#switch: {{{type|}}}|Meeting=#E9AF32|Presentation=#A0D8F1|Talk=#BF381A|Party=#E07628 }}|Has event description={{{description|}}} }} | |} __NOFACTBOX__ {{#default_form:Event calendar item}} {{#subobject:|Has event={{{event|}}}|Has event start={{{start|}}}|Has event end={{{end|}}}|Has event type={{{type|}}}|Has event location={{{location|}}}|Has event icon={{#switch: {{{type|}}}|Meeting =File:Event-meeting-icon.png|Presentation=File:Event-presentation-icon.png|Talk=File:Event-talk-icon.png }}|Has event color={{#switch: {{{type|}}}|Meeting=#E9AF32|Presentation=#A0D8F1|Talk=#BF381A|Party=#E07628 }}|Has event description={{{description|}}} }} | ||
</includeonly> | </includeonly> | ||
+ | <noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "event": {}, | ||
+ | "start": { | ||
+ | "type": "date" | ||
+ | }, | ||
+ | "end": { | ||
+ | "type": "date" | ||
+ | }, | ||
+ | "type": {}, | ||
+ | "location": {}, | ||
+ | "description": {} | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Version du 18 décembre 2019 à 14:51
This is an example template that belongs to Event calendar.
UTC
0
See also
Example
Aucune description.
Paramètre | Description | Type | Statut | |
---|---|---|---|---|
Event | event | aucune description | Inconnu | facultatif |
Start | start | aucune description | Date | facultatif |
End | end | aucune description | Date | facultatif |
Type | type | aucune description | Inconnu | facultatif |
Location | location | aucune description | Inconnu | facultatif |
Description | description | aucune description | Inconnu | facultatif |