Vorlage:Glossar eintrag: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
 
(30 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 11: Zeile 11:
 
| desc_of_term=   
 
| desc_of_term=   
 
| tags=   
 
| tags=   
 +
| map=
 +
| zoom=
 +
| type=
 +
| icon=
 
}}  
 
}}  
 
</nowiki>
 
</nowiki>
Zeile 31: Zeile 35:
 
}} }}<!--
 
}} }}<!--
 
-->{{#vardefine:set_spr
 
-->{{#vardefine:set_spr
|([[lang_of_term::{{#var:spr}}| ]][[Metalog:Glossar/{{#var:sprache}}|{{#var:spr}}]]{{#if:{{{geschlecht|}}}|, {{{geschlecht|}}}.}})
+
|<span class=g_lang>([[lang_of_term::{{#var:spr}}| ]][[Metalog:Glossar/{{#var:sprache}}|{{#var:spr}}]]{{#if:{{{geschlecht|}}}|, {{{geschlecht|}}}.}})</span>
 
}}<!--
 
}}<!--
 +
-->{{#vardefine:term
 +
| [[styled_term::{{{styled_term_oD|{{{styled_term|}}}}}}| ]][[styled_term_mD::{{{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 39: Zeile 46:
 
| {{#ifeq: {{NAMESPACE}} | Glossar | {{{original_script|}}} |}}
 
| {{#ifeq: {{NAMESPACE}} | Glossar | {{{original_script|}}} |}}
 
}}<!--  
 
}}<!--  
-->{{#vardefine:id | {{#regex: {{lc:{{NAMESPACE}}}}|/\w/}}-{{#var:code}} }}<!--
+
-->{{#vardefine:id | {{#regex: {{lc:{{NAMESPACE}}}}|/\w/}}-{{lc:{{#var:code}}}} }}<!--
  
 
SCHREIBEN
 
SCHREIBEN
Zeile 45: Zeile 52:
 
-->{{titel| Glossareintrag „{{{styled_term_oD|{{{styled_term|}}}}}}“ }}  
 
-->{{titel| Glossareintrag „{{{styled_term_oD|{{{styled_term|}}}}}}“ }}  
 
<div class= g_maininfo>
 
<div class= g_maininfo>
<p class=g_styled_term>[[styled_term::{{{styled_term|}}}]] [[original_script::{{{original_script|}}}|{{{original_script| }}}]] {{#var:set_spr}}</p>
+
<p class=g_styled_term>{{#var:term}} [[original_script::{{{original_script|}}}|{{{original_script| }}}]] {{#var:set_spr}}</p>
 
<p class=g_desc_of_term>[[desc_of_term::{{{desc_of_term|}}}]]</p>
 
<p class=g_desc_of_term>[[desc_of_term::{{{desc_of_term|}}}]]</p>
 
<!--  
 
<!--  
Zeile 54: Zeile 61:
 
[[:+]]
 
[[:+]]
 
[[uses_term::{{#var:code}}]]   
 
[[uses_term::{{#var:code}}]]   
| format= ul  
+
| format=ul  
| intro= <h3>Folgende Artikel erwähnen „{{{styled_term_oD|{{{styled_term|}}}}}}“</h3>
+
| intro= <h3>Artikel zu „{{{styled_term_oD|{{{styled_term|}}}}}}“:</h3>
 +
| link= none
 +
| template= smw_g
 +
| userparam= {{lc:{{#regex:{{NAMESPACE}}|/\w/}}}}-{{#var:code}}
 +
}}</div><!--
 +
 
 +
------------Fachbegriffe-------------
 +
--><div class='g_links_glossar'>{{#ask:
 +
[[Glossar:+]][[cites_term::{{#var:code}}]] OR
 +
[[Skt:+]][[cites_term::{{#var:code}}]]
 +
| ?styled_term=
 +
| format=plain
 +
| link= none
 +
| template= smw_links_12
 +
| sep= ,&ensp;
 +
| intro= <h3>Verwandte Fachbegriffe:</h3>
 +
:
 
}}</div></div><!--
 
}}</div></div><!--
  
Themen, externe Links
+
Themen
  
 
--><div class=g_thema><!--
 
--><div class=g_thema><!--
 
-->Thema: {{#regex: {{{tags|}}} |/[\wäüößÄÜÖ]+/e | [[hat_thema::$0| ]] [[category:$0]] [[Metalog:Glossar/{{ucfirst:$0}}|{{ucfirst:$0}}]] }}<!--
 
-->Thema: {{#regex: {{{tags|}}} |/[\wäüößÄÜÖ]+/e | [[hat_thema::$0| ]] [[category:$0]] [[Metalog:Glossar/{{ucfirst:$0}}|{{ucfirst:$0}}]] }}<!--
 +
 +
Attribute
 +
-->[[glossar_id::{{#var:id}}| ]]<!--
 +
 +
externe Links
 
--><span class=g_links_extern>{{#if: {{#var:suche_kanji}}| <!--
 
--><span class=g_links_extern>{{#if: {{#var:suche_kanji}}| <!--
  
 
Suche nach Kanji:
 
Suche nach Kanji:
-->[[Bild:Wadoku logo.svg| x20px| link=http://www.wadoku.de/search/{{#var:kanji}}| Suche {{{kanji|}}} in Wadoku.de]] • [[Bild:Wikipedia-icon.png
+
-->[[Bild:Wadoku logo.svg| x20px| link=http://www.wadoku.de/search/{{#var:kanji}}| Suche {{{kanji|}}} in Wadoku.de]] • [[Bild:Wikipedia-icon.png| 20px
| 20px| link=https://ja.wikipedia.org/w/index.php?search={{#var:kanji}}| Suche {{{kanji|}}} in Wikipedia(ja)]] • [[Bild:Google-icon.png
+
| link=https://ja.wikipedia.org/w/index.php?search={{#var:kanji}}| Suche {{{kanji|}}} in Wikipedia(ja)]] • [[Bild:Google-icon.png| 20px
| 20px| link=https://www.google.co.jp/#q={{#var:kanji}}| Suche {{{kanji|}}} mit Google(ja)]] • [[Bild:camera-icon.png
+
| link=https://www.google.co.jp/#q={{#var:kanji}}| Suche {{{kanji|}}} mit Google(ja)]] • [[Bild:camera-icon.png| 20px
| 20px| link=https://www.google.co.jp/#q={{#var:kanji}}&tbm=isch| Suche {{{kanji|}}} mit Google Images(ja)]]
+
| link=https://www.google.co.jp/#q={{#var:kanji}}&tbm=isch| Suche {{{kanji|}}} mit Google Images(ja)]]
 
| <!--
 
| <!--
  
 
Suche nach Transkription:  
 
Suche nach Transkription:  
-->[[Bild:Wikipedia-icon.png| 20px| link=https://en.wikipedia.org/w/index.php?search={{#var:suchbegriff}}| Suche {{{romaji|}}} in Wikipedia]] • [[Bild:Google-icon.png
+
-->[[Bild:Wikipedia-icon.png| 20px| link=https://en.wikipedia.org/w/index.php?search={{#var:suchbegriff}}| Suche {{{romaji|}}} in Wikipedia]] • [[Bild:Google-icon.png| 20px
| 20px| link=https://www.google.com/#q={{#var:suchbegriff}}| Suche {{{romaji|}}} mit Google]] • [[Bild:camera-icon.png
+
| link=https://www.google.com/#q={{#var:suchbegriff}}| Suche {{{romaji|}}} mit Google]] • [[Bild:camera-icon.png| 20px
| 20px| link=https://www.google.com/#q={{#var:suchbegriff}}&tbm=isch| Suche {{{romaji|}}} mit Google Images]]
+
| link=https://www.google.com/#q={{#var:suchbegriff}}&tbm=isch| Suche {{{romaji|}}} mit Google Images]]
 
}}</span></div><!--
 
}}</span></div><!--
 
------------Fachbegriffe-------------
 
--><div class='g_links_glossar'>{{#ask:
 
[[Glossar:+]][[uses_term::{{#var:code}}]] OR
 
[[Skt:+]][[uses_term::{{#var:code}}]]
 
| format= plainlist
 
| intro= <h3>Fachbegriffe mit Bezug zu „{{{styled_term_oD|{{{styled_term|}}}}}}“</h3>
 
}}</div><!--
 
  
 
------------Bilder-------------
 
------------Bilder-------------
 
--><div class='g_links_bilder b_liste'>{{#ask:  
 
--><div class='g_links_bilder b_liste'>{{#ask:  
 
[[Bild:+]]
 
[[Bild:+]]
[[uses_term::{{#var:code}}]]   
+
[[cites_term::{{#var:code}}]]   
| format= ul
+
| format=ul
 
| link=none
 
| link=none
| template= smw_g_img
+
| template=smw_g_img
| intro= <h3>Bilder mit Bezug zu „{{{styled_term_oD|{{{styled_term|}}}}}}“</h3>
+
| class= b_liste
 +
| limit= 9
 +
| order= rand
 +
| searchlabel= Weitere Bilder...
 +
| intro= <h3>Bilder zu „{{{styled_term_oD|{{{styled_term|}}}}}}“:</h3>
 
}}</div><!--
 
}}</div><!--
 +
 +
-----MAP-----
 +
-->{{#if: {{{map|}}}
 +
|{{map
 +
| {{{map| }}}~ ~ ~ ~ ~{{{romaji|}}}
 +
| caption= Geographische Lage von {{{styled_term_oD|{{{styled_term|}}}}}}; s.a. [[Metalog:Karte]]
 +
| zoom= {{#if: {{{zoom|}}}| {{{zoom|}}} | 9 }}
 +
| type= {{#if: {{{style|{{{type| }}}}}}| {{{style|{{{type| }}}}}} | terrain }}
 +
| height=400px
 +
| controls= type
 +
| icon= {{ucfirst:{{#if:{{{icon|}}}|{{{icon|}}}|Star}} }}_icon.png
 +
}} }}<!--
  
 
CSS
 
CSS
Zeile 99: Zeile 135:
 
-->{{#css:
 
-->{{#css:
 
.g_styled_term {
 
.g_styled_term {
  font-size: 1.2em;
+
  font-size: 1.5em;
 +
text-align: center;
 +
}
 +
.g_lang {
 +
  font-size: .66em;
 +
  text-transform: uppercase;  
 
}
 
}
.g_maininfo {
+
#content h3 {
   padding: 1.5em 21px;
+
  font-size: 1.2em;
 +
  color: #135;
 +
}
 +
.g_maininfo,
 +
.g_thema {
 +
  border: 4px solid;
 +
   padding: 1em 31px;
 +
  margin: 1em -35px;
 +
  border-radius: 8px;
 +
}
 +
.g_maininfo {
 
   color: #135;
 
   color: #135;
 
   background-color: #f3f8ff;
 
   background-color: #f3f8ff;
   border-color: #26a;
+
   border-color: #9ab9db;
  border: 4px solid #9ab9db;
 
 
   box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
 
   box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
   border-radius: 8px;
+
}
   margin: 0 -25px;
+
.g_thema {
 +
   border-color: #e2e1e1;
 +
   background-color: #f9f9f9;  
 
}
 
}
 
.g_links_extern {
 
.g_links_extern {
Zeile 123: Zeile 175:
 
.g_links_artikel ul {
 
.g_links_artikel ul {
 
   column-count: 2;
 
   column-count: 2;
 +
}
 +
.g_links_artikel ul,
 +
.g_links_artikel li {
 +
  list-style:none;
 
}
 
}
 
}}</includeonly>
 
}}</includeonly>

Aktuelle Version vom 20. Februar 2019, 14:27 Uhr

Code

{{Glossar_eintrag
| code=  
| styled_term=  
| styled_term_oD=  
| original_script=  
| sprache=  
| geschlecht=  
| desc_of_term=  
| tags=  
| map=
| zoom=
| type=
| icon=
}}