Template:AddAnn: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
No edit summary |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
*The second one for a German annotation | *The second one for a German annotation | ||
===Dependencies=== | ===Dependencies=== | ||
The template depends on [[Template:Ann]] and [[Template:Deu]]. There is a big number of templates depending on it, eg [[ | The template depends on [[Template:Ann]] and [[Template:Deu]]. There is a big number of templates depending on it, eg [[Template:InheritAnyAttribute]]. | ||
==Example== | ==Example== | ||
<nowiki>{{addAnn}}</nowiki> | <nowiki>{{addAnn}}</nowiki> | ||
delivers nothing at all | delivers nothing at all. | ||
<nowiki>{{addAnn||German Annotation}}</nowiki> | <nowiki>{{addAnn||German Annotation}}</nowiki> | ||
Line 17: | Line 17: | ||
delivers | delivers | ||
<br/><span style="color:#0000FF">''German Annotation''</span> | |||
<nowiki>{{addAnn|English Annotation|German Annotation}}</nowiki> | <nowiki>{{addAnn|English Annotation|German Annotation}}</nowiki> | ||
Line 23: | Line 23: | ||
delivers | delivers | ||
<br/>''English Annotation''<br/><span style="color:#0000FF">''German Annotation''</span> | |||
[[Category:MarkupTemplate]]</noinclude> | [[Category:MarkupTemplate]] | ||
{{interwiki}} | |||
</noinclude> |
Latest revision as of 11:00, 14 August 2020
Usage
This template is used to depict annotations both in English and in German.
Arguments
The template has two unnamed optional arguments:
- The first one for an English Annotation
- The second one for a German annotation
Dependencies
The template depends on Template:Ann and Template:Deu. There is a big number of templates depending on it, eg Template:InheritAnyAttribute.
Example
{{addAnn}}
delivers nothing at all.
{{addAnn||German Annotation}}
delivers
German Annotation
{{addAnn|English Annotation|German Annotation}}
delivers
English Annotation
German Annotation