Vorlage:Glossar eintrag: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(91 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | + | <includeonly><!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
VARIABLE | VARIABLE | ||
− | -->{{#vardefine: | + | -->{{#vardefine:code |
+ | | {{lc:{{{code|}}}}} | ||
+ | }}<!-- | ||
-->{{#vardefine:spr | -->{{#vardefine:spr | ||
− | | {{ | + | |{{lc:{{{sprache|jap.}}}}} |
− | }}<!-- | + | }}<!-- |
-->{{#vardefine:sprache | -->{{#vardefine:sprache | ||
− | | {{#switch:{{ | + | | {{#switch:{{#var:spr}} | |
| jap.= Japanisch | | jap.= Japanisch | ||
| chin.= Chinesisch | | chin.= Chinesisch | ||
Zeile 34: | Zeile 16: | ||
| west.= Westlich | | west.= Westlich | ||
| skt.= Sanskrit | | skt.= Sanskrit | ||
− | | #default= {{{ | + | | #default= Alles |
+ | }} }}<!-- | ||
+ | -->{{#vardefine:region | ||
+ | | {{#switch:{{#var:spr}} | | ||
+ | | jap.= Japan | ||
+ | | chin.= China und Korea | ||
+ | | kor.= China und Korea | ||
+ | | #default=Sonstige | ||
}} }}<!-- | }} }}<!-- | ||
-->{{#vardefine:set_spr | -->{{#vardefine:set_spr | ||
− | |<span class=g_lang>( | + | |<span class=g_lang>({{#queryformlink:form=Fachbegriffe |
+ | |link text= {{#var:spr}} | ||
+ | |query string=<!-- | ||
+ | -->Fachbegriffe[sprache]={{#var:sprache}}&<!-- | ||
+ | -->Fachbegriffe[thema]=Alles&_run | ||
+ | }}{{#set:lang_of_term={{#var:spr}} }}{{#if:{{{geschlecht|}}}|, {{{geschlecht|}}}.}})</span> | ||
}}<!-- | }}<!-- | ||
-->{{#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|}} | ||
+ | }}<!-- | ||
+ | -->{{#vardefine:original_script | ||
+ | | [[original_script::{{{original_script|}}}]] | ||
}}<!-- | }}<!-- | ||
-->{{#vardefine:suche_kanji | -->{{#vardefine:suche_kanji | ||
| {{#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 | ||
+ | |||
+ | -->__NOTOC__<div class=glossarseite><div class= g_maininfo> | ||
+ | <div class=g_styled_term>{{#var:term}} {{#var:original_script}} {{#var:set_spr}}</div> | ||
+ | <p class=g_desc_of_term>[[desc_of_term::{{{desc_of_term|}}}]]</p> | ||
+ | <!-- | ||
+ | |||
+ | Bearbeitungslink | ||
+ | |||
+ | -->{{#ifanon:<!--do nothing--> | ||
+ | |<div class=sysoplinks>[[Spezial:Mit_Formular_bearbeiten/{{#var:vorlage}}/{{FULLPAGENAME}}|Diese Seite mit Formular bearbeiten]]</div> | ||
+ | }} | ||
+ | </div><!-- | ||
− | + | Themen | |
+ | |||
+ | --><div class=g_thema><!-- | ||
+ | -->{{#if: {{{thema|}}} | ||
+ | |{{#fas:tags}} {{#arraymap: {{{thema|}}} |, |§ | ||
+ | | {{#queryformlink:form=Fachbegriffe | ||
+ | |link text= {{#regex:§|/Sonstiges/|}} | ||
+ | |query string=<!-- | ||
+ | -->Fachbegriffe[sprache]=Alles&<!-- | ||
+ | -->Fachbegriffe[thema]={{#regex:§|/Sonstiges/|}}&_run | ||
+ | }} {{#set: hat_thema_neu=§}} | ||
+ | }} | ||
+ | | [[Kategorie: Glossareintrag ohne Thema]] | ||
+ | }}<!-- | ||
+ | |||
+ | externe Links | ||
+ | |||
+ | --><span class=g_links_extern>{{#if: {{#var:suche_kanji}}| <!-- | ||
− | {{ | + | Suche nach Kanji: |
+ | -->[http://www.wadoku.de/search/{{#var:kanji}} WaDoku] • <!-- | ||
+ | -->[https://ja.wikipedia.org/w/index.php?search={{#var:kanji}} {{#fab:wikipedia-w}}] • <!-- | ||
+ | --><span class=koto>[https://kotobank.jp/search?q={{#var:kanji}} コ]</span> • <!-- | ||
+ | -->[https://www.google.co.jp/search?q={{#var:kanji}} {{#fab:google}}] • <!-- | ||
+ | -->[https://www.google.co.jp/search?q={{#var:kanji}}&tbm=isch {{#fas:camera}}] | ||
+ | | <!-- | ||
− | --> | + | Suche nach Transkription: |
− | + | -->[https://en.wikipedia.org/w/index.php?search={{#var:suchbegriff}} {{#fab:wikipedia-w}}] • <!-- | |
− | + | -->[https://www.google.com/search?q={{#var:suchbegriff}} {{#fab:google}}] • <!-- | |
+ | -->[https://www.google.com/search?q={{#var:suchbegriff}}&tbm=isch {{#fas:camera}}] | ||
+ | }}</span></div> | ||
<!-- | <!-- | ||
USES TERM | USES TERM | ||
− | --> | + | -->Der Begriff „{{#var:simple_term}}“ wird in diesem Handbuch auf folgenden Seiten erwähnt: |
− | + | ||
− | {{#ask: | + | {{shortlist|{{#ask: |
− | [[:+]] | + | [[:+||Metalog:+]] |
− | [[ | + | [[links_to_glossar::{{FULLPAGENAME}}]] |
+ | | sort=Chapternumber | ||
| format=ul | | format=ul | ||
| template=Glossar eintrag a | | template=Glossar eintrag a | ||
| userparam={{#var:id}} | | userparam={{#var:id}} | ||
| link=none | | link=none | ||
− | + | }}}}<!-- | |
− | |||
------------Fachbegriffe------------- | ------------Fachbegriffe------------- | ||
− | -- | + | -->{{#ask: |
[[Glossar:+]][[cites_term::{{#var:code}}]] OR | [[Glossar:+]][[cites_term::{{#var:code}}]] OR | ||
[[Skt:+]][[cites_term::{{#var:code}}]] | [[Skt:+]][[cites_term::{{#var:code}}]] | ||
Zeile 82: | Zeile 131: | ||
| template=smw_links_12 | | template=smw_links_12 | ||
| sep=,  | | sep=,  | ||
− | | intro=< | + | | intro=<p class=g-usage>Glossarseiten</p> <div class=g-fachbegriffe> |
− | + | |outro=</div> | |
− | + | }} <!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
------------Bilder------------- | ------------Bilder------------- | ||
− | --> | + | --> |
− | [[ | + | {{#ask: |
+ | [[is_image_article::+]] | ||
[[cites_term::{{#var:code}}]] | [[cites_term::{{#var:code}}]] | ||
| format=ul | | format=ul | ||
Zeile 118: | Zeile 144: | ||
| template=smw_g_img | | template=smw_g_img | ||
| class= b_liste | | class= b_liste | ||
− | |||
| order= rand | | order= rand | ||
| searchlabel= Weitere Bilder... | | searchlabel= Weitere Bilder... | ||
− | | intro= < | + | | intro= <p class=g-usage>Bilder</p> |
− | }} | + | }}<!-- |
-----MAP----- | -----MAP----- | ||
− | -->{{#if: {{{map|}}} | + | -->{{#if: {{{map|}}} | |
− | + | <h2>Geographische Lage</h2> | |
− | | {{{map| }}}~ ~ ~ ~ ~{{ | + | {{map |
− | | caption= Geographische Lage von {{{ | + | | {{{map| }}}~ ~ ~ ~ ~{{#var:simple_term}} |
+ | | caption= Geographische Lage von {{#var:simple_term}}; s.a. {{Glossar_geo_q|region={{#var:region}} }} | ||
| 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 135: | Zeile 161: | ||
| controls= type | | controls= type | ||
| icon= {{ucfirst:{{#if:{{{icon|}}}|{{{icon|}}}|Star}} }}_icon.png | | icon= {{ucfirst:{{#if:{{{icon|}}}|{{{icon|}}}|Star}} }}_icon.png | ||
− | }} }}<!-- | + | }} |
+ | }}<!-- | ||
----KATEGORIEN----- | ----KATEGORIEN----- | ||
− | -->[[ | + | -->[[Kategorie:Glossar]]<!-- |
+ | -->{{Schlagworte | ||
+ | |thema= {{{thema|}}} | ||
+ | |sprache={{#var:sprache}} | ||
+ | }}<!-- | ||
+ | |||
+ | Attribute | ||
+ | |||
+ | -->{{#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}} | ||
+ | |location type= {{#if:{{{map|}}}|{{#if:{{{icon|}}}|{{{icon|}}}|Ort}}}} | ||
+ | }}<!-- | ||
----Attribute Map---- | ----Attribute Map---- | ||
Zeile 161: | Zeile 203: | ||
-->{{#css: | -->{{#css: | ||
.g_styled_term { | .g_styled_term { | ||
− | font-size: 1.5em; | + | font-size: 1.5em; |
− | font-family: calibri, arial, | + | font-family: calibri, arial, sans; |
text-align: center; | text-align: center; | ||
padding: 1em 0; | padding: 1em 0; | ||
Zeile 170: | Zeile 212: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
.g_maininfo, | .g_maininfo, | ||
.g_thema { | .g_thema { | ||
Zeile 182: | Zeile 220: | ||
} | } | ||
.g_maininfo { | .g_maininfo { | ||
+ | margin-top:4.5rem; | ||
color: #135; | color: #135; | ||
background-color: #f3f8ff; | background-color: #f3f8ff; | ||
Zeile 188: | Zeile 227: | ||
} | } | ||
.g_thema { | .g_thema { | ||
− | border-color: # | + | border: 0; |
− | + | background-color: #def; | |
+ | margin-bottom: 2em; | ||
+ | color: #1067ac; | ||
} | } | ||
.g_links_extern { | .g_links_extern { | ||
Zeile 198: | Zeile 239: | ||
.g_links_artikel, | .g_links_artikel, | ||
.g_links_glossar, | .g_links_glossar, | ||
− | .g_links_bilder { | + | .g_links_bilder { |
− | |||
} | } | ||
.g_links_artikel ul { | .g_links_artikel ul { | ||
column-count: 2; | column-count: 2; | ||
} | } | ||
− | }}</includeonly> | + | .g-usage { |
+ | font-style: italic; | ||
+ | padding-top: 1em; | ||
+ | } | ||
+ | .g-fachbegriffe { | ||
+ | padding-left: 4rem; | ||
+ | padding-bottom: 2em; | ||
+ | } | ||
+ | .smw-ul-furtherresults { | ||
+ | display: block; | ||
+ | text-align: right; | ||
+ | } | ||
+ | #content .g_links_extern a.external::after { | ||
+ | padding-left: 0; | ||
+ | content: ""; | ||
+ | } | ||
+ | .koto { | ||
+ | font-size: .8em; | ||
+ | line-height: 1em; | ||
+ | width: 1em; | ||
+ | display: inline-block; | ||
+ | font-family: sans-serif; | ||
+ | font-weight: bold; | ||
+ | border: 1px solid; | ||
+ | border-radius: 50%; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | }}</div></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> |
Aktuelle Version vom 8. August 2024, 15:17 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 |