Vorlage:S: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 
{{#vardefine: code
 
{{#vardefine: code
| s-{{lc:{{{1|vajra}}}}}
+
| s-{{lc:{{{1|}}}}}
 
}}<!--
 
}}<!--
 
-->{{#vardefine: page
 
-->{{#vardefine: page
| skt:{{lc:{{{1|vajra}}}}}
+
| skt:{{lc:{{{1|}}}}}
}}<!--
+
}}<!--
 +
-->{{#vardefine: term
 +
| {{#if: {{#show: {{#var:page}}|?styled_term}}
 +
  | {{#show: {{#var:page}}|?styled_term}}
 +
  | {{{1|}}}
 +
  }}
 +
}}<includeonly><!--  
  
 
Schreiben
 
Schreiben
  
-->{{Glossar_inline
+
--><span class=glossar id="{{#var:code}}"><!--
| code= {{#var:code}}
+
  --><span class=g_stichwort>{{{2|{{#var:term}}}}}</span><!--
| stichwort = {{{2|{{#show: {{#var:page}}|?styled_term}}}}}
+
--></span><!--
}}<!--  
 
  
 
Attribute
 
Attribute
  
--><onlyinclude>{{#set: uses_term={{lc:{{{1|}}}}}
+
-->{{#set: uses_term={{#var:code}}  
 
| links_to_glossar={{#var:page}}
 
| links_to_glossar={{#var:page}}
}}</onlyinclude><!--
+
}}</includeonly><!--
 
--><noinclude>
 
--><noinclude>
 +
----
 +
<pre>{{g|...}}</pre> Parameter:
  
<pre>{{s|}}</pre>
+
*<nowiki>{{{1|}}}</nowiki> (pagename)
<templatedata>
+
*<nowiki>{{{2|}}}</nowiki> (lokale Lesung, opt.)
{
 
"params": {
 
"1": {
 
"description": "pagename aus Skt:",
 
"example": "vajra",
 
"type": "string",
 
"required": true
 
},
 
"2": {
 
"description": "alternativer Linktext",
 
"type": "string"
 
}
 
},
 
"description": "Gestaltet inline Glossar-Stichwörter Sanskrit. Holt Daten von Skt:abc, gibt sie an :Glossar_inline weiter"
 
}
 
</templatedata>
 
 
</noinclude>
 
</noinclude>

Version vom 25. April 2022, 12:10 Uhr


{{g|...}}

Parameter:

  • {{{1|}}} (pagename)
  • {{{2|}}} (lokale Lesung, opt.)