Vorlage:Glossar: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
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, 15:16 Uhr

[[glossar: | ]]

{{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