Template:InheritSpecialService: Difference between revisions
[unchecked revision] | [checked revision] |
(Category added) |
(added description of "exclude", "include" attributes, deleted missing info block) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{elementDocu| | <includeonly>{{elementDocu| | ||
elementName = specialService | elementName = specialService | ||
|semantics = | |semantics = | ||
The Element {{{selfLink|FIXME}}} describes a calendar based modification of the {{TT:Doc|operatingPeriod}} by including or excluding certain days or periods. The maximal duration of the underlying {{TT:Doc|timetablePeriod}} and {{TT:Doc|operatingPeriod}} may not be expanded with a this {{{selfLink|FIXME}}}. | The Element {{{selfLink|FIXME}}} describes a calendar based modification of the {{TT:Doc|operatingPeriod}} by including or excluding certain days or periods. The maximal duration of the underlying {{TT:Doc|timetablePeriod}} and {{TT:Doc|operatingPeriod}} may not be expanded with a this {{{selfLink|FIXME}}}. {{AddAnn|{{{semantics_en|}}}| }} | ||
{{Deu|Das Element {{{selfLink|FIXME}}} beschreibt die auf einen Kalender bezogene Modifizierung einer Verkehrsperiode {{TT:Doc|operatingPeriod}} um einzelne Zusatz- und/oder Ausfalltage oder auch Zusatz- und/oder Ausfallperioden. Die maximale Dauer der zugrundeliegenden Fahrplanperiode {{TT:Doc|timetablePeriod}} beziehungsweise der darauf basierenden Verkehrsperiode {{TT:Doc|operatingPeriod}} darf dabei aber nicht erweitert werden. | {{Deu|Das Element {{{selfLink|FIXME}}} beschreibt die auf einen Kalender bezogene Modifizierung einer Verkehrsperiode {{TT:Doc|operatingPeriod}} um einzelne Zusatz- und/oder Ausfalltage oder auch Zusatz- und/oder Ausfallperioden. Die maximale Dauer der zugrundeliegenden Fahrplanperiode {{TT:Doc|timetablePeriod}} beziehungsweise der darauf basierenden Verkehrsperiode {{TT:Doc|operatingPeriod}} darf dabei aber nicht erweitert werden.}} {{AddAnn| |{{{semantics_de|}}} }} | ||
|parent = {{{parentLink|FIXME}}} | |parent = {{{parentLink|FIXME}}} | ||
|childs=''None'' | |||
|minocc=0 | |||
|maxocc=∞ | |||
|inheritedAttributes=''None'' | |||
|ownAttributes = | |ownAttributes = | ||
* {{Attr|type}}: It has to follow the constraints of {{XsdType|string}}. | * {{Attr|type}}: It has to follow the constraints of {{XsdType|string}}. {{AddAnn|{{{type|}}}|{{{type_de|}}} }} Possible values are: | ||
:* {{Enum|include}} | :* {{Enum|include}} for additional traffic days | ||
:* {{Enum|exclude}} | :* {{Enum|exclude}} to exclude days | ||
* {{Attr|singleDate}}: This is used to include or exclude a single day. {{AddAnn|{{{singleDate|}}}|{{{singleDate_de|}}} }} | |||
* {{Attr|startDate}}: This is used to include or exclude a time period. {{AddAnn|{{{startDate|}}}|{{{startDate_de|}}} }}{{StartEndDoc}} | |||
* {{Attr|endDate}}: This is used to include or exclude a time period. {{AddAnn|{{{endDate|}}}|{{{endDate_de|}}} }}{{StartEndDoc}} | |||
* {{Attr|startTime}}: This is used for a more detailed description of the time period. {{AddAnn|{{{startTime|}}}|{{{startTime_de|}}} }} | |||
* {{Attr|endTime}}: This is used for a more detailed description of the time period. {{AddAnn|{{{endTime|}}}|{{{endTime_de|}}} }} | |||
{{InheritAnyAttribute | |||
|comment={{intro|2.3}} | |||
|anyAttribute = | |||
|anyAttribute_de = | |||
}} | |||
|constraints = | |||
* {{Attr|type}} {{XsdType|string}}, mandatory | |||
* {{Attr| | |||
* {{Attr| | * {{Attr|singleDate}} {{XsdType|date}}, optional | ||
* {{Attr| | * {{Attr|startDate}} {{XsdType|date}}, optional | ||
* {{Attr| | * {{Attr|endDate}} {{XsdType|date}}, optional | ||
* {{Attr|startTime}} {{XsdType|time}}, optional; shall be lower or equal {{Attr|endDate}} if both are used. | |||
* {{Attr|endTime}} {{XsdType|time}}, optional; shall be higher or equal {{Attr|startDate}} if both are used. | |||
{{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }} | |||
|semcon={{startEndCon}} | |||
|example = | |example = | ||
<specialService type="include" singleDate="2009-12-24"/> | <specialService type="include" singleDate="2009-12-24"/> | ||
| | {{AddAnn|{{{example_en|}}}|{{{example_de|}}} }} | ||
}}<noinclude> | }}</includeonly><noinclude>{{TemplateDocu}}</noinclude> |
Latest revision as of 16:12, 25 November 2022
Usage
This is an Element Template. Element templates are intended to avoid routine work in railML® element documentation. These templates are very specific and are therefore documented uniformely by Template:TemplateDocu. They are collected in Category:Element Template and are based on Template:ElementDocu. They represent Template:ElementDoku with specific values and hand all other parameters through to Template:ElementDoku. If you want to use or handle an Element Template, you have to examine the code to find out, which arguments are set, and you have to be careful, because occationally arguments will be renamed, so that the use of argument names of Template ElementDoku may cause errors.
Arguments
As this is a bulk documentation, we do not explain the specific arguments of element templates.
Dependencies
As this is a bulk documentation, we do not explain the specific dependencies of element templates. You can find out, which other templates the current template supports by following this link. You can find out easily, which other templates the current template employs, as templates are included via {{doubble braces}}.
Example
As this is a bulk documentation, we do not offer specific examples of element templates. You can find in the field examples by following this link.