Vorlage:Glossar: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 5: | Zeile 5: | ||
-->{{#vardefine:g | -->{{#vardefine:g | ||
| {{#switch: {{NAMESPACE}} | | {{#switch: {{NAMESPACE}} | ||
− | | Glossar = G_g | + | | Glossar = G_g |
| #default = g | | #default = g | ||
}} | }} | ||
Zeile 21: | Zeile 21: | ||
-->{{#if: {{#var:anker}} | -->{{#if: {{#var:anker}} | ||
| {{#vardefine:linkzahl | | {{#vardefine:linkzahl | ||
− | | | + | | {{#dpl: |
|category = Artikel | |category = Artikel | ||
|uses = glossar:{{#var:anker}} | |uses = glossar:{{#var:anker}} | ||
Zeile 27: | Zeile 27: | ||
|resultsfooter=%PAGES% | |resultsfooter=%PAGES% | ||
|noresultsfooter = 0 | |noresultsfooter = 0 | ||
− | }} | + | }} }}<!-- |
Sprache für Kategorien | Sprache für Kategorien | ||
Zeile 58: | Zeile 58: | ||
| {{#if: {{#var:mainlink}} | | {{#if: {{#var:mainlink}} | ||
|<span class={{#var:g}}_links> → <strong>[[ {{{link|}}}#_{{#var:anker}} | {{SUBPAGENAME:{{{link|}}} }} ]]</strong> </span> }}<!-- | |<span class={{#var:g}}_links> → <strong>[[ {{{link|}}}#_{{#var:anker}} | {{SUBPAGENAME:{{{link|}}} }} ]]</strong> </span> }}<!-- | ||
− | --> | + | -->{{#dpl: |
|category = Artikel | |category = Artikel | ||
|uses = glossar:{{#var:anker}} | |uses = glossar:{{#var:anker}} | ||
Zeile 67: | Zeile 67: | ||
|format = ,<span class={{#var:g}}_links>→ [[%PAGE%#_{{#var:anker}}|%TITLE%]] </span> | |format = ,<span class={{#var:g}}_links>→ [[%PAGE%#_{{#var:anker}}|%TITLE%]] </span> | ||
|suppresserrors=true | |suppresserrors=true | ||
− | }} | + | }} {{#ifeq: {{#expr: {{#var:linkzahl}} > 5 }} | 1 |
| <span class={{#var:g}}_links> → [[glossar:{{#var:anker}}|mehr]]</span> | | <span class={{#var:g}}_links> → [[glossar:{{#var:anker}}|mehr]]</span> | ||
}} }} }} }}<!-- | }} }} }} }}<!-- | ||
Zeile 75: | Zeile 75: | ||
-->{{#vardefine:links_all | -->{{#vardefine:links_all | ||
| {{#ifeq: {{#var:linkzahl}} |0 | <!--do nothing --> | | {{#ifeq: {{#var:linkzahl}} |0 | <!--do nothing --> | ||
− | | '''Mehr zu „{{{romaji|}}}“:''' | + | | '''Mehr zu „{{{romaji|}}}“:''' |
− | + | {{#dpl: | |
|category = Artikel | |category = Artikel | ||
|uses = glossar:{{#var:anker}} | |uses = glossar:{{#var:anker}} | ||
Zeile 84: | Zeile 84: | ||
|format = ,<span class={{#var:g}}_links> → [[%PAGE%#_{{#var:anker}}|%PAGE%]]</span> | |format = ,<span class={{#var:g}}_links> → [[%PAGE%#_{{#var:anker}}|%PAGE%]]</span> | ||
|suppresserrors=true | |suppresserrors=true | ||
− | }} | + | }} }} }}<!-- |
Suchbegriff westlich | Suchbegriff westlich | ||
Zeile 162: | Zeile 162: | ||
Bilderliste | Bilderliste | ||
+ | --> | ||
{{#dpl: | {{#dpl: | ||
| namespace=Bild | | namespace=Bild | ||
Zeile 172: | Zeile 173: | ||
| noresultsheader= | | noresultsheader= | ||
| resultsheader= <h3> Bilder mit Bezug zu {{{romaji|}}}</h3> | | resultsheader= <h3> Bilder mit Bezug zu {{{romaji|}}}</h3> | ||
− | }} | + | }} <!-- |
− | |||
Google Maps | Google Maps | ||
− | -->{{#if: {{{ | + | --> |
+ | {{#if: {{{map|}}} | ||
|<div class=g_thema>{{#display_map: {{{map| }}}~s.a. [[Metalog:Karte]]~ ~ ~ ~{{{romaji|}}} | |<div class=g_thema>{{#display_map: {{{map| }}}~s.a. [[Metalog:Karte]]~ ~ ~ ~{{{romaji|}}} | ||
| zoom= {{#if: {{{zoom|}}}| {{{zoom|}}} | 9 }} | | zoom= {{#if: {{{zoom|}}}| {{{zoom|}}} | 9 }} | ||
Zeile 187: | Zeile 188: | ||
| icon= {{ucfirst:{{#if:{{{icon|}}}|{{{icon|}}}|Star}} }}_icon.png | | icon= {{ucfirst:{{#if:{{{icon|}}}|{{{icon|}}}|Star}} }}_icon.png | ||
| service= leaflet | | service= leaflet | ||
− | }} </div> | + | }} </div> <!-- |
− | <!-- | ||
-->{{#if: {{#regex: {{{map|}}} | -->{{#if: {{#regex: {{{map|}}} | ||
<!-- Ausdruck aus Zahlen und Beistrich --> | <!-- Ausdruck aus Zahlen und Beistrich --> |
Version vom 14. Dezember 2018, 15:50 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 --> }}