Vorlage:BibTeX-name: Unterschied zwischen den Versionen

aus GlossarWiki, der Glossar-Datenbank der Fachhochschule Augsburg
Kowa (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Kowa (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 23: Zeile 23:
   {{BibTeX-name |                                    value2 = W. Kowa, H.L. Otto }}
   {{BibTeX-name |                                    value2 = W. Kowa, H.L. Otto }}
   {{BibTeX-name | value2 = a b, c d, e f, g h, i j, k l, m n | }}
   {{BibTeX-name | value2 = a b, c d, e f, g h, i j, k l, m n | }}
 
[[Kategorie:Vorlage:Quelle]]
[[Kategorie:Vorlage:Hilfsvorlage]]
</noinclude>
</noinclude>

Version vom 25. August 2012, 15:35 Uhr

Zweck

Diese Vorlage formatiert eine Liste von Namen ins eine BiTex-konforme Namensliste um.

Aufruf

{{BibTeX-name | value = Kowa, W. and Otto, H.\,L. | value2 = W. Kowa, H.L. Otto }}
{{BibTeX-name |                                     value2 = W. Kowa, H.L. Otto }}
{{BibTeX-name | value2 = a b, c d, e f, g h, i j, k l, m n }}

Ergebnisse

 Kowa, W. and Otto, H.\,L.
 {{#regex: W. Kowa | /(.+?)\s+(.+)/ | $2, $1 }} and {{#regex: H.L. Otto | /(.+?)\s+(.+)/ | $2, $1 }}
 {{#regex: a b | /(.+?)\s+(.+)/ | $2, $1 }} and {{#regex: c d | /(.+?)\s+(.+)/ | $2, $1 }} and {{#regex: e f | /(.+?)\s+(.+)/ | $2, $1 }} and {{#regex: g h | /(.+?)\s+(.+)/ | $2, $1 }} and {{#regex: i j | /(.+?)\s+(.+)/ | $2, $1 }} and {{#regex: k l | /(.+?)\s+(.+)/ | $2, $1 }} and {{#regex: m n | /(.+?)\s+(.+)/ | $2, $1 }}