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
 
(25 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>
  <tr><td colspan="2" style="text-align:center;">[[File:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{name}}}|ä|ae}}|ö|oe}}|ü|ue}}|Ä|Ae}}|Ö|Oe}}|Ü|Ue}}.png|160px|center]]</td></tr>
  <td colspan="2" style="text-align: center; padding: 10px; vertical-align: middle;">
  <!--ITEM INDICATOR-->
    <div style="width: 140px; height: 160px; margin: 0 auto; overflow: hidden; display: flex; align-items: center; justify-content: center; image-rendering: pixelated;">
     <tr><th colspan="2" class="sub-title">Blöcke</th></tr>
      {{#ifexist: Medium:{{{name}}}.gif
<!--KATEGORIE-->
        | [[Datei:{{{name}}}.gif|140x160px|center|link=]]
     {{#ifeq: {{{kategorie}}} | Block |
        | [[Datei:{{{name}}}.png|140x160px|center|link=]]
       <tr>
      }}
        [[Kategorie:Blöcke]]
     </div>
        <td class="half-title">Typ:</td>
 
         <td class="half-content">[[Blöcke|Block]]</td>
     {{#ifeq: {{{alternative|+}}} | {{{alternative|-}}} |
       </tr>
       <div style="margin-top: 20px"; title="{{{alternative}}}">
         [[Datei:{{{alternative}}}.png|140px|center|link=]]
       </div>
     |}}
     |}}
     <!--LORE-->
  </td>
     {{#ifeq: {{{flavor-lore|+}}} | {{{flavor-lore|-}}} |
</tr>
      <tr>
 
        <td class="half-title">Vermerk:</td>
 
        <td class="half-content">{{{flavor-lore}}}</td>
  <tr><th colspan="2" class="sub-title">Blöcke</th></tr>
      </tr>
 
    |}}
  {{#ifeq: {{{kategorie}}} | Block |
    <!--BLOCK ID-->
     <tr>
    {{#ifeq: {{{block-id|+}}} | {{{block-id|-}}} |
      <td class="half-title">Typ:</td>
      <tr>
      <td class="half-content">[[Blöcke|Block]]</td>
        <td class="half-title"; font-style:italic>Block ID:</td>
     </tr>
        <td class="half-content"; font-style:italic>{{{block-id}}}</td>
  |}}
      </tr>
 
    |}}
  {{#ifeq: {{{flavor-lore|+}}} | {{{flavor-lore|-}}} |
  </table>
    <tr>
</div>
      <td class="half-title">Vermerk:</td>
      <td class="half-content">{{{flavor-lore}}}</td>
    </tr>
  |}}
 
  {{#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