Template:InheritBase: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
m (1 revision imported: http→https) |
||
(2 intermediate revisions by 2 users not shown) | |||
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|https://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 17: | ||
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|https://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 23: | ||
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|https://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 17:21, 15 February 2021
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.