Vorlage:Biobox: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Zeile 1: Zeile 1:
<includeonly><table class="biobox plainlinks" cellspacing="0" style="font-size:90%; float:right; clear:right; margin:0 0 1em 1em; width:auto;"><tr>
<includeonly><table class="biobox plainlinks" cellspacing="0" style="float:right; clear:right; margin:0 0 1em 1em; width:270px; font-size:90%;"><tr>
<td colspan="2" class="biobox-header" style="width:100%; background-color: {{#if:{{{Headerfarbe|}}}|{{{Headerfarbe}}}|{{Infobox Farbe Beruf|beruf={{{Beruf|}}}}}}}; text-align:center; padding:5px;"><b>{{ #if: {{{Name}}} | {{{Name}}} | {{PAGENAMEBASE}} }}</b></td>
<td colspan="2" class="biobox-header" style="background-color: {{#if:{{{Headerfarbe|}}}|{{{Headerfarbe}}}|{{Infobox Farbe Beruf|beruf={{{Beruf|}}}}}}}; text-align:center; padding:6px; font-weight:bold;">
  {{ #if: {{{Name}}} | {{{Name}}} | {{PAGENAMEBASE}} }}
</td>
</tr>
</tr>
<!-- BEGIN Bild-Block -->
<!-- BEGIN Bild-Block -->
Zeile 6: Zeile 8:
   {{#ifexist: Datei:{{{Bild}}} |
   {{#ifexist: Datei:{{{Bild}}} |
     <tr>
     <tr>
       <td colspan="2" class="biobox-photo" style="text-align:center; padding:5px;">
       <td colspan="2" class="biobox-photo" style="text-align:center; padding:8px 0;">
         [[Datei:{{{Bild}}}|class=biobox-img]]
         [[Datei:{{{Bild}}}|250x250px|class=biobox-img]]
       </td>
       </td>
     </tr>
     </tr>
   |
   |
     <tr>
     <tr>
       <td colspan="2" class="biobox-photo" style="text-align:center; padding:5px;">
       <td colspan="2" class="biobox-photo" style="text-align:center; padding:8px 0;">
         [[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}}
         [[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}}
           | m = Foto benoetigt (Mann).jpg
           | m = Foto benoetigt (Mann).jpg
Zeile 19: Zeile 21:
           | frau = Foto benoetigt (Frau).jpg
           | frau = Foto benoetigt (Frau).jpg
           | #default = Foto benoetigt (Frau).jpg
           | #default = Foto benoetigt (Frau).jpg
         }}|class=biobox-img]]
         }}|250x250px|class=biobox-img]]
         <div class="biobox-upload">
         <div class="biobox-upload" style="font-size:85%; margin-top:5px;">
           ''Datei „{{{Bild}}}“ fehlt –
           ''Datei „{{{Bild}}}“ fehlt –
           [{{fullurl:Special:Upload|wpDestFile={{urlencode:{{{Bild}}}|PATH}}}} jetzt mit diesem Namen hochladen] •
           [{{fullurl:Special:Upload|wpDestFile={{urlencode:{{{Bild}}}|PATH}}}} hochladen] •
           [{{fullurl:Special:Upload}} frei hochladen (beliebiger Name)]''
           [{{fullurl:Special:Upload}} frei hochladen]''
         </div>
         </div>
       </td>
       </td>
Zeile 31: Zeile 33:
|
|
   <tr>
   <tr>
     <td colspan="2" class="biobox-photo" style="text-align:center; padding:5px;">
     <td colspan="2" class="biobox-photo" style="text-align:center; padding:8px 0;">
       [[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}}
       [[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}}
         | m = Foto benoetigt (Mann).jpg
         | m = Foto benoetigt (Mann).jpg
Zeile 38: Zeile 40:
         | frau = Foto benoetigt (Frau).jpg
         | frau = Foto benoetigt (Frau).jpg
         | #default = Foto benoetigt (Frau).jpg
         | #default = Foto benoetigt (Frau).jpg
       }}|class=biobox-img]]
       }}|250x250px|class=biobox-img]]
       <div class="biobox-upload">
       <div class="biobox-upload" style="font-size:85%; margin-top:5px;">
         ''Bild fehlt –
         ''Bild fehlt –
         [{{fullurl:Special:Upload|wpDestFile={{urlencode:{{BASEPAGENAME}}.jpg|PATH}}}} mit Seitenname hochladen] •
         [{{fullurl:Special:Upload|wpDestFile={{urlencode:{{BASEPAGENAME}}.jpg|PATH}}}} hochladen] •
         [{{fullurl:Special:Upload}} frei hochladen (beliebiger Name)]''
         [{{fullurl:Special:Upload}} frei hochladen]''
       </div>
       </div>
     </td>
     </td>