Vorlage:Glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
(Weiterleitung auf Vorlage:G entfernt)
Markierung: Entfernte Weiterleitung
(31 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:
 
VARIABLE
 
VARIABLE
  
-->{{#vardefine:g
+
-->{{#vardefine:g  
| {{#ifeq: {{NAMESPACE}} | Glossar | G | g }}
+
| {{#switch: {{NAMESPACE}}
 +
| Glossar = G_g
 +
| #default =  g
 +
}}
 
}}<!--
 
}}<!--
 
-->{{#vardefine:anker
 
-->{{#vardefine:anker
Zeile 71: Zeile 74:
  
 
-->{{#vardefine:links_all  
 
-->{{#vardefine:links_all  
| {{#if: {{#var:mainlink}}  
+
| {{#ifeq: {{#var:linkzahl}} |0 | <!--do nothing -->
  |<span class={{#var:g}}_links> → Mehr Information zu {{{romaji|}}} im Artikel <!--
+
  | '''Mehr zu „{{{romaji|}}}“:'''
-->„[[ {{{link|}}}#_{{#var:anker}} |{{SUBPAGENAME:  {{{link|}}} }}]]</span> }}<!--
 
-->{{#ifeq: {{#expr: {{#var:linkzahl}} > 1 }} | 1
 
  | '''Alle Artikel'''
 
 
{{#dpl:
 
{{#dpl:
 
   |category = Artikel
 
   |category = Artikel
 
   |uses = glossar:{{#var:anker}}
 
   |uses = glossar:{{#var:anker}}
 +
  |nottitlematch = metalog:karte
 
   |ordermethod=title
 
   |ordermethod=title
 
   |order = ascending
 
   |order = ascending
Zeile 166: Zeile 167:
 
| linksto = {{FULLPAGENAME}}
 
| linksto = {{FULLPAGENAME}}
 
| include = {bild}:titel, {bild}:titel_d, {bild}:genre
 
| include = {bild}:titel, {bild}:titel_d, {bild}:genre
| format = <div class=b_liste>,\n*<div class=b_bild> [[Bild:%TITLE%|180x180px]]</div><span class=b_small>[[%PAGE%|%TITLE%]]</span>, ,</div>
+
| format = <div class=b_liste>,\n*<div class=b_bild> [[Bild:%TITLE%|180x180px]]</div>, ,</div>
 
| secseparators =  <span class=b_genre> ,,,. , ,</span>  
 
| secseparators =  <span class=b_genre> ,,,. , ,</span>  
 
| ordermethod= size
 
| ordermethod= size
Zeile 174: Zeile 175:
 
}} <!--
 
}} <!--
  
Google Maps  
+
Maps (disabled)
  
 
-->
 
-->
{{#if: {{{map|}}}  
+
{{#if: {{{mapppppp|}}}  
|<div class=g_thema>{{#display_map: {{{map| }}}~ ~ ~ ~ ~{{{romaji|}}}
+
|<div class=g_thema>{{#display_map: {{{map| }}}~s.a. [[Metalog:Karte]]~ ~ ~ ~{{{romaji|}}}
 
| zoom= {{#if: {{{zoom|}}}| {{{zoom|}}} | 9 }}
 
| zoom= {{#if: {{{zoom|}}}| {{{zoom|}}} | 9 }}
 
| minzoom= 3
 
| minzoom= 3
Zeile 185: Zeile 186:
 
| height=400px  
 
| height=400px  
 
| controls= zoom, type  
 
| controls= zoom, type  
| icon= {{ucfirst:{{{icon|Star}}} }}_icon.png
+
| icon= {{ucfirst:{{#if:{{{icon|}}}|{{{icon|}}}|Star}} }}_icon.png
 +
| service= leaflet
 
}} </div> <!--
 
}} </div> <!--
 
-->{{#if: {{#regex: {{{map|}}}
 
-->{{#if: {{#regex: {{{map|}}}
 
<!-- Ausdruck aus Zahlen und Beistrich -->
 
<!-- Ausdruck aus Zahlen und Beistrich -->
 
  |/^[\d\.]+,\s*[\d\.]+$/ }}
 
  |/^[\d\.]+,\s*[\d\.]+$/ }}
|  [[Kategorie:Map_{{ucfirst: {{#if:{{{sprache|}}}|{{{sprache|}}}|Jap}} }}]]
+
|  [[Kategorie:Map_{{ucfirst: {{#if:{{{sprache|}}}
 +
  |{{#regex:{{{sprache|}}}
 +
    |/\./|}}
 +
  |Jap}} }}]]
 
}}
 
}}
 
}}
 
}}

Version vom 20. Dezember 2018, 14:56 Uhr

[[glossar: {{#multireplace:

 |/['()-]/=
 |/\s/=
 |/Ō/=ou
 |/ō/=ou
 |/Ū/=uu
 |/ū/=uu

}}| ]] siehe auch{{#dpl:

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

}}

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

}}|%TITLE%]] 

 |suppresserrors=true

}}

{{Glossar
| stichwort = {{{1|}}}
| code = <!-- für Sonderfälle -->
| romaji =
| kanji = 
| text =
| sprache = <!-- chin. kor. west.-->
| link = <!-- wichtigste Seite -->
| tags = <!-- Bauwerk, Bild, Fabelwesen, Geschichte, Gottheit, Kalender, 
            Konzept, Objekt, Ort, Person, Praxis, Schule, Text, Tier -->
| map= <!-- such-stichwort für google maps -->
| zoom= <!-- 5–19, 9 = standard -->
| type= <!-- satellite (maps) -->
| icon= <!-- Schrein oder Tempel -->
}}