Vorlage:Glossareintrag: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
Zeile 1: | Zeile 1: | ||
− | <onlyinclude>{{#vardefine:anker|{{{kanji|}}} | + | <onlyinclude><!-- |
− | }}{{#vardefine:mehrdazu| | + | -->{{#vardefine:anker|{{{kanji|}}} }}<!-- |
+ | -->{{#vardefine:mehrdazu| | ||
{{#switch: {{{link|}}} | {{#switch: {{{link|}}} | ||
| {{FULLPAGENAME}} | | {{FULLPAGENAME}} | ||
Zeile 17: | Zeile 18: | ||
}}<!-- | }}<!-- | ||
-->{{#ifeq:{{NAMESPACE}}|Glossar | -->{{#ifeq:{{NAMESPACE}}|Glossar | ||
− | |{{Styles}} | + | |{{#vardefine:linkzahl|{{#dpl: |
+ | |category = Artikel | ||
+ | |uses = {{FULLPAGENAME}} | ||
+ | |format =, | ||
+ | |resultsfooter=%PAGES% | ||
+ | |noresultsfooter=0 | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{Styles}} | ||
={{{romaji|}}} {{{kanji|}}}= | ={{{romaji|}}} {{{kanji|}}}= | ||
{{{text|}}} | {{{text|}}} | ||
+ | {{#ifeq:{{#var:linkzahl}}|0 | | | ||
---- | ---- | ||
: → '''[[{{{link|}}}#{{#var:anker}}|Hauptartikel]]''' zu „{{{romaji|{{FULLPAGENAME}}}}}“ | : → '''[[{{{link|}}}#{{#var:anker}}|Hauptartikel]]''' zu „{{{romaji|{{FULLPAGENAME}}}}}“ | ||
− | |<span | + | {{#ifeq:{{#var:linkzahl}}|1 | | |
− | class='glossar2' id='{{#var:anker}}'>{{#if: | + | ===Alle Artikel=== |
− | {{{stichwort|}}}|{{{stichwort}}}|{{{romaji|}}}}}<small><small> (<span | + | {{#dpl: |
− | class=Romaji>{{{romaji|}}}</span> <span | + | |category = Artikel |
− | class=Kanji>{{{kanji|}}}</span> = <span | + | |uses = {{FULLPAGENAME}} |
− | >{{{text|}}}</span>, <span | + | |ordermethod=title |
− | >{{#var:mehrdazu}}</span>)</small></small></span>}}{{#multireplace:{{{tags|}}} | + | |format= ,\n: → [[%PAGE%#{{#var:anker}}|%PAGE%]] |
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |<span class='glossar2' id='{{#var:anker}}'><!-- | ||
+ | -->{{#if: {{{stichwort|}}}|{{{stichwort}}}|{{{romaji|}}}}}<!-- | ||
+ | --><small><small> | ||
+ | (<span class=Romaji>{{{romaji|}}}</span> | ||
+ | <span class=Kanji>{{{kanji|}}}</span> = | ||
+ | <span>{{{text|}}}</span>, | ||
+ | <span>{{#var:mehrdazu}}</span>)<!-- | ||
+ | --></small></small><!-- | ||
+ | --></span><!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#multireplace:{{{tags|}}} | ||
|/\b\s\b/=_ | |/\b\s\b/=_ | ||
|/([\wäüößÄÜÖ]+)/=[[Kategorie:$1]] | |/([\wäüößÄÜÖ]+)/=[[Kategorie:$1]] |
Version vom 27. Mai 2011, 16:27 Uhr
( = , ){{#multireplace: |/\b\s\b/=_ |/([\wäüößÄÜÖ]+)/= |,= }}
Code
{{Glossareintrag | kanji= | romaji= | text= | sprache = <!-- chin. kor. --> | stichwort ={{{1|}}} | link={{{2| }}} | tags= }}