Vorlage:Glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 25: Zeile 25:
 
   |noresultsfooter = 0
 
   |noresultsfooter = 0
 
}} }}<!--
 
}} }}<!--
-->{{#vardefine:sprache
+
 
 +
Sprache für Kategorien
 +
 
 +
-->{{#vardefine:sprache  
 
| {{#switch: {{{sprache|}}}
 
| {{#switch: {{{sprache|}}}
 
| chin. = Chinesisch
 
| chin. = Chinesisch
 
| kor. = Koreanisch
 
| kor. = Koreanisch
| west. =
+
| west. = Westlich
| #default = {{{sprache|}}}
+
| #default =
 
}} }}<!--
 
}} }}<!--
 
-->{{#vardefine:mainlink
 
-->{{#vardefine:mainlink
Zeile 38: Zeile 41:
 
-->{{#vardefine:kanji
 
-->{{#vardefine:kanji
 
| {{#regex: {{{kanji|}}}|/ /|}}
 
| {{#regex: {{{kanji|}}}|/ /|}}
}}
+
}}<!--
{{#vardefine: maps
+
 
 +
MAPS
 +
 
 +
-->{{#vardefine: maps
 
|{{#if: {{{map|}}} | qq  
 
|{{#if: {{{map|}}} | qq  
 
|  {{#regex: {{#regex: {{#regex: {{{tags|}}} | /(\W*)/ | }} | /([Oo]rt)/ | q}} |/[Bb]auwerk/ | q}}
 
|  {{#regex: {{#regex: {{#regex: {{{tags|}}} | /(\W*)/ | }} | /([Oo]rt)/ | q}} |/[Bb]auwerk/ | q}}
Zeile 88: Zeile 94:
 
   
 
   
 
-->
 
-->
|'''[[glossar:{{#var:anker}}|{{{romaji|}}}]]''' {{#if: {{#var:sprache}} | ({{#var:sprache}})  }} {{{kanji|}}} [[{{{link|}}}#_{{#var:anker}}|→]] <br/> {{{text|}}} <!--
+
|'''[[glossar:{{#var:anker}}|{{{romaji|}}}]]''' {{#if: {{{sprache|}}} | ({{{sprache|}}})  }} {{{kanji|}}} [[{{{link|}}}#_{{#var:anker}}|→]] <br/> {{{text|}}} <!--
  
 
Sonstige Seiten
 
Sonstige Seiten
Zeile 97: Zeile 103:
 
--><big><!--
 
--><big><!--
 
--><span class={{#var:g}}_term> [[glossar: {{#var:anker}}|{{{term| {{{romaji|}}} }}}]]<!-- ROMAJI
 
--><span class={{#var:g}}_term> [[glossar: {{#var:anker}}|{{{term| {{{romaji|}}} }}}]]<!-- ROMAJI
-->{{#if: {{#var:sprache}} |<span class={{#var:g}}_lang> ({{#var:sprache}})</span> }}<!-- (SPR.)
+
-->{{#if: {{{sprache|}}} |<span class={{#var:g}}_lang> ({{{sprache|}}})</span> }}<!-- (SPR.)
 
--></span><!-- /ROMAJI
 
--></span><!-- /ROMAJI
 
--><span class={{#var:g}}_script> {{{script| {{{kanji|}}} }}}</span><!-- KANJI
 
--><span class={{#var:g}}_script> {{{script| {{{kanji|}}} }}}</span><!-- KANJI
Zeile 118: Zeile 124:
 
--><span class=g_thema>Thema: {{#regex: {{{tags|}}} |/[\wäüößÄÜÖ]+/e | [[Kategorie:$0]] [[Kategorie:Glossar]] [[Metalog:Glossar/{{ucfirst:$0}}|{{ucfirst:$0}}]] }}<!--
 
--><span class=g_thema>Thema: {{#regex: {{{tags|}}} |/[\wäüößÄÜÖ]+/e | [[Kategorie:$0]] [[Kategorie:Glossar]] [[Metalog:Glossar/{{ucfirst:$0}}|{{ucfirst:$0}}]] }}<!--
 
-->{{#if: {{#var:sprache}}
 
-->{{#if: {{#var:sprache}}
|[[Kategorie: {{#ifeq: {{{sprache|}}} |west.
+
|[[Kategorie: {{#var:sprache}}]], [[Metalog:Glossar/{{#var:sprache}}|{{#var:sprache}}]]<!--
| Westliche Namen
 
| {{#var:sprache}}
 
}}]], [[Metalog:Glossar/{{#var:sprache}}|{{#var:sprache}}]]<!--
 
 
--> }}{{#if: {{{kanji|}}}  
 
--> }}{{#if: {{{kanji|}}}  
 
|<span class=g_extern style="
 
|<span class=g_extern style="

Version vom 8. Juli 2015, 14:16 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 = <!-- gottheit, person, wesen, bauwerk, text, bild, objekt, 
          ort, zeit, tätigkeit, konzept, kalender, sonstiges -->
| map= <!-- such-stichwort für google maps -->
| zoom= <!-- 5–19, 9 = standard -->
| type= <!-- satellite (maps) -->
}}

s.a. Vorlage:Glossar/Code