Template:InheritOwner: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Created for use in several IS element documentation sites) |
(Documentation) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
* {{Attr|ownerName}} | <includeonly>* {{Attr|ownerName}} {{AddAnn|{{{ownerName|}}}|{{{ownerName_de|}}} }} | ||
* {{Attr|uic-no}} < | * {{Attr|uic-no}} {{AddAnn|{{{uic-no|}}}|{{{uic-no_de|}}} }}</includeonly><noinclude> | ||
==Usage== | |||
This template lists the attributes ''ownerChange'' and ''uic-no'' and allows for comments on both attributes in English as well as in German. | |||
===Arguments=== | |||
The template has four optional arguments: | |||
*ownerName: English comment on ownerName | |||
*ownerName_de: German comment on ownerName | |||
*uic-no: English comment on uic-no | |||
*uic-no_de: German comment on uic-no | |||
===Dependencies=== | |||
the template builds on [[Template:Attr]] and [[Template:AddAnn]]. No other templates depend on it. | |||
==Examples== | |||
<pre>{{InheritOwner}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|ownerName}} {{AddAnn|| }} | |||
* {{Attr|uic-no}} {{AddAnn|| }} | |||
|} | |||
<pre>{{InheritOwner | |||
|ownerName=English comment on ownerName | |||
|ownerName_de=German comment on ownerName | |||
|uic-no=English comment on uic-no | |||
|uic-no_de=German comment on uic-no | |||
}}</pre> | |||
delivers | |||
{|border="1" | |||
| | |||
* {{Attr|ownerName}} {{AddAnn|English comment on ownerName|German comment on ownerName }} | |||
* {{Attr|uic-no}} {{AddAnn|English comment on uic-no|German comment on uic-no }} | |||
|} | |||
The template is employed by [[IS:owner]] and [[IS:ownerChange]]. | |||
[[Category:AttributeTemplate]]</noinclude> |
Latest revision as of 16:00, 22 February 2016
Usage
This template lists the attributes ownerChange and uic-no and allows for comments on both attributes in English as well as in German.
Arguments
The template has four optional arguments:
- ownerName: English comment on ownerName
- ownerName_de: German comment on ownerName
- uic-no: English comment on uic-no
- uic-no_de: German comment on uic-no
Dependencies
the template builds on Template:Attr and Template:AddAnn. No other templates depend on it.
Examples
{{InheritOwner}}
delivers
|
{{InheritOwner |ownerName=English comment on ownerName |ownerName_de=German comment on ownerName |uic-no=English comment on uic-no |uic-no_de=German comment on uic-no }}
delivers
|
The template is employed by IS:owner and IS:ownerChange.