Vorlage:Verweise glossar: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
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: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}}|{{#show: {{#var:page}}|?alphabetic_term}}]]  
  |[[{{#var:page}}|{{#var:term_mD}}]]
 
  |[[{{#var:page}}]]
 
  }}
 
 
}}<!--
 
}}<!--
 
-->{{#vardefine:sprache  
 
-->{{#vardefine:sprache  
Zeile 21: Zeile 15:
 
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>{{#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><!--

Version vom 31. Mai 2022, 16:10 Uhr

[[|]] () ^

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

Vorlagenparameter

ParameterBeschreibungTypStatus
Keine Parameter angegeben