Vorlage:Infobox Teamler2/Layout: Unterschied zwischen den Versionen

[gesichtete Version][gesichtete Version]
(Test)
 
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt)
Zeile 37: Zeile 37:
 
<div style="border-top-right-radius: 15px; font-weight: bold; font-size: 20px; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; color:#FFECAF; padding:5px;">{{#if: {{{Name|}}} | {{{Name}}} | {{PAGENAME}} }}</div>
 
<div style="border-top-right-radius: 15px; font-weight: bold; font-size: 20px; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; color:#FFECAF; padding:5px;">{{#if: {{{Name|}}} | {{{Name}}} | {{PAGENAME}} }}</div>
 
<table width="320px"><tr><td width="320px" align="center" colspan="2">
 
<table width="320px"><tr><td width="320px" align="center" colspan="2">
{{#ifeq: {{PAGENAME}} | Infobox Teamler2/Layout | | {{#ifeq: {{PAGENAME}} | Infobox Teamler2 | | {{#if: {{{Name|}}} | {{#ifexist: File:Avatar-{{{Name}}}.png | [[File:Avatar-{{{Name}}}.png|center|thumb]] | {{#ifexist: File:Avatar-{{{Name}}}.jpg | [[File:Avatar-{{{Name}}}.jpg|center|thumb]]}} }} | {{#ifexist: File:Avatar-{{PAGENAME}}.png | [[File:Avatar-{{PAGENAME}}.png|center|thumb]] | {{#ifexist: File:Avatar-{{PAGENAME}}.jpg | [[File:Avatar-{{PAGENAME}}.jpg|center|thumb]]}} }} }} }} }}
+
{{#ifeq: {{#rpos:{{PAGENAME}} | Infobox Teamler2 }} | -1 |
 +
{{#ifexist: File:Avatar-{{PAGENAME}}.png | [[File:Avatar-{{PAGENAME}}.png|center|thumb]] |  
 +
{{#ifexist: File:Avatar-{{PAGENAME}}.jpg | [[File:Avatar-{{PAGENAME}}.jpg|center|thumb]] |  
 +
{{#ifexist: File:Avatar-{{PAGENAME}}.gif | [[File:Avatar-{{PAGENAME}}.gif|center|thumb]] | }} }} }} }}
 
</td></tr><tr><td align="center" colspan="2">
 
</td></tr><tr><td align="center" colspan="2">
 
{{#if: {{{Teamverlassen|}}} | |{{TeamLogo|{{{Position1}}}}}{{#if: {{{Position2|}}} | <br>{{TeamLogo|{{{Position2}}}}} }}{{#if: {{{Position3|}}} | <br>{{TeamLogo|{{{Position3}}}}} }} }}
 
{{#if: {{{Teamverlassen|}}} | |{{TeamLogo|{{{Position1}}}}}{{#if: {{{Position2|}}} | <br>{{TeamLogo|{{{Position2}}}}} }}{{#if: {{{Position3|}}} | <br>{{TeamLogo|{{{Position3}}}}} }} }}
Zeile 54: Zeile 57:
 
<td>{{#if: {{{Teamverlassen|}}} | {{{Teamverlassen}}} }}</td></tr>}}</table>
 
<td>{{#if: {{{Teamverlassen|}}} | {{{Teamverlassen}}} }}</td></tr>}}</table>
 
{{#if: {{{Teamverlassen|}}} | |{{#if: {{{CharName|}}} |<div style="font-weight: bold; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; color:#FFECAF; padding:5px;">Ingame Daten</div>
 
{{#if: {{{Teamverlassen|}}} | |{{#if: {{{CharName|}}} |<div style="font-weight: bold; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; color:#FFECAF; padding:5px;">Ingame Daten</div>
<table width="320px" cellpadding="5px" rules="all" style="border-style:solid; border-color:#006633; border-width:1px;">{{#if: {{{CharName|}}} | <tr><td width="130px">'''Nickname:'''</td>
+
<table width="320px" cellpadding="5px" rules="all" style="border-style:solid; border-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; border-width:1px;">{{#if: {{{CharName|}}} | <tr><td width="130px">'''Nickname:'''</td>
 
<td>{{{CharName}}}</td></tr>}}{{#if: {{{SpielServer|}}} |  
 
<td>{{{CharName}}}</td></tr>}}{{#if: {{{SpielServer|}}} |  
 
<tr><td>'''Server:'''</td>
 
<tr><td>'''Server:'''</td>
Zeile 65: Zeile 68:
 
<td>{{{Reich}}}</td></tr>}}{{#if: {{{Level|}}} |  
 
<td>{{{Reich}}}</td></tr>}}{{#if: {{{Level|}}} |  
 
<tr><td>'''Level:'''</td>
 
<tr><td>'''Level:'''</td>
<td>{{{Level}}}</td></tr>}}</table>}} }}{{#if: {{{1|}}} | <div style="font-weight: bold; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; color:#FFECAF; padding:5px;">Weitere Daten</div><table width="320px" cellpadding="5px" rules="all" style="border-style:solid; border-color:#006633; border-width:1px;">{{#vardefine: count | 1 }}{{#while:
+
<td>{{{Level}}}</td></tr>}}</table>}} }}{{#if: {{{1|}}} | <div style="font-weight: bold; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; color:#FFECAF; padding:5px;">Weitere Daten</div><table width="320px" cellpadding="5px" rules="all" style="border-style:solid; border-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; border-width:1px;">{{#vardefine: count | 1 }}{{#while:
 
  | {{{ {{#var: count }}| }}}
 
  | {{{ {{#var: count }}| }}}
 
  |  {{#ifexpr: {{#var: count}} mod 2 = 1 | <tr>}}{{#ifexpr: {{#var: count}}=1| <td width="130px"> | <td> }}{{#ifexpr: {{#var: count}} mod 2 = 1 | '''}}{{{ {{#var: count }} }}}:{{#ifexpr: {{#var: count}} mod 2 = 1 | '''}}</td>{{#ifexpr: {{#var: count}} mod 2 = 0 | </tr>}}{{#vardefine: count | {{#expr: {{#var: count }} + 1 }} }}
 
  |  {{#ifexpr: {{#var: count}} mod 2 = 1 | <tr>}}{{#ifexpr: {{#var: count}}=1| <td width="130px"> | <td> }}{{#ifexpr: {{#var: count}} mod 2 = 1 | '''}}{{{ {{#var: count }} }}}:{{#ifexpr: {{#var: count}} mod 2 = 1 | '''}}</td>{{#ifexpr: {{#var: count}} mod 2 = 0 | </tr>}}{{#vardefine: count | {{#expr: {{#var: count }} + 1 }} }}
 
}}</table>}}{{#if: {{{IngameBild|}}} | <div style="font-weight: bold; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; color:#FFECAF; padding:5px;">Ingame</div>
 
}}</table>}}{{#if: {{{IngameBild|}}} | <div style="font-weight: bold; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; color:#FFECAF; padding:5px;">Ingame</div>
<table width="320px"><tr><td>[[file:{{{IngameBild}}}|316px|center]]</td></tr></table> }}<div style="font-weight: bold; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; border-bottom-left-radius: 15px; color:#FFECAF; padding:5px;"><br></div>
+
<table width="320px"><tr><td>[[file:{{{IngameBild}}}|316px|center]]</td></tr></table> }}<div style="font-weight: bold; text-align: center; background-color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; border-bottom-left-radius: 15px; color:#{{#if: {{{Farbe|}}} | {{{Farbe}}} | E50B00}}; padding:5px;"><br></div>
 
</div>
 
</div>
 
</td></tr></table>
 
</td></tr></table>

Aktuelle Version vom 26. September 2023, 14:25 Uhr

Laufbahn im Team

Infobox Teamler2/Layout
Allgemeine Daten
Position:
E-Mail: Teamler2/Layout@metin2.de Infobox Teamler2/Layout@metin2.de
Forum:
Eintritt ins Team: