Template:InheritAnyAttribute: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
* {{Attr|xs:anyAttribute}}:{{#if:{{{comment|}}}| {{{comment}}}|}} This provides an extension point for non-railML attributes in a foreign namespace. [[CO:usingAny|How to use it?]] {{AddAnn|{{{anyAttribute|}}}|{{{anyAttribute_de|}}} }} | <includeonly>* {{Attr|xs:anyAttribute}}:{{#if:{{{comment|}}}| {{{comment}}}|}} This provides an extension point for non-railML attributes in a foreign namespace. [[CO:usingAny|How to use it?]] {{AddAnn|{{{anyAttribute|}}}|{{{anyAttribute_de|}}}}}</includeonly><noinclude> | ||
<noinclude> | |||
==Usage== | ==Usage== | ||
This Template is intended to list the {{Attr|xs:anyAttribute}} of a subscheme. It has three optional arguments: | This Template is intended to list the {{Attr|xs:anyAttribute}} of a subscheme. It has three optional arguments: | ||
Line 15: | Line 14: | ||
}}</nowiki> | }}</nowiki> | ||
delivers | delivers | ||
{{ | * {{Attr|xs:anyAttribute}}:{{#if:| {{{comment}}}|}} This provides an extension point for non-railML attributes in a foreign namespace. [[CO:usingAny|How to use it?]] {{AddAnn|| }} | ||
<nowiki>{{InheritAnyAttribute|comment={{Intro|2.0}}}}</nowiki> | <nowiki>{{InheritAnyAttribute|comment={{Intro|2.0}}}}</nowiki> | ||
delivers | delivers | ||
{{ | * {{Attr|xs:anyAttribute}}:{{#if:{{Vers|introduced with version 2.0}}| {{Vers|introduced with version 2.0}}|}} This provides an extension point for non-railML attributes in a foreign namespace. [[CO:usingAny|How to use it?]] {{AddAnn|| }} | ||
<nowiki>{{InheritAnyAttribute | <nowiki>{{InheritAnyAttribute | ||
|anyAttribute = An English explanation | |anyAttribute = An English explanation | ||
|anyAttribute_de = Eine deutsche Erklärung | |anyAttribute_de = Eine deutsche Erklärung | ||
}}</nowiki> delivers | }}</nowiki> | ||
{{ | |||
|anyAttribute | delivers | ||
| | |||
}} | * {{Attr|xs:anyAttribute}}:{{#if:| {{{comment}}}|}} This provides an extension point for non-railML attributes in a foreign namespace. [[CO:usingAny|How to use it?]] {{AddAnn|An English explanation|Eine deutsche Erklärung }} | ||
[[Category:AttributeTemplate]] | [[Category:AttributeTemplate]] | ||
</noinclude> | </noinclude> |
Revision as of 20:04, 14 February 2016
Usage
This Template is intended to list the xs:anyAttribute of a subscheme. It has three optional arguments:
- comment: allows for a comment at the beginning of the description. This option was essentially introduced to indicate to which versions the attribute applies.
- anyAttribute: is intended for an broader comment in Englisch at the end of the description.
- anyAttribute_de is intended for a broader comment in German at the end of the description.
Examples
{{InheritAnyAttribute}} or equally
{{InheritAnyAttribute |comment= |anyAttribute = |anyAttribute_de = }} delivers
- xs:anyAttribute: This provides an extension point for non-railML attributes in a foreign namespace. How to use it?
{{InheritAnyAttribute|comment={{Intro|2.0}}}}
delivers
- xs:anyAttribute: (introduced with version 2.0) This provides an extension point for non-railML attributes in a foreign namespace. How to use it?
{{InheritAnyAttribute
|anyAttribute = An English explanation
|anyAttribute_de = Eine deutsche Erklärung
}}
delivers
- xs:anyAttribute: This provides an extension point for non-railML attributes in a foreign namespace. How to use it?
An English explanation
Eine deutsche Erklärung