Vorlage:Glossar eintrag: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
 
(24 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>Artikel zu „{{{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><!--
 
}}</div><!--
  
 
------------Fachbegriffe-------------
 
------------Fachbegriffe-------------
 
--><div class='g_links_glossar'>{{#ask:  
 
--><div class='g_links_glossar'>{{#ask:  
[[Glossar:+]][[uses_term::{{#var:code}}]] OR
+
[[Glossar:+]][[cites_term::{{#var:code}}]] OR
[[Skt:+]][[uses_term::{{#var:code}}]]  
+
[[Skt:+]][[cites_term::{{#var:code}}]]  
| format= plainlist
+
| ?styled_term=
 +
| format=plain
 +
| link= none
 +
| template= smw_links_12
 +
| sep= ,&ensp;
 
| intro= <h3>Verwandte Fachbegriffe:</h3>
 
| 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}}| <!--
  
Zeile 88: Zeile 108:
 
--><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
 +
| class= b_liste
 
| limit= 9
 
| limit= 9
| intro= <h3>Bilder zu „{{{styled_term_oD|{{{styled_term|}}}}}}“</h3>
+
| 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 100: Zeile 135:
 
-->{{#css:
 
-->{{#css:
 
.g_styled_term {
 
.g_styled_term {
  font-size: 1.5em;
+
  font-size: 1.5em;
 +
text-align: center;
 +
}
 +
.g_lang {
 +
  font-size: .66em;
 +
  text-transform: uppercase;  
 
}
 
}
 
#content h3 {
 
#content h3 {
Zeile 106: Zeile 146:
 
   color: #135;
 
   color: #135;
 
}  
 
}  
.g_maininfo {
+
.g_maininfo,
   padding: 1.5em 21px;
+
.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 {
+
.g_thema {  
  display: block;
+
   border-color: #e2e1e1;
   border: 1px solid #e2e1e1;
+
   background-color: #f9f9f9;  
   background-color: #f9f9f9;
 
  padding: 1em 25px;
 
  margin: 1em -25px;
 
  border-radius: 8px;
 
  clear: both;
 
 
}
 
}
 
.g_links_extern {
 
.g_links_extern {
Zeile 137: 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=
}}