Template:StartEndConWithContext: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Net Template to document semcon start end with context)
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{semcon|Any '''starting time stamp''' (as it may result e.g. from a combination of ''startDate'' and ''startTime'') shall be lower or equal any '''ending time stamp''' (e.g. ''endDate'') if both are given. Must not overlap with other {{{1}}} validity periods of the same enclosing {{{2}}}. {{{3|}}}|status={{{status|approved}}}|proposed={{{proposed|2018-11-12}}}|approved={{{approved|2019-03-21}}}|id=TT:001}}</includeonly><noinclude>
<includeonly>{{semcon|Any '''starting time stamp''' (as it may result e.g. from a combination of ''startDate'' and ''startTime'') shall be lower or equal any '''ending time stamp''' (e.g. ''endDate'') if both are given. Must not overlap with other {{{1}}} validity periods of the same enclosing {{{2}}}. {{{3|}}}|status={{{status|approved}}}|proposed={{{proposed|2018-11-12}}}|approved={{{approved|2019-03-21}}}|id={{#if:{{{4|}}}|{{{4|}}}|TT:001}}}}</includeonly><noinclude>
==Usage==
==Usage==
This template depicts a [[dev:Semantic Constraints|semantic constraint]].
This template depicts a [[dev:Semantic Constraints|semantic constraint]].
Line 15: Line 15:
{{StartEndConWithContext|FocusElement|Container}}
{{StartEndConWithContext|FocusElement|Container}}


<pre>{{StartEndConWithContext|FocusElement|Container|Additional Comment|XX:123}}</pre>
delivers
{{StartEndConWithContext|FocusElement|Container|Additional Comment|XX:123}}
[[category:markupTemplate]]
[[category:markupTemplate]]
</noinclude>
</noinclude>

Latest revision as of 12:40, 14 May 2024

Usage

This template depicts a semantic constraint.

Arguments

None

Dependencies

Uses template:note

Examples

{{StartEndConWithContext|FocusElement|Container|Additional Comment}}

delivers

Private-cloud-icon.png Semantic Constraint "TT:001":
 
Any starting time stamp (as it may result e.g. from a combination of startDate and startTime) shall be lower or equal any ending time stamp (e.g. endDate) if both are given. Must not overlap with other FocusElement validity periods of the same enclosing Container. Additional Comment
 
Proposed on November 12th 2018
Approved on March 21st 2019
FIXME: add Link to discussion!
Please, recognize our guidelines on semantic constraints
{{StartEndConWithContext|FocusElement|Container}}

delivers

Private-cloud-icon.png Semantic Constraint "TT:001":
 
Any starting time stamp (as it may result e.g. from a combination of startDate and startTime) shall be lower or equal any ending time stamp (e.g. endDate) if both are given. Must not overlap with other FocusElement validity periods of the same enclosing Container.
 
Proposed on November 12th 2018
Approved on March 21st 2019
FIXME: add Link to discussion!
Please, recognize our guidelines on semantic constraints
{{StartEndConWithContext|FocusElement|Container|Additional Comment|XX:123}}

delivers

Private-cloud-icon.png Semantic Constraint "XX:123":
 
Any starting time stamp (as it may result e.g. from a combination of startDate and startTime) shall be lower or equal any ending time stamp (e.g. endDate) if both are given. Must not overlap with other FocusElement validity periods of the same enclosing Container. Additional Comment
 
Proposed on November 12th 2018
Approved on March 21st 2019
FIXME: add Link to discussion!
Please, recognize our guidelines on semantic constraints