Vorlage:Verweise glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
(3 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:id}} }}<!--
 
-->{{#vardefine:term | {{#show: {{#var:page}}|?styled_term}} }}<!--
 
-->{{#vardefine:term_mD | {{#show: {{#var:page}}|?styled_term_mD}} }}<!--
 
-->{{#vardefine:term_mD | {{#if: {{#var:term_mD}}|{{#var:term_mD}}|{{#var:term}} }} }}<!--
 
 
-->{{#vardefine:link_term  
 
-->{{#vardefine:link_term  
| {{#if: {{#var:term_mD}}
+
| [[{{#var:page}}|{{#if:{{#show: {{#var:page}}|?alphabetic_term}}
   |[[{{#var:page}}|{{#var:term_mD}}]]
+
   |{{#show: {{#var:page}}|?alphabetic_term}}
   |[[{{#var:page}}]]
+
   |{{#show: {{#var:page}}|?styled_term}}}}]]  
  }}
 
 
}}<!--
 
}}<!--
 
-->{{#vardefine:sprache  
 
-->{{#vardefine:sprache  
Zeile 21: Zeile 16:
 
SCHREIBEN
 
SCHREIBEN
  
--><div class=g_verweis id="{{#var:vid}}"><span class=v_styled_term>{{#var:link_term}}</span> {{#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> <!--  
 
-->{{#show:{{#var:page}}|?desc_of_term}}</div><!--
 
-->{{#show:{{#var:page}}|?desc_of_term}}</div><!--

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

[[|]] () ^

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

Vorlagenparameter

ParameterBeschreibungTypStatus
Keine Parameter angegeben