Vorlage:Glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 35: Zeile 35:
 
| {{#ifeq: {{#var:linkzahl}} |0 | <!--do nothing -->
 
| {{#ifeq: {{#var:linkzahl}} |0 | <!--do nothing -->
 
   | {{#if: {{#var:mainlink}}  
 
   | {{#if: {{#var:mainlink}}  
     |<span class={{#var:g}}_links> → <strong>[[ {{{link|}}} | {{SUBPAGENAME:{{#var:mainlink}} }} ]]</strong></span> }}<!--
+
     |<span class={{#var:g}}_links> → <strong>[[ {{{link|}}} | {{SUBPAGENAME:{{{link|}}} }} ]]</strong></span> }}<!--
 
-->{{#dpl:
 
-->{{#dpl:
 
   |category = Artikel
 
   |category = Artikel
 
   |uses = glossar:{{#var:anker}}
 
   |uses = glossar:{{#var:anker}}
   |nottitlematch = {{#regex: {{#var:mainlink}} | /(.*?):(.*)/ |$2 }}
+
   |nottitlematch = {{PAGENAME:{{{link|}}} }}
 
   |ordermethod=size
 
   |ordermethod=size
 
   |order = descending
 
   |order = descending
Zeile 54: Zeile 54:
 
| {{#if: {{#var:mainlink}}  
 
| {{#if: {{#var:mainlink}}  
 
   |<span class={{#var:g}}_links> → Hauptartikel zu „{{{romaji|}}}“: <!--
 
   |<span class={{#var:g}}_links> → Hauptartikel zu „{{{romaji|}}}“: <!--
-->[[ {{{link|}}}#_{{#var:anker}} |{{SUBPAGENAME: {{#var:mainlink}} }} ]]</span> }}<!--
+
-->[[ {{{link|}}}#_{{#var:anker}} |{{SUBPAGENAME: {{{link|}}} }} ]]</span> }}<!--
 
-->{{#ifeq: {{#expr: {{#var:linkzahl}} > 1 }} | 1  
 
-->{{#ifeq: {{#expr: {{#var:linkzahl}} > 1 }} | 1  
 
   | '''Alle Seiten'''
 
   | '''Alle Seiten'''

Version vom 14. Juli 2014, 22:41 Uhr

siehe auch{{#dpl:

 |category = Artikel
 |uses = glossar:{{#multireplace: 
 |/['()-]/=
 |/\s/=
 |/Ō/=ou
 |/ō/=ou
 |/Ū/=uu
 |/ū/=uu

}}

 |nottitlematch = 
 |ordermethod=size
 |order = descending
 |count = 5
 |format = , → [[%PAGE%#_{{#multireplace: 
 |/['()-]/=
 |/\s/=
 |/Ō/=ou
 |/ō/=ou
 |/Ū/=uu
 |/ū/=uu

}}|%TITLE%]]

 |suppresserrors=true

}}

Code

{{Glossar
| stichwort = {{{1|}}}
| code = <!-- für Sonderfälle -->
| romaji =
| kanji = 
| text =
| sprache = <!-- chin. kor. -->
| link = <!-- wichtigste Seite -->
| tags =
}}