Vorlage:Verweise glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 2: Zeile 2:
 
-->{{#vardefine:code | {{lc:{{#regex:{{#var:page}}|/([^:]+):([^:]+)/|$2}} }} }}<!--
 
-->{{#vardefine:code | {{lc:{{#regex:{{#var:page}}|/([^:]+):([^:]+)/|$2}} }} }}<!--
 
-->{{#vardefine:id | {{lc:{{#regex:{{#var:page}}|/\w/}}}}-{{#var:code}} }}<!--
 
-->{{#vardefine:id | {{lc:{{#regex:{{#var:page}}|/\w/}}}}-{{#var:code}} }}<!--
-->{{#vardefine:vid | v-{{#var:code}} }}<!--
+
-->{{#vardefine:link_term
-->{{#vardefine:term | {{#show: {{#var:page}}|?styled_term}} }}<!--
+
| [[{{#var:page}}|{{#if:{{#show: {{#var:page}}|?alphabetic_term}}
-->{{#vardefine:term_mD | {{#show: {{#var:page}}|?styled_term_mD}} }}<!--
+
  |{{#show: {{#var:page}}|?alphabetic_term}}
-->{{#vardefine:term_mD | {{#if: {{#var:term_mD}}|{{#var:term_mD}}|{{#var:term}} }} }}<!--
+
  |{{#show: {{#var:page}}|?styled_term}}}}]]
 +
}}<!--
 
-->{{#vardefine:sprache  
 
-->{{#vardefine:sprache  
| {{#ifeq:  {{#show: {{#var:page}}|?lang_of_term}} |jap. |<!--do nothing -->
+
| {{#ifeq:  {{#show: {{#var:page}}|?lang_of_term}} |jap.  
|<nowiki/> ({{#show: {{#var:page}}|?lang_of_term}})}}  
+
  |<!--do nothing -->
 +
  |<nowiki/> ({{#show: {{#var:page}}|?lang_of_term}})
 +
  }}  
 
}}<!--
 
}}<!--
  
 
SCHREIBEN
 
SCHREIBEN
  
--><div class=g_verweis id={{#var:vid}}>[[{{#var:page}}|{{#var:term_mD}}]] {{#var:sprache}} <!--
+
--><div class=g_verweis id="v{{#var:id}}"><span class="v_styled_term glossarlink">{{#var:link_term}}</span> {{#var:sprache}} <!--
 
-->{{#show:{{#var:page}}|?original_script}} <span class=v-link>[[#{{#var:id}}|'''^''']]</span> <!--  
 
-->{{#show:{{#var:page}}|?original_script}} <span class=v-link>[[#{{#var:id}}|'''^''']]</span> <!--  
--><span class=g_desc>{{#show:{{#var:page}}|?desc_of_term}}</span></div>
+
-->{{#show:{{#var:page}}|?desc_of_term}}</div><!--
 +
--><noinclude>
 +
<templatedata>
 +
{
 +
"params": {},
 +
"description": "Wird von Vorlage:Verweise aufgerufen, gestaltet Eintrag in Glossar-Liste"
 +
}
 +
</templatedata>
 +
</noinclude>

Aktuelle Version vom 5. Oktober 2022, 14:23 Uhr

[[|]] () ^

Wird von Vorlage:Verweise aufgerufen, gestaltet Eintrag in Glossar-Liste

Vorlagenparameter

ParameterBeschreibungTypStatus
Keine Parameter angegeben