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
 
(39 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
        | [[Datei:{{{name}}}.gif|140x160px|center|link=]]
        | [[Datei:{{{name}}}.png|140x160px|center|link=]]
      }}
    </div>
 
     {{#ifeq: {{{alternative|+}}} | {{{alternative|-}}} |
      <div style="margin-top: 20px"; title="{{{alternative}}}">
        [[Datei:{{{alternative}}}.png|140px|center|link=]]
      </div>
     |}}
     |}}
  <!--ITEM INDICATOR-->
  </td>
    <tr><th colspan="2" class="sub-title">Blöcke</th></tr>
</tr>
<!--KATEGORIE-->
 
    {{#ifeq: {{{kategorie}}} | Block |
 
      <tr>
  <tr><th colspan="2" class="sub-title">Blöcke</th></tr>
        [[Kategorie:Blöcke]]
 
        <td class="half-title">Typ:</td>
  {{#ifeq: {{{kategorie}}} | Block |
        <td class="half-content">[[Blöcke|Block]]</td>
    <tr>
      </tr>
      <td class="half-title">Typ:</td>
    |}}
      <td class="half-content">[[Blöcke|Block]]</td>
    <!--LORE-->
    </tr>
    {{#ifeq: {{{flavor-lore|+}}} | {{{flavor-lore|-}}} |
  |}}
      <tr>
 
        <td class="half-title">Lore:</td>
  {{#ifeq: {{{flavor-lore|+}}} | {{{flavor-lore|-}}} |
        <td class="half-content">{{{flavor-lore}}}</td>
    <tr>
      </tr>
      <td class="half-title">Vermerk:</td>
    |}}
      <td class="half-content">{{{flavor-lore}}}</td>
   </table>
    </tr>
</div>
  |}}
 
   {{#ifeq: {{{block-id|+}}} | {{{block-id|-}}} |
    <tr>
      <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 7. März 2026, 19:49 Uhr




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


Blöcke