Vorlage:Glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 44: Zeile 44:
 
}} }} }} }}<!--
 
}} }} }} }}<!--
 
-->{{#vardefine:links_all  
 
-->{{#vardefine:links_all  
| {{DISPLAYTITLE: <span>Glossareintrag</span> {{{romaji|}}} }}{{#if: {{#var:mainlink}}  
+
| {{#if: {{#var:mainlink}}  
 
   |<span class={{#var:g}}_links> → Hauptartikel zu „{{{romaji|}}}“: <!--
 
   |<span class={{#var:g}}_links> → Hauptartikel zu „{{{romaji|}}}“: <!--
 
-->[[ {{{link|}}} | {{#regex: {{#var:mainlink}} | /(.*?):(.*)/ |$2 }} ]]</span> }}<!--
 
-->[[ {{{link|}}} | {{#regex: {{#var:mainlink}} | /(.*?):(.*)/ |$2 }} ]]</span> }}<!--
Zeile 71: Zeile 71:
 
--><span class={{#var:g}}_text>{{{text|}}}</span><!-- TEXT
 
--><span class={{#var:g}}_text>{{{text|}}}</span><!-- TEXT
 
-->{{#if: {{#var:links}} | <span class={{#var:g}}_linkbox><!-- LINKBOX
 
-->{{#if: {{#var:links}} | <span class={{#var:g}}_linkbox><!-- LINKBOX
-->{{#ifeq: {{NAMESPACE}} | Glossar | {{#var:links_all}} | <!-- GLOSSAR
+
-->{{#ifeq: {{NAMESPACE}} | Glossar | {{DISPLAYTITLE: <span>Glossareintrag</span> {{{romaji|}}} }}{{#var:links_all}} | <!-- GLOSSAR
 
--><b>siehe auch</b>{{#var:links}} }} </span>}}<!-- TOOLTIP
 
--><b>siehe auch</b>{{#var:links}} }} </span>}}<!-- TOOLTIP
 
--></small></span><!--
 
--></small></span><!--

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