Vorlage:Biobox: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Änderung 25 von Boobslover (Diskussion) rückgängig gemacht.
Markierungen: Rückgängigmachung Zurückgesetzt
Zeile 3: Zeile 3:
<td colspan="2" class="biobox-header" style="width:100%; background-color: {{#if:{{{Headerfarbe|}}}|{{{Headerfarbe}}}|{{Infobox Farbe Beruf|beruf={{{Beruf|}}}}}}}; text-align:center"><b>{{ #if: {{{Name}}} | {{{Name}}} | {{PAGENAMEBASE}} }}</b></td>
<td colspan="2" class="biobox-header" style="width:100%; background-color: {{#if:{{{Headerfarbe|}}}|{{{Headerfarbe}}}|{{Infobox Farbe Beruf|beruf={{{Beruf|}}}}}}}; text-align:center"><b>{{ #if: {{{Name}}} | {{{Name}}} | {{PAGENAMEBASE}} }}</b></td>
</tr>
</tr>
{{#if: {{{Bild|}}} |
{{#if: {{{Bild|}}} |
<!-- Bild vorhanden -->
<tr>
<tr>
   <td colspan="2" class="biobox-photo">
   <td colspan="2" class="biobox-photo">
Zeile 11: Zeile 9:
   </td>
   </td>
</tr>
</tr>
|
| [[Kategorie:Foto benötigt]] }}
<!-- KEIN Bild: Platzhalter mit Rotlink + Upload-Hinweis -->
{{#ifeq: {{{Bild}}} | Foto benoetigt (Frau).jpg | [[Kategorie:Foto benötigt]] | }}
<tr>
{{#ifeq: {{{Bild}}} | Foto benoetigt (Mann).jpg | [[Kategorie:Foto benötigt]] | }}
  <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 style="font-size:85%; line-height:1.3; margin-top:0.3em;">
      ''Bild fehlt – [[{{fullurl:Special:Upload|wpDestFile={{PAGENAMEBASE}}.jpg}}|jetzt hochladen]]''
    </div>
  </td>
</tr>
[[Kategorie:Foto benötigt]]
}}


{{#if:{{{Beschreibung|}}} |
{{#if:{{{Beschreibung|}}} |