Template:InheritBase: Difference between revisions
[unchecked revision] | [unchecked revision] |
(Parameter corrected) |
No edit summary |
||
Line 1: | Line 1: | ||
* {{Attr|xml:base}}: This provides outsourcing of the {{{selfLink|FIXME}}} element with [http://www.w3.org/TR/xinclude/ xi:include] mechanism. [[CO:outsourcing | How to use it?]] {{AddAnn|{{{base|}}}|{{{base_de|}}} }} <noinclude>[[Category:AttributeTemplate]]</noinclude> | <nowiki>* {{Attr|xml:base}}: This provides outsourcing of the {{{selfLink|FIXME}}} element with [http://www.w3.org/TR/xinclude/ xi:include] mechanism. [[CO:outsourcing | How to use it?]] {{AddAnn|{{{base|}}}|{{{base_de|}}} }}</nowiki><noinclude> | ||
==Usage== | |||
This template provides a list element ''xml:base''. It is used for the list of inherited attributes of an element, and therefore only occurs within the attribunte ''inheritedAttributes'' of [[template:ElementDocu]]. | |||
===Arguments=== | |||
The template has one obligatory and two optional arguments: | |||
*obligatory: | |||
**selfLink: The name of the Element — usually the article name | |||
*optional: | |||
**base: An English comment on the xml base | |||
**base_de: A German comment on the xml base | |||
===Dependencies=== | |||
This template depends on [[Template:Attr]] and [[Template:AddAnn]]. It is used in the context of [[Template:ElementDocu]], but they do not depend on each other. | |||
==Examples== | |||
<nowiki>{{InheritBase|selfLink=[[TT:timetable|timetable]]}}</nowiki> | |||
delivers | |||
* {{Attr|xml:base}}: This provides outsourcing of the [[TT:timetable|timetable]] element with [http://www.w3.org/TR/xinclude/ xi:include] mechanism. [[CO:outsourcing | How to use it?]] {{AddAnn|| }} | |||
<nowiki>{{InheritBase|selfLink=[[TT:timetable|timetable]]|base=An English comment.|base_de=Ein deutscher Kommentar.}}</nowiki> | |||
delivers | |||
* {{Attr|xml:base}}: This provides outsourcing of the [[TT:timetable|timetable]] element with [http://www.w3.org/TR/xinclude/ xi:include] mechanism. [[CO:outsourcing | How to use it?]] {{AddAnn|An English comment.|Ein deutscher Kommentar. }} | |||
[[Category:AttributeTemplate]]</noinclude> |
Revision as of 21:13, 14 February 2016
* {{Attr|xml:base}}: This provides outsourcing of the {{{selfLink|FIXME}}} element with [http://www.w3.org/TR/xinclude/ xi:include] mechanism. [[CO:outsourcing | How to use it?]] {{AddAnn|{{{base|}}}|{{{base_de|}}} }}
Usage
This template provides a list element xml:base. It is used for the list of inherited attributes of an element, and therefore only occurs within the attribunte inheritedAttributes of template:ElementDocu.
Arguments
The template has one obligatory and two optional arguments:
- obligatory:
- selfLink: The name of the Element — usually the article name
- optional:
- base: An English comment on the xml base
- base_de: A German comment on the xml base
Dependencies
This template depends on Template:Attr and Template:AddAnn. It is used in the context of Template:ElementDocu, but they do not depend on each other.
Examples
{{InheritBase|selfLink=[[TT:timetable|timetable]]}}
delivers
- xml:base: This provides outsourcing of the timetable element with xi:include mechanism. How to use it?
{{InheritBase|selfLink=[[TT:timetable|timetable]]|base=An English comment.|base_de=Ein deutscher Kommentar.}}
delivers
- xml:base: This provides outsourcing of the timetable element with xi:include mechanism. How to use it?
An English comment.
Ein deutscher Kommentar.