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:
<noinclude>
+
<includeonly><!--
Gestaltet die Einträge in Glossar- Sanskrit-Pages, vergibt Attribute. Wird von [[Vorlage:Glossar]] und [[Vorlage:Sanskrit]] aufgerufen. 
 
 
 
===Code ===
 
 
 
<nowiki>{{Glossar_eintrag
 
| code= 
 
| styled_term= 
 
| styled_term_oD= 
 
| original_script= 
 
| sprache= 
 
| geschlecht= 
 
| desc_of_term= 
 
| tags= 
 
| map=
 
| zoom=
 
| type=
 
| icon=
 
}}
 
</nowiki>
 
</noinclude><includeonly><!--
 
  
 
VARIABLE
 
VARIABLE
  
-->{{#vardefine:spr |{{{sprache|jap.}}} }}<!--
+
-->{{#vardefine:code
 +
| {{lc:{{{code|}}}}}
 +
}}<!--
 
-->{{#vardefine:spr  
 
-->{{#vardefine:spr  
| {{#ifeq: {{#regex: {{#var:spr}} | /\W/}} |.|{{lc:{{#var:spr}}}}| {{#var:spr}} }}
+
|{{lc:{{{sprache|jap.}}}}}
}}<!--
+
}}<!--  
 
-->{{#vardefine:sprache
 
-->{{#vardefine:sprache
| {{#switch:{{lc:{{{sprache|jap.}}}}} |  
+
| {{#switch:{{#var:spr}} |  
 
| jap.= Japanisch
 
| jap.= Japanisch
 
| chin.= Chinesisch
 
| chin.= Chinesisch
Zeile 34: Zeile 16:
 
| west.= Westlich
 
| west.= Westlich
 
| skt.= Sanskrit
 
| skt.= Sanskrit
| #default= {{{sprache|}}}
+
| #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>([[lang_of_term::{{#var:spr}}| ]][[Metalog:Glossar/{{#var:sprache}}|{{#var:spr}}]]{{#if:{{{geschlecht|}}}|, {{{geschlecht|}}}.}})</span>  
+
|<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::{{{styled_term_oD|{{{styled_term|}}}}}}| ]][[styled_term_mD::{{{styled_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/}}-{{lc:{{#var:code}}}} }}<!--
+
-->{{#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><!--  
  
SCHREIBEN
+
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}}| <!--
  
{{titel| Glossareintrag „{{{styled_term_oD|{{{styled_term|}}}}}}}}
+
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}}]
 +
| <!--
  
--><div class= g_maininfo>
+
Suche nach Transkription: 
<p class=g_styled_term>{{#var:term}} [[original_script::{{{original_script|}}}|{{{original_script| }}}]] {{#var:set_spr}}</p>
+
-->[https://en.wikipedia.org/w/index.php?search={{#var:suchbegriff}} {{#fab:wikipedia-w}}] • <!--
<p class=g_desc_of_term>[[desc_of_term::{{{desc_of_term|}}}]]</p>
+
-->[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:
<div class='g_links_artikel'>
+
{{#ask:  
+
{{shortlist|{{#ask:  
[[:+]]
+
[[:+||Metalog:+]]  
[[uses_term::{{#var:code}}]]
+
[[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  
| intro= <h3>Artikel zu „{{{styled_term_oD|{{{styled_term|}}}}}}“:</h3>
+
}}}}<!--
}}</div><!--
 
  
 
------------Fachbegriffe-------------
 
------------Fachbegriffe-------------
--><div class='g_links_glossar'>{{#ask:  
+
-->{{#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=,&ensp;  
 
| sep=,&ensp;  
| intro=<h3>Verwandte Fachbegriffe:</h3>
+
| intro=<p class=g-usage>Glossarseiten</p> <div class=g-fachbegriffe>
:
+
|outro=</div>
}}</div></div><!--
+
}} <!--
 
 
Themen
 
 
 
--><div class=g_thema><!--
 
-->[[metalog:Glossar|{{#fas:tags}}]] {{#regex: {{{tags|}}} |/[\wäüößÄÜÖ]+/e | {{#set: hat_thema=$0}} [[category:$0]] [[Metalog:Glossar/{{ucfirst:$0}}|{{ucfirst:$0}}]] }}<!--
 
 
 
Attribute
 
-->{{#set: glossar_id={{#var:id}}}}<!--
 
 
 
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}}] • <!--
 
-->[https://www.google.co.jp/#q={{#var:kanji}} {{#fab:google}}] • <!--
 
-->[https://www.google.co.jp/#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/#q={{#var:suchbegriff}} {{#fab:google}}] • <!--
 
-->[https://www.google.com/#q={{#var:suchbegriff}}&tbm=isch {{#fas:camera}}]
 
}}</span></div><!--
 
  
 
------------Bilder-------------
 
------------Bilder-------------
--><div class='g_links_bilder b_liste'>{{#ask:  
+
-->
[[Bild:+]]
+
{{#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
| limit= 9
 
 
| order= rand
 
| order= rand
 
| searchlabel= Weitere Bilder...  
 
| searchlabel= Weitere Bilder...  
| intro= <h3>Bilder zu „{{{styled_term_oD|{{{styled_term|}}}}}}“:</h3>
+
| intro= <p class=g-usage>Bilder</p>
}}</div><!--
+
}}<!--
  
 
-----MAP-----
 
-----MAP-----
  
-->{{#if: {{{map|}}}  
+
-->{{#if: {{{map|}}} |
|{{map
+
<h2>Geographische Lage</h2>
| {{{map| }}}~ ~ ~ ~ ~{{{romaji|}}}
+
{{map
| caption= Geographische Lage von {{{styled_term_oD|{{{styled_term|}}}}}}; s.a. [[Metalog:Karte]]
+
| {{{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-----
  
-->[[category:glossar]]{{#set: defines_term={{#var:code}}}}<!--
+
-->[[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, serif;
+
     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;  
 
}
 
}
#content h3 {
 
  font-size: 1.2em;
 
  color: #135;
 
}
 
 
.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: #e2e1e1;
+
   border: 0;
   background-color: #f9f9f9;  
+
  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 {  
font-size: .85em;
 
 
}
 
}
 
.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.

Vorlagenparameter

ParameterBeschreibungTypStatus

keine Beschreibung

Unbekanntoptional
Codecode

keine Beschreibung

Unbekanntoptional
Sprachesprache

keine Beschreibung

Unbekanntoptional
Geschlechtgeschlecht

keine Beschreibung

Unbekanntoptional
Styled_termstyled_term

keine Beschreibung

Unbekanntoptional
Styled_term_oDstyled_term_oD

keine Beschreibung

Unbekanntoptional
Alphabetic_termalphabetic_term

keine Beschreibung

Unbekanntoptional
Original_scriptoriginal_script

keine Beschreibung

Unbekanntoptional
Desc_of_termdesc_of_term

keine Beschreibung

Unbekanntoptional
Tagstags

keine Beschreibung

Unbekanntoptional
Linklink

keine Beschreibung

Unbekanntoptional
Mapmap

keine Beschreibung

Unbekanntoptional
Zoomzoom

keine Beschreibung

Unbekanntoptional
Stylestyle

keine Beschreibung

Unbekanntoptional
Typetype

keine Beschreibung

Unbekanntoptional
Iconicon

keine Beschreibung

Unbekanntoptional
Themathema

keine Beschreibung

Unbekanntoptional