Vorlage:Glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 37: Zeile 37:
 
SCHREIBEN
 
SCHREIBEN
  
--><span class='glossar2' 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> <span class=g_script>{{{script| {{{kanji|}}} }}}</span>   
 
--> <small class=g_box><big><span class=g_term>{{{term| {{{romaji|}}} }}}</span> <span class=g_script>{{{script| {{{kanji|}}} }}}</span>   
Zeile 46: Zeile 46:
 
| → [[glossar:{{#var:anker}}| mehr]]
 
| → [[glossar:{{#var:anker}}| mehr]]
 
}} }}</includeonly>
 
}} }}</includeonly>
</small></span></onlyinclude><!--
+
</small></span><!--
 +
 
 +
CSS
 +
 
 +
-->
 +
{{#css:
 +
 
 +
.glossar {
 +
color:#124374;
 +
font-family: "Trebuchet MS", Arial;
 +
font-weight:bold;
 +
cursor: help;
 +
position:relative;
 +
}
 +
.glossar:hover {
 +
background:#f1f5ff;
 +
}
 +
.g_box  {
 +
display: block;
 +
font-size:1em;
 +
z-index:1; 
 +
width:150pt;
 +
position:absolute;
 +
top:1.1em; left:0;
 +
text-align:center;
 +
}
 +
 
 +
}}</onlyinclude><!--
  
 
CODEVORLAGE
 
CODEVORLAGE

Version vom 12. Juli 2014, 19:38 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%]]

 |noresultsfooter = 0

}}


Code

{{Glossar
| stichwort = {{{1|}}}
| code = <!-- für Sonderfälle -->
| romaji =
| kanji = 
| text =
| sprache = <!-- chin. kor. -->
| link = <!-- wichtigste Seite -->
| tags =
}}