Vorlage:Biobox: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 6: | Zeile 6: | ||
<!-- BEGIN Bild-Block --> | <!-- BEGIN Bild-Block --> | ||
{{#if: {{{Bild|}}} | | {{#if: {{{Bild|}}} | | ||
<!-- | <!-- Bildname ist gesetzt --> | ||
<tr> | {{#ifexist: Datei:{{{Bild}}} | | ||
<!-- Datei existiert: ganz normal anzeigen --> | |||
<tr> | |||
</td> | <td colspan="2" class="biobox-photo"> | ||
</tr> | [[Datei:{{{Bild}}}|class=biobox-img]] | ||
</td> | |||
</tr> | |||
| | |||
<!-- Datei existiert NICHT: Platzhalter + Upload-Links (ohne Namenszwang!) --> | |||
<tr> | |||
<td colspan="2" class="biobox-photo" style="text-align:center;"> | |||
[[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}} | |||
| m = Foto benoetigt (Mann).jpg | |||
| mann = Foto benoetigt (Mann).jpg | |||
| w = Foto benoetigt (Frau).jpg | |||
| frau = Foto benoetigt (Frau).jpg | |||
| #default = Foto benoetigt (Frau).jpg | |||
}}|class=biobox-img]] | |||
<div class="biobox-upload"> | |||
''Datei „{{{Bild}}}“ fehlt – | |||
[{{fullurl:Special:Upload|wpDestFile={{urlencode:{{{Bild}}}|PATH}}}} jetzt mit diesem Namen hochladen] • | |||
[{{fullurl:Special:Upload}} frei hochladen (beliebiger Name)]'' | |||
</div> | |||
</td> | |||
</tr> | |||
[[Kategorie:Foto benötigt]] | |||
}} | |||
| | | | ||
<!-- KEIN | <!-- KEIN Bildname gesetzt: Platzhalter + optionaler Vorschlag, aber auch freier Upload --> | ||
<tr> | <tr> | ||
<td colspan="2" class="biobox-photo" style="text-align:center;"> | |||
[[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}} | |||
| m = Foto benoetigt (Mann).jpg | |||
| mann = Foto benoetigt (Mann).jpg | |||
| w = Foto benoetigt (Frau).jpg | |||
| frau = Foto benoetigt (Frau).jpg | |||
| #default = Foto benoetigt (Frau).jpg | |||
}}|class=biobox-img]] | |||
<div class="biobox-upload"> | |||
''Bild fehlt – | |||
</tr> | [{{fullurl:Special:Upload|wpDestFile={{urlencode:{{BASEPAGENAME}}.jpg|PATH}}}} mit Seitenname hochladen] • | ||
[[Kategorie:Foto benötigt]] | [{{fullurl:Special:Upload}} frei hochladen (beliebiger Name)]'' | ||
</div> | |||
</td> | |||
</tr> | |||
[[Kategorie:Foto benötigt]] | |||
}} | }} | ||
<!-- END Bild-Block --> | <!-- END Bild-Block --> | ||