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= | + | --><small class={{#var:g}}_box><big><span class={{#var:g}}_term> {{{term| {{{romaji|}}} }}}</span><!-- |
− | --><span class= | + | --><span class={{#var:g}}_script> {{{script| {{{kanji|}}} }}}</span><!-- |
− | |<span class= | + | -->{{#if: {{{sprache|}}} |<span class={{#var:g}}_lang> ({{{sprache|}}}.)</span> }}</big><!-- |
− | --><span class= | + | --><span class={{#var:g}}_text>{{{text|}}}<!-- |
− | -->{{#ifsysop: <span | + | -->{{#ifsysop: <span> [{{fullurl:glossar:{{#var:anker}}|action=edit}} →]</span>}}</span><!-- |
− | -->{{#if: {{#var:links}} | <span class= | + | -->{{#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 | + | .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 = }}