Vorlage:Zubehör Box Template: Unterschied zwischen den Versionen
Aus DayZ Standalone Wiki Deutsch
(→Beispiel) |
|||
(7 dazwischenliegende Versionen von einem Benutzer werden nicht angezeigt) | |||
Zeile 3: | Zeile 3: | ||
|name= <!-- Iteamname --> | |name= <!-- Iteamname --> | ||
|link= <!-- Link zum Iteam --> | |link= <!-- Link zum Iteam --> | ||
− | |img= | + | |img= None.png <!-- Bild zum Iteam --> |
|}}</pre> | |}}</pre> | ||
− | <onlyinclude><div style=" | + | <onlyinclude><div style="width: 135px; height: 135px; position: relative; float: left; margin: 8px 8px 10px 15px; background: linear-gradient(to bottom, rgba(136, 152, 166, 0.8) 0%, rgba(78, 88, 97, 0.8) 100%) repeat scroll 0% 0% transparent; border: 1px solid teal;"> |
− | <div style="width: | + | <div style="width: 135px; height: 125px; display: table-cell; vertical-align:middle;">{{#if: {{{img|}}}| [[File:{{{img}}}|105x105px|center|link={{{link}}}]] | [[File:None.png|105x105px|center]] }}</div> |
− | <div class="box" style=" | + | <div class="box" style="padding: 0 8px 0 8px; background: linear-gradient(to bottom, #37404A 0%, #000 100%) repeat scroll 0% 0% transparent;border: 1px solid teal; position:absolute; z-index: 1; left: -10px; top: 120px;">{{#if: {{{name|}}} | {{#if: {{{link|}}} | [[{{{link}}}|{{{name}}}]] | Unbekannt }} | Unbekannt }}</div> |
</div></onlyinclude> | </div></onlyinclude> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] |
Aktuelle Version vom 20. Februar 2015, 17:58 Uhr
Beispiel
{{Zubehör Box Template |name= <!-- Iteamname --> |link= <!-- Link zum Iteam --> |img= None.png <!-- Bild zum Iteam --> |}}