Vorlage:Infobox Block: Unterschied zwischen den Versionen

Aus Ottonien Wiki
Zur Navigation springen Zur Suche springen
Romegon (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Romegon (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(26 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
[[Kategorie:Blöcke]]
[[Kategorie:Blöcke]]
  <table class="infobox infobox-item">
<table class="infobox infobox-item">
  <!--HEADER TITLE-->
  <tr><th colspan="2" class="infobox-header">{{{name}}}</th></tr>
    <tr><th colspan="2" class="infobox-header">{{{name}}}</th></tr>
 
  <!--ITEM BILD-->
  <tr>
    {{#ifeq: {{{image|+}}} | {{{image|-}}} |
    <td colspan="2" style="text-align: center; padding: 10px; vertical-align: middle;">
    <tr><td colspan="2"/> [[File:{{{image}}}|160px|center]] </td></tr>
      <div style="width: 140px; height: 160px; margin: 0 auto; overflow: hidden; display: flex; align-items: center; justify-content: center; image-rendering: pixelated;">
    |}}
        {{#ifexist: Medium:{{{name}}}.gif
  <!--ITEM INDICATOR-->
          | [[Datei:{{{name}}}.gif|140x160px|center|link=]]
    <tr><th colspan="2" class="sub-title">Blöcke</th></tr>
          | [[Datei:{{{name}}}.png|140x160px|center|link=]]
<!--KATEGORIE-->
        }}
    {{#ifeq: {{{kategorie}}} | Block |
      </div>
      <tr>
    </td>
        [[Kategorie:Blöcke]]
  </tr>
        <td class="half-title">Typ:</td>
 
        <td class="half-content">[[Blöcke|Block]]</td>
  <tr><th colspan="2" class="sub-title">Blöcke</th></tr>
      </tr>
 
    |}}
  {{#ifeq: {{{kategorie}}} | Block |
    <!--LORE-->
    <tr>
    {{#ifeq: {{{flavor-lore|+}}} | {{{flavor-lore|-}}} |
      <td class="half-title">Typ:</td>
      <tr>
      <td class="half-content">[[Blöcke|Block]]</td>
        <td class="half-title">Trivia:</td>
    </tr>
        <td class="half-content">{{{flavor-lore}}}</td>
  |}}
      </tr>
 
    |}}
  {{#ifeq: {{{flavor-lore|+}}} | {{{flavor-lore|-}}} |
    <!--BLOCK ID-->
    <tr>
    {{#ifeq: {{{block-id|+}}} | {{{block-id|-}}} |
      <td class="half-title">Vermerk:</td>
      <tr>
      <td class="half-content">{{{flavor-lore}}}</td>
        <td class="half-title"; font-style:italic>Block ID:</td>
    </tr>
        <td class="half-content"; font-style:italic>{{{block-id}}}</td>
  |}}
      </tr>
 
    |}}
  {{#ifeq: {{{block-id|+}}} | {{{block-id|-}}} |
  </table>
    <tr>
</div>
      <td class="half-title" style="font-style:italic;">Block ID:</td>
      <td class="half-content" style="font-style:italic;">{{{block-id}}}</td>
    </tr>
  |}}
</table>

Aktuelle Version vom 15. Februar 2026, 20:13 Uhr




{{{name}}}
       [[Datei:{{{name}}}.png|140x160px|center|link=]]
Blöcke