Vorlage:BibTeX-name: Unterschied zwischen den Versionen

aus GlossarWiki, der Glossar-Datenbank der Fachhochschule Augsburg
(Die Seite wurde neu angelegt: „<includeonly>{{#ifeq: {{{value|}}} | | {{#vardefine: and | }}<!-- -->{{ #vardefine: i | 0 }}<!-- -->{{#vardefine: s | {{{value2|}}}}}<!-- -->{{#while: | {{…“)
 
Keine Bearbeitungszusammenfassung
Zeile 20: Zeile 20:


=Ergebnisse=
=Ergebnisse=
{{BibTeX-name | value = Kowa, W. and Otto, H.\,L. | value2 = W. Kowa, H.L. Otto }}
  {{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 = 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:Hilfsvorlage]]
[[Kategorie:Vorlage:Hilfsvorlage]]
</noinclude>
</noinclude>

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