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 1: Zeile 1:
<includeonly>{{#ifeq: {{{value|}}} | | {{#vardefine: and | }}<!--
<includeonly>{{#ifeq: {{{value|}}} | | {{#vardefine: and | }}<!--
-->{{ #vardefine: i | 0 }}<!--
-->{{#vardefine: i | 0 }}<!--
-->{{#vardefine: s | {{{value2|}}}}}<!--
-->{{#vardefine: s | {{{value2|}}}}}<!--
-->{{#while:
-->{{#while:

Version vom 23. August 2012, 10:10 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 }}