Vorlage:Glossar eintrag: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(26 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | + | <includeonly><!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
VARIABLE | VARIABLE | ||
-->{{#vardefine:code | -->{{#vardefine:code | ||
− | | {{ | + | | {{lc:{{{code|}}}}} |
}}<!-- | }}<!-- | ||
-->{{#vardefine:spr | -->{{#vardefine:spr | ||
Zeile 46: | Zeile 25: | ||
}}<!-- | }}<!-- | ||
-->{{#vardefine:term | -->{{#vardefine:term | ||
− | | | + | | {{{styled_term|}}} |
+ | }}<!-- | ||
+ | -->{{#vardefine:simple_term | ||
+ | | {{{styled_term_oD|{{{styled_term|}}}}}} | ||
+ | }}<!-- | ||
+ | -->{{#vardefine:alphabetic_term | ||
+ | | {{{alphabetic_term|{{{styled_term|}}}}}} | ||
}}<!-- | }}<!-- | ||
+ | |||
-->{{#vardefine:suchbegriff | -->{{#vardefine:suchbegriff | ||
| {{#regex:{{#regex: {{{styled_term_oD|{{{styled_term|}}}}}}|/ /e|_}}|/'/e|}} | | {{#regex:{{#regex: {{{styled_term_oD|{{{styled_term|}}}}}}|/ /e|_}}|/'/e|}} | ||
Zeile 57: | Zeile 43: | ||
| {{#ifeq: {{NAMESPACE}} | Glossar | {{{original_script|}}} |}} | | {{#ifeq: {{NAMESPACE}} | Glossar | {{{original_script|}}} |}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#vardefine:id | {{#regex: {{lc:{{NAMESPACE}}}}|/\w/}}-{{ | + | -->{{#vardefine:id | {{#regex: {{lc:{{NAMESPACE}}}}|/\w/}}-{{#var:code}} }}<!-- |
+ | }}<!-- | ||
+ | -->{{#vardefine:vorlage | ||
+ | | {{#ifeq: {{NAMESPACE}} | Skt | Sanskrit | ||
+ | | {{NAMESPACE}} | ||
+ | }} | ||
+ | }}<!-- | ||
SCHREIBEN | SCHREIBEN | ||
− | + | ||
− | |||
-->__NOTOC__<div class= g_maininfo> | -->__NOTOC__<div class= g_maininfo> | ||
Zeile 72: | Zeile 63: | ||
--><div class=g_thema><!-- | --><div class=g_thema><!-- | ||
-->[[metalog:Glossar|{{#fas:tags}}]] {{#regex: {{{tags|}}} |/[\wäüößÄÜÖ]+/e | {{#set: hat_thema=$0}} [[Metalog:Glossar/{{ucfirst:$0}}|{{ucfirst:$0}}]] }}<!-- | -->[[metalog:Glossar|{{#fas:tags}}]] {{#regex: {{{tags|}}} |/[\wäüößÄÜÖ]+/e | {{#set: hat_thema=$0}} [[Metalog:Glossar/{{ucfirst:$0}}|{{ucfirst:$0}}]] }}<!-- | ||
+ | |||
+ | Themen neu | ||
+ | |||
+ | -->{{#if: {{{thema|}}} | ||
+ | | {{#ifanon:<!--do nothing--> | ||
+ | |, (neu:) {{#regex: {{{thema|}}} | ||
+ | |/[^,]+/e | ||
+ | | {{#set: hat_thema_neu=$0}}<nowiki/> <!-- | ||
+ | -->{{queryformlink | ||
+ | |linktext={{#regex:$0|/Sonstiges/|}} | ||
+ | |thema={{#regex:$0|/Sonstiges/|}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | | [[Kategorie: Glossareintrag ohne Thema]] | ||
+ | }}<!-- | ||
Attribute | Attribute | ||
− | -->{{#set: glossar_id={{#var:id}}}}<!-- | + | |
+ | -->{{#set: glossar_id={{#var:id}} | ||
+ | |defines_term={{FULLPAGENAME}} | ||
+ | |mainlink={{{link|}}} | ||
+ | |styled_term= {{#var:simple_term}} | ||
+ | |styled_term_mD= {{#var:term}} | ||
+ | |alphabetic_term= {{#var:alphabetic_term}} | ||
+ | }}<!-- | ||
externe Links | externe Links | ||
Zeile 91: | Zeile 105: | ||
-->[https://www.google.com/search?q={{#var:suchbegriff}}&tbm=isch {{#fas:camera}}] | -->[https://www.google.com/search?q={{#var:suchbegriff}}&tbm=isch {{#fas:camera}}] | ||
}}</span></div><!-- | }}</span></div><!-- | ||
+ | |||
+ | Bearbeitungslink | ||
+ | |||
+ | -->{{#ifanon:<!--do nothing--> | ||
+ | |<div style='text-align: center;font-size: xx-small;'>[[Spezial:Mit_Formular_bearbeiten/{{#var:vorlage}}/{{FULLPAGENAME}}|Diese Seite mit Formular bearbeiten]]</div> | ||
+ | }}<!-- | ||
USES TERM | USES TERM | ||
--> | --> | ||
− | == | + | == Verwendung == |
− | Der Begriff „{{ | + | Der Begriff „{{#var:simple_term}}“ wird in diesem Handbuch auf folgenden Seiten erwähnt: |
{{shortlist|{{#ask: | {{shortlist|{{#ask: | ||
[[:+||Metalog:+]] | [[:+||Metalog:+]] | ||
− | [[ | + | [[links_to_glossar::{{FULLPAGENAME}}]] |
| sort=Chapternumber | | sort=Chapternumber | ||
| format=ul | | format=ul | ||
Zeile 142: | Zeile 162: | ||
<h2>Geographische Lage</h2> | <h2>Geographische Lage</h2> | ||
{{map | {{map | ||
− | | {{{map| }}}~ ~ ~ ~ ~{{ | + | | {{{map| }}}~ ~ ~ ~ ~{{#var:simple_term}} |
− | | caption= Geographische Lage von {{ | + | | caption= Geographische Lage von {{#var:simple_term}}; s.a. [[Metalog:Karte]] |
| zoom= {{#if: {{{zoom|}}}| {{{zoom|}}} | 9 }} | | zoom= {{#if: {{{zoom|}}}| {{{zoom|}}} | 9 }} | ||
| type= {{#if: {{{style|{{{type| }}}}}}| {{{style|{{{type| }}}}}} | terrain }} | | type= {{#if: {{{style|{{{type| }}}}}}| {{{style|{{{type| }}}}}} | terrain }} | ||
Zeile 155: | Zeile 175: | ||
-->[[Kategorie:Glossar]]<!-- | -->[[Kategorie:Glossar]]<!-- | ||
− | |||
− | |||
− | |||
-->{{Schlagworte | -->{{Schlagworte | ||
|thema= {{{thema|}}} | |thema= {{{thema|}}} | ||
Zeile 200: | Zeile 217: | ||
} | } | ||
.g_maininfo { | .g_maininfo { | ||
+ | margin-top:4.5rem; | ||
color: #135; | color: #135; | ||
background-color: #f3f8ff; | background-color: #f3f8ff; | ||
Zeile 223: | Zeile 241: | ||
} | } | ||
}}</includeonly> | }}</includeonly> | ||
+ | <noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "": {}, | ||
+ | "code": {}, | ||
+ | "sprache": {}, | ||
+ | "geschlecht": {}, | ||
+ | "styled_term": {}, | ||
+ | "styled_term_oD": {}, | ||
+ | "alphabetic_term": {}, | ||
+ | "original_script": {}, | ||
+ | "desc_of_term": {}, | ||
+ | "tags": {}, | ||
+ | "link": {}, | ||
+ | "map": {}, | ||
+ | "zoom": {}, | ||
+ | "style": {}, | ||
+ | "type": {}, | ||
+ | "icon": {}, | ||
+ | "thema": {} | ||
+ | }, | ||
+ | "description": "Gestaltet Glossarseiten. Daten von Vorlage:Glossar oder Vorlage:Sanskrit." | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Version vom 22. Juli 2022, 11:18 Uhr
Gestaltet Glossarseiten. Daten von Vorlage:Glossar oder Vorlage:Sanskrit.
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
| keine Beschreibung | Unbekannt | optional | |
Code | code | keine Beschreibung | Unbekannt | optional |
Sprache | sprache | keine Beschreibung | Unbekannt | optional |
Geschlecht | geschlecht | keine Beschreibung | Unbekannt | optional |
Styled_term | styled_term | keine Beschreibung | Unbekannt | optional |
Styled_term_oD | styled_term_oD | keine Beschreibung | Unbekannt | optional |
Alphabetic_term | alphabetic_term | keine Beschreibung | Unbekannt | optional |
Original_script | original_script | keine Beschreibung | Unbekannt | optional |
Desc_of_term | desc_of_term | keine Beschreibung | Unbekannt | optional |
Tags | tags | keine Beschreibung | Unbekannt | optional |
Link | link | keine Beschreibung | Unbekannt | optional |
Map | map | keine Beschreibung | Unbekannt | optional |
Zoom | zoom | keine Beschreibung | Unbekannt | optional |
Style | style | keine Beschreibung | Unbekannt | optional |
Type | type | keine Beschreibung | Unbekannt | optional |
Icon | icon | keine Beschreibung | Unbekannt | optional |
Thema | thema | keine Beschreibung | Unbekannt | optional |