Template:RefElement: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
(+Freitext für @ref) |
||
Line 7: | Line 7: | ||
|semantics={{{semantics|}}} | |semantics={{{semantics|}}} | ||
|ownAttributes={{{attributes|}}} | |ownAttributes={{{attributes|}}} | ||
*{{attr|ref}}: Reference is required because it's the purpose of the element. | *{{attr|ref}}: {{{ref|Reference is required because it's the purpose of the element.}}} | ||
|constraints={{{constraints|}}} | |constraints={{{constraints|}}} | ||
*{{constraint|ref|rml|tGenericRef|required}} | *{{constraint|ref|rml|tGenericRef|required}} | ||
Line 17: | Line 17: | ||
* ''intro'' (optional): Introduction version or deprication version; if still supported. Fill with someting like <nowiki>{{intro|2.5}}</nowiki>; comp. [[template:intro]] and [[template:depr]]. | * ''intro'' (optional): Introduction version or deprication version; if still supported. Fill with someting like <nowiki>{{intro|2.5}}</nowiki>; comp. [[template:intro]] and [[template:depr]]. | ||
* ''semantics'' (optional): Addition to the default semantics | * ''semantics'' (optional): Addition to the default semantics | ||
* ''ref'' (optional): Text to replace the default attribute semantics of {{@|ref}} | |||
* ''attributes'' (optional): Any noninherited attributes | * ''attributes'' (optional): Any noninherited attributes | ||
* ''constraints'' (optional): Constraints for noninherited attributes | * ''constraints'' (optional): Constraints for noninherited attributes |
Latest revision as of 15:12, 10 June 2024
Usage
Template for elements that are essentially @ref-containers
Arguments
- parent (required): The parent element
- intro (optional): Introduction version or deprication version; if still supported. Fill with someting like {{intro|2.5}}; comp. template:intro and template:depr.
- semantics (optional): Addition to the default semantics
- ref (optional): Text to replace the default attribute semantics of @ref
- attributes (optional): Any noninherited attributes
- constraints (optional): Constraints for noninherited attributes
Examples
An example for the application of this template can be found here.