Template:AddAnn: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Vorlage→Template)
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 [[Vorlage:InheritAnyAttribute]].
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>

Revision as of 17:33, 19 July 2016

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