Vorlage:Glossar eintrag: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
 
(17 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 33: Zeile 37:
 
|<span class=g_lang>([[lang_of_term::{{#var:spr}}| ]][[Metalog:Glossar/{{#var:sprache}}|{{#var:spr}}]]{{#if:{{{geschlecht|}}}|, {{{geschlecht|}}}.}})</span>
 
|<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}}]]  
 
| ?styled_term=
 
| ?styled_term=
| format= plain
+
| format=plain
 
| link= none
 
| link= none
 
| template= smw_links_12
 
| template= smw_links_12
Zeile 98: 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
 
| order= rand
 
| order= rand
| searchlabel= Weitere Bilder...
+
| 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 151: 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=
}}