Vorlage:Glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
 
VARIABLE
 
VARIABLE
  
 +
-->{{#vardefine:g
 +
| {{#ifeq: {{NAMESPACE}} | Glossar | G | g }}
 +
}}<!--
 
-->{{#vardefine:anker
 
-->{{#vardefine:anker
 
| {{#if: {{{code|}}}| {{{code|}}}
 
| {{#if: {{{code|}}}| {{{code|}}}
Zeile 38: Zeile 41:
 
--><span class=glossar id=g_{{#var:anker}}><!--
 
--><span class=glossar id=g_{{#var:anker}}><!--
 
-->{{#if: {{{stichwort|}}}|{{{stichwort}}}|{{{romaji|}}}}}<!--
 
-->{{#if: {{{stichwort|}}}|{{{stichwort}}}|{{{romaji|}}}}}<!--
--><small class=g_box><big><span class=g_term> {{{term| {{{romaji|}}} }}}</span><!--
+
--><small class={{#var:g}}_box><big><span class={{#var:g}}_term> {{{term| {{{romaji|}}} }}}</span><!--
--><span class=g_script> {{{script| {{{kanji|}}} }}}</span>{{#if: {{{sprache|}}}  
+
--><span class={{#var:g}}_script> {{{script| {{{kanji|}}} }}}</span><!--
|<span class=g_lang> ({{{sprache|}}}.)</span> }}</big><!--
+
-->{{#if: {{{sprache|}}} |<span class={{#var:g}}_lang> ({{{sprache|}}}.)</span> }}</big><!--
--><span class=g_text>{{{text|}}}<!--
+
--><span class={{#var:g}}_text>{{{text|}}}<!--
-->{{#ifsysop: <span class=editlink> [{{fullurl:glossar:{{#var:anker}}|action=edit}} →]</span>}}</span><!--
+
-->{{#ifsysop: <span> [{{fullurl:glossar:{{#var:anker}}|action=edit}} →]</span>}}</span><!--
-->{{#if: {{#var:links}} | <span class=g_linkbox><i>siehe auch</i>{{#var:links}}</span>}}</small></span><!--
+
-->{{#if: {{#var:links}} | <span class={{#var:g}}_linkbox><b>siehe auch</b>{{#var:links}}</span>}}</small></span><!--
  
 
CSS
 
CSS
Zeile 94: Zeile 97:
 
  font-size: .85em;
 
  font-size: .85em;
 
  }
 
  }
.g_linkbox i {
+
.g_linkbox b {
 
  display: block;
 
  display: block;
 
  font-size: 7px;
 
  font-size: 7px;

Version vom 13. Juli 2014, 14:19 Uhr

siehe auch{{#dpl:

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

}}

 |ordermethod=size
 |order = descending
 |count = 5
 |format = , → [[%PAGE%#g_{{#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 =
}}