Template:Uml: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
|||
Line 1: | Line 1: | ||
<includeonly>https://wiki3.railML.org/DataModel/{{{2|{{current}}}}}/{{{1}}}</includeonly><noinclude> | <includeonly>{{#switch:{{#sub:{{{2}}}|0|1}} | ||
|3=https://wiki3.railML.org/DataModel/{{{2|{{current}}}}}/{{{1}}} | |||
|#default=https://wiki2.railML.org/DataModel/{{{2|{{current}}}}}/{{{1}}}}}</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
Template to produce links to UML-visualizations | Template to produce links to UML-visualizations | ||
Line 6: | Line 8: | ||
*'''2:''' the version (default: [[template:current|<nowiki>{{current}}</nowiki>]] | *'''2:''' the version (default: [[template:current|<nowiki>{{current}}</nowiki>]] | ||
==Examples== | ==Examples== | ||
<pre>{{uml| | <pre>{{uml|IS}}</pre>delivers: | ||
{{uml|CO}} | {{uml|IS}} | ||
<pre>{{uml|CO|3.1}}</pre>delivers: | |||
{{uml|CO|3.1}} | |||
<pre>{{uml|IL|3.1}}</pre>delivers: | <pre>{{uml|IL|3.1}}</pre>delivers: |
Latest revision as of 17:22, 25 November 2021
Usage
Template to produce links to UML-visualizations
Arguments
- 1: the subschema (for 3.1: CO, IL, IS, RTM, GML)
- 2: the version (default: {{current}}
Examples
{{uml|IS}}
delivers:
https://wiki2.railML.org/DataModel/2.5/IS
{{uml|CO|3.1}}
delivers:
https://wiki3.railML.org/DataModel/3.1/CO
{{uml|IL|3.1}}
delivers: