Vorlage:Förderpartner Erkennungsbilder Artensteckbrief: Unterschied zwischen den Versionen
Aus WIPs-De Datenwiki
K (Kennbild botanischer Wildpflanzenschutz Deutschland (WIPs-De)) |
(+Kennbilder für „Saatgutsammlung“ (+Datei:Kennbild Botanischer Garten Berlin, BO.svg); +CSS zum Ausdrucken) |
||
| Zeile 27: | Zeile 27: | ||
|#default=80px}}<!-- | |#default=80px}}<!-- | ||
-->]]<!-- | -->]]<!-- | ||
#default ist ohne BG Berlin | |||
-->| saatgutsammlung | saatgutsammlungen = | |||
<table style="width:100%" id="Kennbilder-Foerderpartner-Verantwortungsart-Saatgutsammlungen" ><tr><!-- | |||
--><td style="text-align:left;{{#switch: {{LC: {{{Format|}}} }}|alt= |neu|#default=padding-top:15px;}}" ><!-- | |||
-->[[Datei:Kennbild BMUV.png<!-- | |||
-->|link=<!-- | |||
-->|Kennbild Bundesministerium für Umweit, Naturschutz und nukleare Sicherheit<!-- | |||
-->|class=bildhoehe-hoechstens-{{#switch: {{{Höhe|}}}|50px=50px | |||
|60px=60px | |||
|70px=70px | |||
|80px=80px | |||
|90px=90px | |||
|100px=100px | |||
|110px=110px | |||
|120px=120px | |||
|130px=130px | |||
|140px=140px | |||
|150px=150px | |||
|160px=160px | |||
|170px=170px | |||
|180px=180px | |||
|190px=190px | |||
|200px=200px | |||
|#default=100px}}<!-- | |||
-->]]<!-- | |||
--></td><!-- | |||
--><td style="text-align:center;{{#switch: {{LC: {{{Format|}}} }}|alt= |neu|#default=padding-top:15px;}}" ><!-- | |||
-->[[Datei:Logo-BfN-DE-2022-rgb.svg<!-- | |||
-->|link=<!-- | |||
-->|Kennbild Bundesministerium für Naturschutz<!-- | |||
-->|class=bildhoehe-hoechstens-{{#switch: {{{Höhe|}}}|50px=50px | |||
|60px=60px | |||
|70px=70px | |||
|80px=80px | |||
|90px=90px | |||
|100px=100px | |||
|110px=110px | |||
|120px=120px | |||
|130px=130px | |||
|140px=140px | |||
|150px=150px | |||
|160px=160px | |||
|170px=170px | |||
|180px=180px | |||
|190px=190px | |||
|200px=200px | |||
|#default=100px}}<!-- | |||
-->]]<!-- | |||
--></td><!-- | |||
--><td style="text-align:center;{{#switch: {{LC: {{{Format|}}} }}|alt= |neu|#default=padding-top:15px;}}" ><!-- | |||
for z in $(seq 50 10 200); do echo -en "|${z}px=$((z * 70/100 ))px\n"; done | |||
-->[[Datei:Wips logo.svg<!-- | |||
-->|x400px<!-- | |||
-->|link=<!-- | |||
-->|Kennbild botanischer Wildpflanzenschutz Deutschland (WIPs-De)<!-- | |||
-->|class=bildhoehe-hoechstens-{{#switch: {{{Höhe|}}}|50px=30px | |||
|60px=40px | |||
|70px=50px | |||
|80px=60px | |||
|90px=60px | |||
|100px=70px | |||
|110px=80px | |||
|120px=80px | |||
|130px=90px | |||
|140px=100px | |||
|150px=110px | |||
|160px=110px | |||
|170px=120px | |||
|180px=130px | |||
|190px=130px | |||
|200px=140px | |||
|#default=70px}}<!-- | |||
-->]]<!-- | |||
--></td><!-- | |||
--><td style="text-align:center;{{#switch: {{LC: {{{Format|}}} }}|alt= |neu|#default=padding-top:15px;}}" ><!-- | |||
for z in $(seq 50 10 200); do echo -en "|${z}px=$((z * 70/100 ))px\n"; done | |||
-->[[Datei:Kennbild Botanischer Garten Berlin, BO.svg<!-- | |||
-->|x400px<!-- | |||
-->|link=<!-- | |||
-->|Kennbild Botanischer Garten Berlin, BO<!-- | |||
-->|class=bildhoehe-hoechstens-{{#switch: {{{Höhe|}}}|50px=30px | |||
|60px=40px | |||
|70px=50px | |||
|80px=60px | |||
|90px=60px | |||
|100px=70px | |||
|110px=80px | |||
|120px=80px | |||
|130px=90px | |||
|140px=100px | |||
|150px=110px | |||
|160px=110px | |||
|170px=120px | |||
|180px=130px | |||
|190px=130px | |||
|200px=140px | |||
|#default=70px}}<!-- | |||
-->]]<!-- | |||
--></td><!-- | |||
--><td style="text-align:right;" ><!-- | |||
-->{{#switch: {{LC: {{{Format|}}} }} | alt= <!-- | |||
for z in $(seq 50 10 200); do echo -en "|${z}px=$((z * 90/100 ))px\n"; done | |||
-->[[Datei:Kennbild Botanischer Garten (Universität Potsdam).svg<!-- | |||
-->|link=<!-- | |||
-->|Kennbild Botanischer Garten, Universität Potsdam<!-- | |||
-->|class=bildhoehe-hoechstens-{{#switch: {{{Höhe|}}}|50px=40px | |||
|60px=50px | |||
|70px=60px | |||
|80px=70px | |||
|90px=80px | |||
|100px=90px | |||
|110px=100px | |||
|120px=110px | |||
|130px=120px | |||
|140px=130px | |||
|150px=140px | |||
|160px=150px | |||
|170px=150px | |||
|180px=160px | |||
|190px=170px | |||
|200px=180px | |||
|#default=90px}}<!-- | |||
-->]]<!-- | |||
-->|neu|#default=<!-- | |||
-->[[Datei: Kennbild Botanischer Garten (botanischer-garten-potsdam.de, Universität Potsdam).png<!-- | |||
-->|link=<!-- | |||
-->|Kennbild Botanischer Garten, Universität Potsdam (botanischer-garten-potsdam.de)<!-- | |||
-->|class=bildhoehe-hoechstens-{{#switch: {{{Höhe|}}}|50px=50px | |||
|60px=70px | |||
|70px=80px | |||
|80px=90px | |||
|90px=100px | |||
|100px=110px | |||
|110px=120px | |||
|120px=130px | |||
|130px=140px | |||
|140px=150px | |||
|150px=170px | |||
|160px=180px | |||
|170px=190px | |||
|180px=200px | |||
|190px=210px | |||
|200px=220px | |||
|#default=80px}}<!-- | |||
-->]]<!-- | |||
-->}}<!-- #switch: Format | |||
--></td> | |||
</tr> | |||
</table><!-- saatgutsammlung ENDE | |||
#default ist ohne BG Berlin | |||
-->| #default = | -->| #default = | ||
<table style="width:100%" ><tr><!-- | <table style="width:100%" id="Kennbilder-Foerderpartner-Verantwortungsarten" ><tr><!-- | ||
--><td style="text-align:left;{{#switch: {{LC: {{{Format|}}} }}|alt= |neu|#default=padding-top:15px;}}" ><!-- | --><td style="text-align:left;{{#switch: {{LC: {{{Format|}}} }}|alt= |neu|#default=padding-top:15px;}}" ><!-- | ||
-->[[Datei:Kennbild BMUV.png<!-- | -->[[Datei:Kennbild BMUV.png<!-- | ||
| Zeile 163: | Zeile 318: | ||
{{ {{PAGENAME}}}} | {{ {{PAGENAME}}}} | ||
<div class="mw-collapsible mw-collapsed" style="overflow:auto;"> | |||
<div>''CSS zum Ausdrucken …''</div> | |||
<syntaxhighlight lang="css" class="mw-collapsible-content" style="font-size:smaller;border-left:1px dotted gray;border-bottom:1px solid gray;"> | |||
/* A4-Ausdruck falls größtes Kennbild mit bildhoehe-hoechstens-100px dann im Ausdruck zu groß, daher Bilder etwas kleinern */ | |||
img[title="Kennbild Bundesministerium für Umweit, Naturschutz und nukleare Sicherheit"], | |||
img[title="Kennbild Bundesministerium für Naturschutz"] { height:90px!important; } | |||
img[title="Kennbild botanischer Wildpflanzenschutz Deutschland (WIPs-De)"]{ height:60px!important; } | |||
img[title="Kennbild Botanischer Garten, Universität Potsdam (botanischer-garten-potsdam.de)"] { height:70px!important; } | |||
</syntaxhighlight> | |||
</div> | |||
<nowiki>{{</nowiki>{{PAGENAME}}|Format=alt}} | <nowiki>{{</nowiki>{{PAGENAME}}|Format=alt}} | ||
| Zeile 178: | Zeile 346: | ||
{{ {{PAGENAME}} |Leben Natur Vielfalt|Höhe=50px}} | {{ {{PAGENAME}} |Leben Natur Vielfalt|Höhe=50px}} | ||
<nowiki>{{</nowiki>{{PAGENAME}}|Saatgutsammlung}} | |||
… ergibt: | |||
{{ {{PAGENAME}} |Saatgutsammlung}} | |||
<div class="mw-collapsible mw-collapsed" style="overflow:auto;"> | |||
<div>''CSS zum Ausdrucken …''</div> | |||
<syntaxhighlight lang="css" class="mw-collapsible-content" style="font-size:smaller;border-left:1px dotted gray;border-bottom:1px solid gray;"> | |||
/* A4-Ausdruck falls größtes Kennbild mit bildhoehe-hoechstens-100px dann im Ausdruck zu groß, daher Bilder etwas kleinern */ | |||
img[title="Kennbild Bundesministerium für Umweit, Naturschutz und nukleare Sicherheit"], | |||
img[title="Kennbild Bundesministerium für Naturschutz"] { height:80px!important; } | |||
img[title="Kennbild botanischer Wildpflanzenschutz Deutschland (WIPs-De)"], | |||
img[title="Kennbild Botanischer Garten Berlin, BO"]{ height:50px!important; } | |||
img[title="Kennbild Botanischer Garten, Universität Potsdam (botanischer-garten-potsdam.de)"] { height:60px!important; } | |||
img[title="Kennbild Bundesministerium für Naturschutz"] { transform: translateX(-20px); } | |||
img[title="Kennbild botanischer Wildpflanzenschutz Deutschland (WIPs-De)"] { transform: translateX(-20px); } | |||
</syntaxhighlight> | |||
</div> | |||
=== Beiwerte (Parameter) der Vorlage === | === Beiwerte (Parameter) der Vorlage === | ||
| Zeile 184: | Zeile 372: | ||
<div class="definition-inline code-bold-only"> | <div class="definition-inline code-bold-only"> | ||
; <tt>|1=</tt> : | ; <tt>|1=</tt> : „Leben Natur Vielfalt“, oder: „Saatgutsammlung“, oder leer lassen | ||
; <tt>|Format=</tt> : alt – auf altes Format umstellen (Kennbild BG Potsdam ist [[:Datei: Kennbild Botanischer Garten (Universität Potsdam).svg]]); stete Vorgabe: <code><nowiki>|Format=neu</nowiki></code> | ; <tt>|Format=</tt> : alt – auf altes Format umstellen (Kennbild BG Potsdam ist [[:Datei: Kennbild Botanischer Garten (Universität Potsdam).svg]]); stete Vorgabe: <code><nowiki>|Format=neu</nowiki></code> | ||
; <tt>|Höhe=</tt> : 50px, 60px,.. bis 200px (für „Leben Natur Vielfalt“) | ; <tt>|Höhe=</tt> : 50px, 60px,.. bis 200px (für „Leben Natur Vielfalt“) | ||
| Zeile 200: | Zeile 388: | ||
Datei: Kennbild Botanischer Garten (Universität Potsdam).svg | Datei: Kennbild Botanischer Garten (Universität Potsdam).svg | ||
Datei: Kennbild Botanischer Garten (botanischer-garten-potsdam.de, Universität Potsdam).png | Datei: Kennbild Botanischer Garten (botanischer-garten-potsdam.de, Universität Potsdam).png | ||
Datei: Kennbild Botanischer Garten Berlin, BO.svg | |||
</gallery> | </gallery> | ||
Version vom 4. November 2024, 13:20 Uhr
Kennbilder der Förderpartner von WIPs-De darstellen in vernünftiger Bildgröße. Für die Bilder ist gedacht, daß sie in höchster Bildauflösung eingebettet sind, aber ansichtsmäßig auf die Größe von 50px bis 200px angeglichen werden können. Dadurch kann beim Erzeugen von PDF ein Kennbild in guter Druckauflösung in das PDF eingebettet werden, würde man nur die Wiki-Bild-Vergrößerung verwenden, wäre die Druckauflösung deutlich geringer.
Benutzung
{{Förderpartner Erkennungsbilder Artensteckbrief}}
… ergibt:
![]() | ![]() |
CSS zum Ausdrucken …
/* A4-Ausdruck falls größtes Kennbild mit bildhoehe-hoechstens-100px dann im Ausdruck zu groß, daher Bilder etwas kleinern */
img[title="Kennbild Bundesministerium für Umweit, Naturschutz und nukleare Sicherheit"],
img[title="Kennbild Bundesministerium für Naturschutz"] { height:90px!important; }
img[title="Kennbild botanischer Wildpflanzenschutz Deutschland (WIPs-De)"]{ height:60px!important; }
img[title="Kennbild Botanischer Garten, Universität Potsdam (botanischer-garten-potsdam.de)"] { height:70px!important; }
{{Förderpartner Erkennungsbilder Artensteckbrief|Format=alt}}
… ergibt:
![]() |
{{Förderpartner Erkennungsbilder Artensteckbrief|Leben Natur Vielfalt}}
… ergibt:
{{Förderpartner Erkennungsbilder Artensteckbrief|Leben Natur Vielfalt|Höhe=50px}}
… ergibt:
{{Förderpartner Erkennungsbilder Artensteckbrief|Saatgutsammlung}}
… ergibt:
![]() | ![]() |
CSS zum Ausdrucken …
/* A4-Ausdruck falls größtes Kennbild mit bildhoehe-hoechstens-100px dann im Ausdruck zu groß, daher Bilder etwas kleinern */
img[title="Kennbild Bundesministerium für Umweit, Naturschutz und nukleare Sicherheit"],
img[title="Kennbild Bundesministerium für Naturschutz"] { height:80px!important; }
img[title="Kennbild botanischer Wildpflanzenschutz Deutschland (WIPs-De)"],
img[title="Kennbild Botanischer Garten Berlin, BO"]{ height:50px!important; }
img[title="Kennbild Botanischer Garten, Universität Potsdam (botanischer-garten-potsdam.de)"] { height:60px!important; }
img[title="Kennbild Bundesministerium für Naturschutz"] { transform: translateX(-20px); }
img[title="Kennbild botanischer Wildpflanzenschutz Deutschland (WIPs-De)"] { transform: translateX(-20px); }
Beiwerte (Parameter) der Vorlage
Für Förderpartner Erkennungsbilder Artensteckbrief können erforderliche Werte und wahlfreie Vorlagenbeiwerte (Parameter) wie folgt angewendet werden:
- |1=
- „Leben Natur Vielfalt“, oder: „Saatgutsammlung“, oder leer lassen
- |Format=
- alt – auf altes Format umstellen (Kennbild BG Potsdam ist Datei: Kennbild Botanischer Garten (Universität Potsdam).svg); stete Vorgabe:
|Format=neu - |Höhe=
- 50px, 60px,.. bis 200px (für „Leben Natur Vielfalt“)
Abhängigkeiten
Bilder:
CSS
/* for z in $(seq 50 10 200); do echo -en ".bildhoehe-hoechstens-${z}px, img.bildhoehe-hoechstens-${z}px\n { height:${z}px; width:auto; }\n"; done */
.bildhoehe-hoechstens-30px img, img.bildhoehe-hoechstens-30px
{ height:30px; width:auto; }
.bildhoehe-hoechstens-40px img, img.bildhoehe-hoechstens-40px
{ height:40px; width:auto; }
.bildhoehe-hoechstens-50px img, img.bildhoehe-hoechstens-50px
{ height:50px; width:auto; }
.bildhoehe-hoechstens-60px img, img.bildhoehe-hoechstens-60px
{ height:60px; width:auto; }
.bildhoehe-hoechstens-70px img, img.bildhoehe-hoechstens-70px
{ height:70px; width:auto; }
.bildhoehe-hoechstens-80px img, img.bildhoehe-hoechstens-80px
{ height:80px; width:auto; }
.bildhoehe-hoechstens-90px img, img.bildhoehe-hoechstens-90px
{ height:90px; width:auto; }
.bildhoehe-hoechstens-100px img, img.bildhoehe-hoechstens-100px
{ height:100px; width:auto; }
.bildhoehe-hoechstens-110px img, img.bildhoehe-hoechstens-110px
{ height:110px; width:auto; }
.bildhoehe-hoechstens-120px img, img.bildhoehe-hoechstens-120px
{ height:120px; width:auto; }
.bildhoehe-hoechstens-130px img, img.bildhoehe-hoechstens-130px
{ height:130px; width:auto; }
.bildhoehe-hoechstens-140px img, img.bildhoehe-hoechstens-140px
{ height:140px; width:auto; }
.bildhoehe-hoechstens-150px img, img.bildhoehe-hoechstens-150px
{ height:150px; width:auto; }
.bildhoehe-hoechstens-160px img, img.bildhoehe-hoechstens-160px
{ height:160px; width:auto; }
.bildhoehe-hoechstens-170px img, img.bildhoehe-hoechstens-170px
{ height:170px; width:auto; }
.bildhoehe-hoechstens-180px img, img.bildhoehe-hoechstens-180px
{ height:180px; width:auto; }
.bildhoehe-hoechstens-190px img, img.bildhoehe-hoechstens-190px
{ height:190px; width:auto; }
.bildhoehe-hoechstens-200px img, img.bildhoehe-hoechstens-200px
{ height:200px; width:auto; }
.bildhoehe-hoechstens-210px img, img.bildhoehe-hoechstens-210px
{ height:200px; width:auto; }
.bildhoehe-hoechstens-220px img, img.bildhoehe-hoechstens-220px
{ height:200px; width:auto; }

