Difference between revisions of "Template:Item infobox/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
m
m (and back)
(5 intermediate revisions by the same user not shown)
Line 355: Line 355:
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class20}}}|other||_{{{team-colors-class20}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
   </tr>}} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }}
+
   </tr>{{#if: {{{team-colors-class21|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class21-name|{{#ifeq: {{{team-colors-class21}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class21}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class21}}}|other||_{{{team-colors-class21}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class21}}}|other||_{{{team-colors-class21}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>{{#if: {{{team-colors-class22|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class22-name|{{#ifeq: {{{team-colors-class22}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class22}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class22}}}|other||_{{{team-colors-class22}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class22}}}|other||_{{{team-colors-class22}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>{{#if: {{{team-colors-class23|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class23-name|{{#ifeq: {{{team-colors-class23}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class23}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class23}}}|other||_{{{team-colors-class23}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class23}}}|other||_{{{team-colors-class23}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>{{#if: {{{team-colors-class24|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class24-name|{{#ifeq: {{{team-colors-class24}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class24}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class24}}}|other||_{{{team-colors-class24}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class24}}}|other||_{{{team-colors-class24}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>{{#if: {{{team-colors-class25|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class25-name|{{#ifeq: {{{team-colors-class25}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class25}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class25}}}|other||_{{{team-colors-class25}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class25}}}|other||_{{{team-colors-class25}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>{{#if: {{{team-colors-class26|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class26-name|{{#ifeq: {{{team-colors-class26}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class26}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class26}}}|other||_{{{team-colors-class26}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class26}}}|other||_{{{team-colors-class26}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>{{#if: {{{team-colors-class27|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class27-name|{{#ifeq: {{{team-colors-class27}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class27}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class27}}}|other||_{{{team-colors-class27}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class27}}}|other||_{{{team-colors-class27}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>{{#if: {{{team-colors-class28|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class28-name|{{#ifeq: {{{team-colors-class28}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class28}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class28}}}|other||_{{{team-colors-class28}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class28}}}|other||_{{{team-colors-class28}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>{{#if: {{{team-colors-class28|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class28-name|{{#ifeq: {{{team-colors-class28}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class28}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class28}}}|other||_{{{team-colors-class28}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class28}}}|other||_{{{team-colors-class28}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class29|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class29-name|{{#ifeq: {{{team-colors-class29}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class29}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class29}}}|other||_{{{team-colors-class29}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class29}}}|other||_{{{team-colors-class29}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class30|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class30-name|{{#ifeq: {{{team-colors-class30}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class30}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class30}}}|other||_{{{team-colors-class30}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class30}}}|other||_{{{team-colors-class30}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class31|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class31-name|{{#ifeq: {{{team-colors-class31}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class31}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class31}}}|other||_{{{team-colors-class31}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class31}}}|other||_{{{team-colors-class31}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class32|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class32-name|{{#ifeq: {{{team-colors-class32}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class32}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class32}}}|other||_{{{team-colors-class32}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class32}}}|other||_{{{team-colors-class32}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class33|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class33-name|{{#ifeq: {{{team-colors-class33}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class33}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class33}}}|other||_{{{team-colors-class33}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class33}}}|other||_{{{team-colors-class33}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class34|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class34-name|{{#ifeq: {{{team-colors-class34}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class34}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class34}}}|other||_{{{team-colors-class34}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class34}}}|other||_{{{team-colors-class34}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class35|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class35-name|{{#ifeq: {{{team-colors-class35}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class35}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class35}}}|other||_{{{team-colors-class35}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class35}}}|other||_{{{team-colors-class35}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class36|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class36-name|{{#ifeq: {{{team-colors-class36}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class36}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class36}}}|other||_{{{team-colors-class36}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class36}}}|other||_{{{team-colors-class36}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class37|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class37-name|{{#ifeq: {{{team-colors-class37}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class37}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class37}}}|other||_{{{team-colors-class37}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class37}}}|other||_{{{team-colors-class37}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class38|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class38-name|{{#ifeq: {{{team-colors-class38}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class38}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class38}}}|other||_{{{team-colors-class38}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class38}}}|other||_{{{team-colors-class38}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class39|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class39-name|{{#ifeq: {{{team-colors-class39}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class39}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class39}}}|other||_{{{team-colors-class39}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class39}}}|other||_{{{team-colors-class39}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class40|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class40-name|{{#ifeq: {{{team-colors-class40}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class40}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class40}}}|other||_{{{team-colors-class40}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class40}}}|other||_{{{team-colors-class40}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class41|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class41-name|{{#ifeq: {{{team-colors-class41}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class41}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class41}}}|other||_{{{team-colors-class41}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class41}}}|other||_{{{team-colors-class41}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class42|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class42-name|{{#ifeq: {{{team-colors-class42}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class42}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class42}}}|other||_{{{team-colors-class42}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class42}}}|other||_{{{team-colors-class42}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class43|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class43-name|{{#ifeq: {{{team-colors-class43}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class43}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class43}}}|other||_{{{team-colors-class43}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class43}}}|other||_{{{team-colors-class43}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}}{{#if: {{{team-colors-class44|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class44-name|{{#ifeq: {{{team-colors-class44}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class44}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class44}}}|other||_{{{team-colors-class44}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class44}}}|other||_{{{team-colors-class44}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>{{#if: {{{team-colors-class45|}}}
 +
  | <td colspan="2" style="padding:none;">
 +
      <table style="width:100%; background:none; border:none; padding:none; margin:none;" cellspacing="0" cellpadding="0">
 +
      <td style="width:100%; background:#f9d48a; text-align:center; border-right:1px solid #fff;">'''{{{team-colors-class45-name|{{#ifeq: {{{team-colors-class45}}} | other | {{common string|Other classes}} |{{class link|{{{team-colors-class45}}}}}}}}}}'''</td>
 +
      </table>
 +
    </td>
 +
  <tr>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:RED {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class45}}}|other||_{{{team-colors-class45}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
    <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:BLU {{BASEPAGENAME}}{{#ifeq: {{{team-colors-class45}}}|other||_{{{team-colors-class45}}}}}.png|{{{team-colors-width|95x95px}}}]]</td>
 +
  </tr>}} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }}
 
   | <tr>
 
   | <tr>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|{{{team-colors-width|95x95px}}}]]</td>
 
     <td style="text-align:center; margin:0em auto;" class="infobox-team-skins">[[File:{{{skin-image-red|RED {{BASEPAGENAME}}.png}}}|{{{team-colors-width|95x95px}}}]]</td>
Line 1,436: Line 1,670:
 
   | grade = {{{grade|}}}
 
   | grade = {{{grade|}}}
 
   | wear = {{{wear|}}}
 
   | wear = {{{wear|}}}
   | unusual-effect = {{{unusual-effect|}}}
+
   | unusual-effect = {{#switch: {{{unusual-effect|}}}
   | item-kind = {{{item-kind|}}}
+
    | = <!-- Handle blank -->
 +
    | [#] = {{lang
 +
              | en = [#]
 +
              | it = (scelto dal ricevitore)
 +
              | pt-br= [escolhido pelo destinatário]
 +
            }} <!-- We certainly could simply add a token for this in the dictionary, but the bot currently can't handle this, so we're using a temp #switch instead. -->
 +
    | #default = {{item name|{{{unusual-effect}}}}} <!-- Now, the reason we are translating the unusual-effect, item kind, and other attributes here instead of directly in the bp item template is because the item infobox is only used once, and WindBOT can sync it. -->
 +
  }}
 +
   | item-kind = {{#if: {{{item-kind|}}} | {{item name|item type {{{item-kind}}}}} }}
  
 
   | {{#if:{{{item-level|}}}|item-level|null}} = {{{item-level|}}}
 
   | {{#if:{{{item-level|}}}|item-level|null}} = {{{item-level|}}}
  
   | att-1-positive = {{{att-1-positive|}}}
+
   | att-1-positive = {{#if: {{{att-1-positive|}}} | {{attribute|{{{att-1-positive}}}|{{{att-1-value|}}}|{{{att-1-value2|}}}}} }} <!-- I don't think there can be more than two values in an attribute, at least not for items that would have an item infobox. -->
   | att-1-negative = {{{att-1-negative|}}}
+
   | att-1-negative = {{#if: {{{att-1-negative|}}} | {{attribute|{{{att-1-negative}}}|{{{att-1-value|}}}|{{{att-1-value2|}}}}} }}
   | att-1-neutral = {{{att-1-neutral|}}}
+
   | att-1-neutral = {{#if: {{{att-1-neutral|}}} | {{attribute|{{{att-1-neutral}}}|{{{att-1-value|}}}|{{{att-1-value2|}}}}} }}
  
   | att-2-positive = {{{att-2-positive|}}}
+
   | att-2-positive = {{#if: {{{att-2-positive|}}} | {{attribute|{{{att-2-positive}}}|{{{att-2-value|}}}|{{{att-2-value2|}}}}} }}
   | att-2-negative = {{{att-2-negative|}}}
+
   | att-2-negative = {{#if: {{{att-2-negative|}}} | {{attribute|{{{att-2-negative}}}|{{{att-2-value|}}}|{{{att-2-value2|}}}}} }}
   | att-2-neutral = {{{att-2-neutral|}}}
+
   | att-2-neutral = {{#if: {{{att-2-neutral|}}} | {{attribute|{{{att-2-neutral}}}|{{{att-2-value|}}}|{{{att-2-value2|}}}}} }}
  
   | att-3-positive = {{{att-3-positive|}}}
+
   | att-3-positive = {{#if: {{{att-3-positive|}}} | {{attribute|{{{att-3-positive}}}|{{{att-3-value|}}}|{{{att-3-value2|}}}}} }}
   | att-3-negative = {{{att-3-negative|}}}
+
   | att-3-negative = {{#if: {{{att-3-negative|}}} | {{attribute|{{{att-3-negative}}}|{{{att-3-value|}}}|{{{att-3-value2|}}}}} }}
   | att-3-neutral = {{{att-3-neutral|}}}
+
   | att-3-neutral = {{#if: {{{att-3-neutral|}}} | {{attribute|{{{att-3-neutral}}}|{{{att-3-value|}}}|{{{att-3-value2|}}}}} }}
  
   | att-4-positive = {{{att-4-positive|}}}
+
   | att-4-positive = {{#if: {{{att-4-positive|}}} | {{attribute|{{{att-4-positive}}}|{{{att-4-value|}}}|{{{att-4-value2|}}}}} }}
   | att-4-negative = {{{att-4-negative|}}}
+
   | att-4-negative = {{#if: {{{att-4-negative|}}} | {{attribute|{{{att-4-negative}}}|{{{att-4-value|}}}|{{{att-4-value2|}}}}} }}
   | att-4-neutral = {{{att-4-neutral|}}}
+
   | att-4-neutral = {{#if: {{{att-4-neutral|}}} | {{attribute|{{{att-4-neutral}}}|{{{att-4-value|}}}|{{{att-4-value2|}}}}} }}
  
   | att-5-positive = {{{att-5-positive|}}}
+
   | att-5-positive = {{#if: {{{att-5-positive|}}} | {{attribute|{{{att-5-positive}}}|{{{att-5-value|}}}|{{{att-5-value2|}}}}} }}
   | att-5-negative = {{{att-5-negative|}}}
+
   | att-5-negative = {{#if: {{{att-5-negative|}}} | {{attribute|{{{att-5-negative}}}|{{{att-5-value|}}}|{{{att-5-value2|}}}}} }}
   | att-5-neutral = {{{att-5-neutral|}}}
+
   | att-5-neutral = {{#if: {{{att-5-neutral|}}} | {{attribute|{{{att-5-neutral}}}|{{{att-5-value|}}}|{{{att-5-value2|}}}}} }}
  
   | att-6-positive = {{{att-6-positive|}}}
+
   | att-6-positive = {{#if: {{{att-6-positive|}}} | {{attribute|{{{att-6-positive}}}|{{{att-6-value|}}}|{{{att-6-value2|}}}}} }}
   | att-6-negative = {{{att-6-negative|}}}
+
   | att-6-negative = {{#if: {{{att-6-negative|}}} | {{attribute|{{{att-6-negative}}}|{{{att-6-value|}}}|{{{att-6-value2|}}}}} }}
   | att-6-neutral = {{{att-6-neutral|}}}
+
   | att-6-neutral = {{#if: {{{att-6-neutral|}}} | {{attribute|{{{att-6-neutral}}}|{{{att-6-value|}}}|{{{att-6-value2|}}}}} }}
  
   | att-7-positive = {{{att-7-positive|}}}
+
   | att-7-positive = {{#if: {{{att-7-positive|}}} | {{attribute|{{{att-7-positive}}}|{{{att-7-value|}}}|{{{att-7-value2|}}}}} }}
   | att-7-negative = {{{att-7-negative|}}}
+
   | att-7-negative = {{#if: {{{att-7-negative|}}} | {{attribute|{{{att-7-negative}}}|{{{att-7-value|}}}|{{{att-7-value2|}}}}} }}
   | att-7-neutral = {{{att-7-neutral|}}}
+
   | att-7-neutral = {{#if: {{{att-7-neutral|}}} | {{attribute|{{{att-7-neutral}}}|{{{att-7-value|}}}|{{{att-7-value2|}}}}} }}
  
   | att-8-positive = {{{att-8-positive|}}}
+
   | att-8-positive = {{#if: {{{att-8-positive|}}} | {{attribute|{{{att-8-positive}}}|{{{att-8-value|}}}|{{{att-8-value2|}}}}} }}
   | att-8-negative = {{{att-8-negative|}}}
+
   | att-8-negative = {{#if: {{{att-8-negative|}}} | {{attribute|{{{att-8-negative}}}|{{{att-8-value|}}}|{{{att-8-value2|}}}}} }}
   | att-8-neutral = {{{att-8-neutral|}}}
+
   | att-8-neutral = {{#if: {{{att-8-neutral|}}} | {{attribute|{{{att-8-neutral}}}|{{{att-8-value|}}}|{{{att-8-value2|}}}}} }}
 +
| item-description = {{#if: {{{item-description|}}} | {{{item-description-override|{{item description|{{BASEPAGENAME}}}}}}} }} <!-- If set at all, we use the dictionary entry instead. Eventually, all item-descriptions should have a value of "yes". If, for some odd reason, the description can't be stored in the dictionary, we use item-description-override to display a custom one. -->
  
| item-description = {{{item-description|}}}
 
 
  | item-expiration = {{{item-expiration|}}}
 
  | item-expiration = {{{item-expiration|}}}
 
  | item-uses = {{{item-uses|}}}
 
  | item-uses = {{{item-uses|}}}
  | item-flags = {{{item-flags|}}}
+
  | item-flags = {{#switch: {{{item-flags|}}}
 +
  | = <!-- Handle blank -->
 +
  | Promotion
 +
  | AchievementItem
 +
  | CannotCraft
 +
  | CannotTrade
 +
  | CannotTradeOrCraft
 +
  | NonEconomyItem
 +
  | SpecialItem = {{attribute|{{{item-flags}}}}}
 +
  | #default = {{{item-flags|}}} <!-- This #switch should be removed after migration. It's only here to prevent the breaking of translated pages. {{attribute|{{{item-flags}}}}} is enough. -->
 +
  }}
 
  }}
 
  }}
 
  </td>
 
  </td>
Line 1,589: Line 1,841:
 
  --></includeonly><!--
 
  --></includeonly><!--
 
--><noinclude>
 
--><noinclude>
 +
{{clr}}
 +
{{Complex template}}
 +
{{Ambox
 +
| type    = style
 +
| image    = Warning yellow.png
 +
| contents = This template <strong>must not</strong> be used on user pages. Please use {{tlx|User item infobox}} instead.
 +
}}
 +
{{Translation switching|en, cs, de, es, fr, hu, ja, ko, pl, pt, pt-br, ro, ru, sv, tr, zh-hans}}
 +
{{Documentation}}
 +
[[Category:Infobox templates|Item infobox]]
 
</noinclude>
 
</noinclude>

Revision as of 18:21, 16 January 2024