Vorlage:Glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 24: Zeile 24:
 
   |resultsfooter=%PAGES%  
 
   |resultsfooter=%PAGES%  
 
   |noresultsfooter = 0
 
   |noresultsfooter = 0
 +
}} }}<!--
 +
-->{{#vardefine:mainlink
 +
| {{#ifeq: {{#multireplace: {{{link|}}} |/:\s/=:}} | {{FULLPAGENAME}}
 +
| <!-- nothing --> | {{{link|}}}
 
}} }}<!--
 
}} }}<!--
 
-->{{#vardefine:links  
 
-->{{#vardefine:links  
 
| {{#ifeq: {{#var:linkzahl}} |0 | <!--do nothing -->
 
| {{#ifeq: {{#var:linkzahl}} |0 | <!--do nothing -->
| <span class={{#var:g}}_links> → <strong>[[ {{{link|}}} |{{#if: {{#regex: {{{link|}}} | /(.*?):(.*)/ |$2 }}  
+
| <span class={{#var:g}}_links> → <strong>[[ {{{link|}}} |{{#if: {{#regex: {{#var:mainlink}} | /(.*?):(.*)/ |$2 }}  
 
| {{#regex: {{{link|}}} | /(.*?):(.*)/ |$2 }} | {{{link|}}} }}]]</strong></span><!--
 
| {{#regex: {{{link|}}} | /(.*?):(.*)/ |$2 }} | {{{link|}}} }}]]</strong></span><!--
 
-->{{#dpl:
 
-->{{#dpl:
 
   |category = Artikel
 
   |category = Artikel
 
   |uses = glossar:{{#var:anker}}
 
   |uses = glossar:{{#var:anker}}
   |nottitlematch = {{#regex: {{{link|}}} | /(.*?):(.*)/ |$2 }}
+
   |nottitlematch = {{#regex: {{#var:mainlink}} | /(.*?):(.*)/ |$2 }}
 
   |ordermethod=size
 
   |ordermethod=size
 
   |order = descending
 
   |order = descending

Version vom 14. Juli 2014, 16:31 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 =
}}