Vorlage:Glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
<onlyinclude>{{#vardefine:anker
+
<onlyinclude><!--
 +
 
 +
VARIABLE
 +
 
 +
-->{{#vardefine:anker
 
| {{#if: {{{code|}}}| {{{code|}}}
 
| {{#if: {{{code|}}}| {{{code|}}}
 
| {{#multireplace: {{{romaji|}}}
 
| {{#multireplace: {{{romaji|}}}
Zeile 25: Zeile 29:
 
   |order = descending
 
   |order = descending
 
   |count = 5
 
   |count = 5
   |format= ,<span class=g_links> → [[%PAGE%#g_{{#var:anker}}|%PAGE%]]</span>
+
   |format = , <span class=g_links> → [[%PAGE%#g_{{#var:anker}}|%PAGE%]]</span>
   |noresultsfooter=0
+
   |noresultsfooter = 0
 
}} }} }}<!--
 
}} }} }}<!--
 +
 +
SCHREIBEN
 +
 
--><span class='glossar2' id='g_{{#var:anker}}'><!--
 
--><span class='glossar2' id='g_{{#var:anker}}'><!--
 
-->{{#if: {{{stichwort|}}}|{{{stichwort}}}|{{{romaji|}}}}}<!--
 
-->{{#if: {{{stichwort|}}}|{{{stichwort}}}|{{{romaji|}}}}}<!--
 +
--> <span class=g_term>{{{term| {{{romaji|}}} }}}</span> <span class=g_script>{{{script| {{{kanji|}}} }}}</span> <!--
 
--> {{#var:links}} <includeonly>{{#ifeq: {{NAMESPACE}} | Glossar |  
 
--> {{#var:links}} <includeonly>{{#ifeq: {{NAMESPACE}} | Glossar |  
 
| {{#ifexpr: {{#var:linkzahl}} > 5
 
| {{#ifexpr: {{#var:linkzahl}} > 5
 
| → [[glossar:{{#var:anker}}| mehr]]
 
| → [[glossar:{{#var:anker}}| mehr]]
 
}} }}</includeonly>
 
}} }}</includeonly>
</span></onlyinclude>
+
</span></onlyinclude><!--
 +
 
 +
CODEVORLAGE
 +
 
 +
-->
 
<noinclude>
 
<noinclude>
 
===Code ===
 
===Code ===

Version vom 12. Juli 2014, 17:16 Uhr

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

}}|%PAGE%]]

 |noresultsfooter = 0

}}

Code

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