Vorlage:Biobox: Unterschied zwischen den Versionen
Änderung 194 von Boobslover (Diskussion) rückgängig gemacht. Markierung: Rückgängigmachung |
Änderung 193 von Boobslover (Diskussion) rückgängig gemacht. Markierung: Rückgängigmachung |
||
| Zeile 1: | Zeile 1: | ||
<includeonly><table class="biobox plainlinks" cellspacing="0" style="font-size:90% | <includeonly><table class="biobox plainlinks" cellspacing="0" style="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 | <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> | ||
<!-- BEGIN Bild-Block --> | <!-- BEGIN Bild-Block --> | ||
{{#if: {{{Bild|}}} | | {{#if: {{{Bild|}}} | | ||
<!-- Bildname ist gesetzt --> | |||
{{#ifexist: Datei:{{{Bild}}} | | {{#ifexist: Datei:{{{Bild}}} | | ||
<!-- Datei existiert: ganz normal anzeigen --> | |||
<tr> | <tr> | ||
<td colspan="2" class="biobox-photo | <td colspan="2" class="biobox-photo"> | ||
[[Datei:{{{Bild}}}|class=biobox-img]] | [[Datei:{{{Bild}}}|class=biobox-img]] | ||
</td> | </td> | ||
</tr> | </tr> | ||
| | | | ||
<!-- Datei existiert NICHT: Platzhalter + Upload-Links (ohne Namenszwang!) --> | |||
<tr> | <tr> | ||
<td colspan="2" class="biobox-photo" style="text-align:center | <td colspan="2" class="biobox-photo" style="text-align:center;"> | ||
[[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}} | [[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}} | ||
| m = Foto benoetigt (Mann).jpg | | m = Foto benoetigt (Mann).jpg | ||
| mann = Foto benoetigt (Mann).jpg | | mann = Foto benoetigt (Mann).jpg | ||
| w = Foto benoetigt (Frau).jpg | | w = Foto benoetigt (Frau).jpg | ||
| frau = Foto benoetigt (Frau).jpg | | frau = Foto benoetigt (Frau).jpg | ||
| #default = Foto benoetigt (Frau).jpg | | #default = Foto benoetigt (Frau).jpg | ||
}}|class=biobox-img]] | }}|class=biobox-img]] | ||
<div class="biobox-upload"> | <div class="biobox-upload"> | ||
''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}} | |||
}} jetzt mit diesem Namen hochladen] • | |||
[{{fullurl:Special:Upload}} frei hochladen (beliebiger Name)]'' | [{{fullurl:Special:Upload}} frei hochladen (beliebiger Name)]'' | ||
</div> | </div> | ||
| Zeile 30: | Zeile 35: | ||
}} | }} | ||
| | | | ||
<!-- KEIN Bildname gesetzt: Platzhalter + optionaler Vorschlag, aber auch freier Upload --> | |||
<tr> | <tr> | ||
<td colspan="2" class="biobox-photo" style="text-align:center | <td colspan="2" class="biobox-photo" style="text-align:center;"> | ||
[[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}} | [[Datei:{{#switch: {{lc:{{{Geschlecht|}}}}} | ||
| m = Foto benoetigt (Mann).jpg | | m = Foto benoetigt (Mann).jpg | ||
| mann = Foto benoetigt (Mann).jpg | | mann = Foto benoetigt (Mann).jpg | ||
| w = Foto benoetigt (Frau).jpg | | w = Foto benoetigt (Frau).jpg | ||
| frau = Foto benoetigt (Frau).jpg | | frau = Foto benoetigt (Frau).jpg | ||
| #default = Foto benoetigt (Frau).jpg | | #default = Foto benoetigt (Frau).jpg | ||
}}|class=biobox-img]] | }}|class=biobox-img]] | ||
<div class="biobox-upload"> | <div class="biobox-upload"> | ||
''Bild fehlt – | ''Bild fehlt – | ||
[{{fullurl:Special:Upload|wpDestFile={{urlencode:{{BASEPAGENAME}}.jpg|PATH}}}} mit Seitenname hochladen] • | [{{fullurl:Special:Upload | ||
|wpDestFile={{urlencode:{{BASEPAGENAME}}.jpg|PATH}} | |||
}} mit Seitenname hochladen] • | |||
[{{fullurl:Special:Upload}} frei hochladen (beliebiger Name)]'' | [{{fullurl:Special:Upload}} frei hochladen (beliebiger Name)]'' | ||
</div> | </div> | ||
| Zeile 49: | Zeile 57: | ||
}} | }} | ||
<!-- END Bild-Block --> | <!-- END Bild-Block --> | ||
{{#if:{{{Beschreibung|}}} | | {{#if:{{{Beschreibung|}}} | | ||
<tr><td colspan="2" style="text-align:left | <tr> | ||
<td colspan="2" style="text-align:left">{{{Beschreibung}}}</td> | |||
</tr> | |||
}} | }} | ||
{{#if:{{{Bildunterschrift|}}} | | {{#if:{{{Bildunterschrift|}}} | | ||
<tr><td colspan="2" class="biobox-caption" style="text-align:center | <tr> | ||
<td colspan="2" class="biobox-caption" style="text-align:center">{{{Bildunterschrift}}}</td> | |||
</tr> | |||
}} | }} | ||
{{#if:{{{Beruf|}}} | | {{#if:{{{Beruf|}}} | | ||
<tr><td colspan="2" style="background-color: {{#if:{{{Headerfarbe|}}}|{{{Headerfarbe}}}|{{Infobox Farbe Beruf|beruf={{{Beruf|}}}}}}}; text-align:center | <tr> | ||
<td colspan="2" style="background-color: {{#if:{{{Headerfarbe|}}}|{{{Headerfarbe}}}|{{Infobox Farbe Beruf|beruf={{{Beruf|}}}}}}}; text-align:center"><b>{{{Beruf|}}}</b></td> | |||
</tr> | |||
}} | }} | ||
<!-- Persönliche Daten --> | |||
<!-- Persönliche Daten nur anzeigen, wenn mind. ein Feld befüllt ist --> | |||
{{#if:{{{Pseudonym|}}}{{{Geburtsdatum|}}}{{{Geburtsort|}}}{{{Todesdatum|}}}{{{Ethnie|}}}{{{Nationalität|}}}| | {{#if:{{{Pseudonym|}}}{{{Geburtsdatum|}}}{{{Geburtsort|}}}{{{Todesdatum|}}}{{{Ethnie|}}}{{{Nationalität|}}}| | ||
<tr><td colspan="2" style="background-color: {{#if:{{{Headerfarbe|}}}|{{{Headerfarbe}}}|{{Infobox Farbe Beruf|beruf={{{Beruf|}}}}}}}; text-align:center | <tr> | ||
<td colspan="2" style="background-color: {{#if:{{{Headerfarbe|}}}|{{{Headerfarbe}}}|{{Infobox Farbe Beruf|beruf={{{Beruf|}}}}}}}; text-align:center"><b>Persönliche Daten</b></td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{Pseudonym|}}} | | {{#if: {{{Pseudonym|}}} | | ||