Template:InheritBase: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
(template:external) |
||
Line 1: | Line 1: | ||
<includeonly>* {{Attr|xml:base}}: This provides outsourcing of the {{{selfLink|FIXME}}} element with | <includeonly>* {{Attr|xml:base}}: This provides outsourcing of the {{{selfLink|FIXME}}} element with {{external|http://www.w3.org/TR/xinclude|xi:include mechanism}}. [[CO:outsourcing | How to use it?]] {{AddAnn|{{{base|}}}|{{{base_de|}}} }}</includeonly><noinclude> | ||
==Usage== | ==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]]. | 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]]. | ||
Line 16: | Line 16: | ||
delivers | delivers | ||
* {{Attr|xml:base}}: This provides outsourcing of the [[TT:timetable|timetable]] element with | * {{Attr|xml:base}}: This provides outsourcing of the [[TT:timetable|timetable]] element with {{external|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> | <nowiki>{{InheritBase|selfLink=[[TT:timetable|timetable]]|base=An English comment.|base_de=Ein deutscher Kommentar.}}</nowiki> | ||
Line 22: | Line 22: | ||
delivers | delivers | ||
* {{Attr|xml:base}}: This provides outsourcing of the [[TT:timetable|timetable]] element with | * {{Attr|xml:base}}: This provides outsourcing of the [[TT:timetable|timetable]] element with {{external|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> | [[Category:AttributeTemplate]]</noinclude> |
Revision as of 14:09, 15 January 2018
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 (external link). 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 (external link). How to use it?
An English comment.
Ein deutscher Kommentar.