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

Aktuelle Version vom 7. März 2026, 19:49 Uhr




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


Blöcke