Template:Any: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Vorlage→Template)
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><tt><[[CO:usingAny|xs:any]]></tt></includeonly><noinclude>
<includeonly>{{child|subschema=XS|name=any|multiplicity={{{multiplicity|}}}}}</includeonly><noinclude>
==Usage==
==Usage==
This template creates a standardized link for Any-elements (see [[CO:usingAny]] to learn, what this is). The link is formated analogously as with the templates [[Template:TT:Tag]], [[Template:IS:Tag]], [[Template:RS:Tag]] and [[Template:CO:Tag]], but the usage is different, as it works without an argument, because the link target is not variable. It will allways link to [[CO:usingAny]] (but has ''[[CO:usingAny|XS:Any]]'' as its link text).
This template creates a standardized link for Any-elements (see [[CO:usingAny]] to learn, what this is).
==Example==
==Example==
<nowiki>{{Any}}</nowiki>
<nowiki>{{Any}}</nowiki>
Line 8: Line 8:


{{Any}}
{{Any}}
<nowiki>{{Any|multiplicity=0..1}}</nowiki>
delivers
{{Any|multiplicity=0..1}}


[[Category:LinkTemplate]]
[[Category:LinkTemplate]]
</noinclude>
</noinclude>

Latest revision as of 17:28, 28 February 2020

Usage

This template creates a standardized link for Any-elements (see CO:usingAny to learn, what this is).

Example

{{Any}}

delivers

any ()

{{Any|multiplicity=0..1}}

delivers

any (0..1)