Vorlage:Glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 40: Zeile 40:
 
   |uses = glossar:{{#var:anker}}
 
   |uses = glossar:{{#var:anker}}
 
   |nottitlematch = {{PAGENAME:{{{link|}}} }}
 
   |nottitlematch = {{PAGENAME:{{{link|}}} }}
   |ordermethod=size
+
   |ordermethod=none
 
   |order = descending
 
   |order = descending
 
   |count = 5
 
   |count = 5
Zeile 81: Zeile 81:
 
-->{{#ifeq: {{NAMESPACE}} | Glossar | {{DISPLAYTITLE: <span>Glossareintrag</span> {{{romaji|}}} }}{{#var:links_all}} | <!-- GLOSSAR
 
-->{{#ifeq: {{NAMESPACE}} | Glossar | {{DISPLAYTITLE: <span>Glossareintrag</span> {{{romaji|}}} }}{{#var:links_all}} | <!-- GLOSSAR
 
--><b>siehe auch</b>{{#var:links}} }} </span>}}<!-- TOOLTIP
 
--><b>siehe auch</b>{{#var:links}} }} </span>}}<!-- TOOLTIP
--></small></span><!--
+
--></small></span></onlyinclude><!--
 
 
CSS
 
 
 
-->{{#css:
 
 
 
.glossar {
 
color:#124374;
 
font-family: "Trebuchet MS", Arial;
 
font-weight:bold;
 
/* cursor: help; */
 
position:relative;
 
}
 
.glossar:hover {
 
background:#f1f5ff;
 
}
 
.g_box  {
 
display: none;
 
position:absolute;
 
z-index:1; 
 
top:1.1em;
 
left:-30pt;
 
font-size:1em;
 
text-align:center;
 
font-family: Arial;
 
font-weight:normal;
 
font-size:0.85em;
 
width:150pt;
 
padding: 5pt;
 
border: #26a solid 1px;
 
border-radius: 3px;
 
background-color: #f3f5ff; 
 
-webkit-box-shadow: 1px 1px 3px #667;
 
-moz-box-shadow: 1px 1px 3px #667;
 
box-shadow: 1px 1px 3px #667;
 
cursor: default;
 
}
 
.glossar:hover .g_box,
 
.glossar#show_Tooltip .g_box {
 
display: block;
 
}
 
.g_box big {
 
font-size: 1.6em;
 
padding: .3em 0;
 
}
 
.g_term {
 
display: block;
 
font-size: .66em;
 
}
 
span.g_script {
 
font-family: ms gothic, ms mincho;
 
}
 
.g_text,
 
.g_linkbox {
 
display: block;
 
text-align: left;
 
margin: .2em .2em 0;
 
padding: .7em .2em .5em;
 
border-top: 1px solid #9FAFD8;
 
}
 
.g_linkbox {
 
margin: 5px .2em 0;
 
padding: .2em;
 
font-size: .85em;
 
}
 
.g_linkbox b {
 
display: block;
 
font-size: 8px;
 
line-height: 9px;
 
text-align: center;
 
margin: -7px auto 4px;
 
width: 60px;
 
background: #f3f5ff;
 
text-transform: uppercase;
 
font-style: normal;
 
font-family: sans-serif;
 
color: #8395C2;
 
letter-spacing: 1px;
 
}
 
.G_box big {
 
font-size: 1.6em;
 
padding: .3em 0;
 
}
 
.G_term {
 
display: none;
 
}
 
.G_text {
 
display: block;
 
padding: 1em 2em;
 
}
 
.G_box b {
 
padding: 1.3em 0 .5em;
 
display: block;
 
border-top: 1px solid #ccc;
 
margin-top: 1em;
 
}
 
.G_links {
 
display: block;
 
padding: 0 2em;
 
}
 
div#content .glossar .mw-editsection {
 
position: absolute;
 
right: 5px;
 
top: 5em;
 
}
 
}}</onlyinclude><!--
 
  
 
CODEVORLAGE
 
CODEVORLAGE

Version vom 15. Juli 2014, 15:01 Uhr

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

}}

Code

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