Vorlage:Sanskrit: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
K
K
Zeile 1: Zeile 1:
{{#ifeq:{{NAMESPACE}}|Skt
+
<!--
|{{styles}}{{#css:
+
##################
  .skt_mD {
+
        VARIABLEN
    display:block;
+
##################
    font-family:'Lucida Sans Unicode', tahoma, 'Arial Unicode MS';
+
----- Anker -------
    font-size:1.2em;
+
-->{{#vardefine:anker
    margin-bottom: .5em;
+
| skt_{{{skt_oD|}}}  
  }
+
}}<!--
  .skt_link { display:block; margin-top: .6em; }
+
----- Mehr dazu-------
  }}
+
-->{{#vardefine:mehrdazu
={{{skt_oD|{{PAGENAME}} }}}=
+
| [[{{{link|}}}#{{#var:anker}}|mehr dazu]]
{{#vardefine:skt_mD
+
}}<!--
|{{#switch: {{{klasse|}}}
+
----- Skt mit Diakritika-------
 +
-->{{#vardefine:skt_mD
 +
| {{#switch: {{{klasse|}}}
 
   |term = ''{{{skt_mD|}}}''
 
   |term = ''{{{skt_mD|}}}''
 
   |name = {{ucfirst: {{{skt_mD|}}} }}
 
   |name = {{ucfirst: {{{skt_mD|}}} }}
 
   |text = ''{{ucfirst: {{{skt_mD|}}} }}''
 
   |text = ''{{ucfirst: {{{skt_mD|}}} }}''
 
   |#default = {{{skt_mD|}}}
 
   |#default = {{{skt_mD|}}}
}}
+
  }} {{{devanagari|}}} {{#if:{{{geschlecht|}}}| ({{{geschlecht|}}}.) }}
 
}}<!--
 
}}<!--
 +
----- Romaji-------
 
-->{{#vardefine:romaji
 
-->{{#vardefine:romaji
|{{#switch: {{{klasse|}}}
+
| {{#switch: {{{klasse|}}}
 
   |term = ''{{{romaji|}}}''
 
   |term = ''{{{romaji|}}}''
 
   |name = {{ucfirst: {{{romaji|}}} }}
 
   |name = {{ucfirst: {{{romaji|}}} }}
 
   |text = ''{{ucfirst: {{{romaji|}}} }}''
 
   |text = ''{{ucfirst: {{{romaji|}}} }}''
 
   |#default = {{{romaji|}}}
 
   |#default = {{{romaji|}}}
}} {{{kanji|}}}
+
  }} {{{kanji|}}}
 
}}<!--
 
}}<!--
 +
----- Romaji 2-------
 
-->{{#vardefine:romaji2
 
-->{{#vardefine:romaji2
|{{#switch: {{{klasse|}}}
+
| {{#if:{{{romaji2|}}}
  |term = ''{{{romaji2|}}}''
+
  | oder {{#switch: {{{klasse|}}}
  |name = {{ucfirst: {{{romaji2|}}} }}
+
    |term = ''{{{romaji2|}}}''
  |text = ''{{ucfirst: {{{romaji2|}}} }}''
+
    |name = {{ucfirst: {{{romaji2|}}} }}
  |#default = {{{romaji2|}}}
+
    |text = ''{{ucfirst: {{{romaji2|}}} }}''
}} {{{kanji2|}}}
+
    |#default = {{{romaji2|}}}
}}
+
    }} {{{kanji2|}}} }}
<span class=skt_mD>{{#var:skt_mD}}<!--
+
}}<!--
-->{{#if:{{{devanagari|}}}|&nbsp;{{{devanagari|}}} }}<!--
+
 
-->{{#if:{{{geschlecht|}}}|, {{{geschlecht|}}}. }}</span><!--
+
#### POPUP ########
 +
-->{{#vardefine:popup
 +
|<span class='glossar2' id='{{#var:anker}}'><!--
 +
-->{{#if: {{{1|}}}|{{{1}}}|{{{skt_oD|}}}}}<!--
 +
--><small><small> (<span class=Kanji>{{#var:skt_mD}} </span> <span>{{#var:romaji}} {{#var:romaji2}}</span>, <span>{{{anm|}}}</span>, <span>{{#var:mehrdazu}}</span>)<!--
 +
--></small></small><!--
 +
--></span><!--
 +
 
 +
#####################
 +
SANSKRIT EINTRAG, Einzelseite
 +
#####################
 +
 
 +
-->{{#ifeq:{{NAMESPACE}}|Skt
 +
|{{styles}}{{#css:
 +
  .skt_mD {
 +
    display:block;
 +
    font-family:'Lucida Sans Unicode', tahoma, 'Arial Unicode MS';
 +
    font-size:1.2em;
 +
    margin-bottom: .5em;
 +
  }
 +
  .skt_link {  display:block; margin-top: .6em; }
 +
  }}
 +
={{{skt_oD|{{PAGENAME}} }}}=
 +
<span class=skt_mD>{{#var:skt_mD}}</span><!--
 
---->{{#vardefine:anm
 
---->{{#vardefine:anm
 
   |{{#if:{{{ue|}}}|„{{ucfirst:{{{ue|}}} }}“ }}
 
   |{{#if:{{{ue|}}}|„{{ucfirst:{{{ue|}}} }}“ }}
Zeile 42: Zeile 69:
 
---->{{#vardefine:anm
 
---->{{#vardefine:anm
 
   | {{#if:{{#var:anm}}|{{#var:anm}}<!--
 
   | {{#if:{{#var:anm}}|{{#var:anm}}<!--
   -->{{#if:{{{romaji|}}}|, jap.  {{#var:romaji}} }}
+
   -->{{#if:{{{romaji|}}}|, jap.  {{#var:romaji}}  {{#var:romaji2}} }}
     |{{#if:{{{romaji|}}}|Jap.  {{#var:romaji}} }}
+
     |{{#if:{{{romaji|}}}|Jap.  {{#var:romaji}}  {{#var:romaji2}} }}
 
     }} }}<!--
 
     }} }}<!--
---->{{#vardefine:anm
 
  | {{#var:anm}} <!--
 
  -->{{#if:{{{romaji2|}}}| oder {{#var:romaji2}} }}
 
    }}<!--
 
 
---->{{#vardefine:anm
 
---->{{#vardefine:anm
 
   | {{#if:{{#var:anm}}
 
   | {{#if:{{#var:anm}}

Version vom 4. August 2011, 12:24 Uhr

{{#vardefine:popup | ( , , mehr dazu)

Code

{{Sanskrit
| skt_oD= <!--ohne Diakritika-->
| skt_mD= <!--mit Diakritika-->
| devanagari =
| geschlecht = m <!-- m, f, n -->
| klasse = term <!-- term, name, text-->
| romaji= <!-- jap. Äquivalent in Romaji -->
| kanji= <!-- jap. Äquivalent in Kanji -->
| romaji2= <!-- alternativer jap. Bff. in Romaji -->
| kanji2= <!--  alternativer jap. Bff. in Kanji -->
| ue= <!-- wtl. dt. Übersetzung -->
| anm= <!-- sonstige Bemerkungen -->
| link= <!-- Seitentitel ohne [[ ]] -->
| tags=
}}