Template:DwellingPortraitNoExp: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Turnam (talk | contribs)
this is kind of a mess, the images might need to be scaled down a bit to fit especially with three dwellings -- it might make sense to separate those into different templates, there's already a bunch after all
mNo edit summary
Line 1: Line 1:
<includeonly><span style="display:inline-block;"><div style="position:relative;z-index:5;margin-bottom:8px;">[[File:Dwelling-portrait-box-noexp.png|link=]]
<includeonly><span style="display:inline-block;"><div style="position:relative;z-index:5;margin-bottom:8px;">[[File:Dwelling-portrait-box-noexp.png|link=]]
<span style="width:184px"><div style="position:absolute;width:24%;top:{{#if:{{{dwelling3|}}}|17%|{{#if:{{{dwelling2|}}}|25%|50%}}}};transform:translateY(-50%);z-index:11;text-align:center;">[[Image:{{{dwelling|}}}-dwelling.{{{ext1|gif}}}|{{{title|{{{dwelling|}}}}}}|link={{{link|{{{dwelling|}}}}}}]]</div>{{#if:{{{dwelling2|}}}|<div style="position:absolute;width:24%;top:{{#if:{{{dwelling3|}}}|35%|70%}};transform:translateY(-50%);z-index:11;text-align:center;">[[Image:{{{dwelling2|}}}-dwelling.{{{ext2|gif}}}|{{{title|{{{dwelling2|}}}}}}|link={{{link2|{{{dwelling2|}}}}}}]]</div>}}{{#if:{{{dwelling3|}}}|<div style="position:absolute;width:24%;top:70%;transform:translateY(-50%);z-index:11;text-align:center;">[[Image:{{{dwelling3|}}}-dwelling.{{{ext3|gif}}}|{{{title|{{{dwelling3|}}}}}}|link={{{link3|{{{dwelling3|}}}}}}]]</div>}}
<span style="width:184px"><div style="position:absolute;width:24%;top:{{#if:{{{dwelling3|}}}|17%|{{#if:{{{dwelling2|}}}|25%|50%}}}};transform:translateY(-50%);z-index:11;text-align:center;">[[Image:{{{dwelling|}}}-dwelling.{{{ext1|gif}}}|{{{title|{{{dwelling|}}}}}}|link={{{link|{{{dwelling|}}}}}}]]</div>{{#if:{{{dwelling2|}}}|<div style="position:absolute;width:24%;top:{{#if:{{{dwelling3|}}}|35%|70%}};transform:translateY(-50%);z-index:11;text-align:center;">[[Image:{{{dwelling2|}}}-dwelling.{{{ext2|gif}}}|{{{title|{{{dwelling2|}}}}}}|link={{{link2|{{{dwelling2|}}}}}}]]</div>}}{{#if:{{{dwelling3|}}}|<div style="position:absolute;width:24%;top:70%;transform:translateY(-50%);z-index:11;text-align:center;">[[Image:{{{dwelling3|}}}-dwelling.{{{ext3|gif}}}|{{{title|{{{dwelling3|}}}}}}|link={{{link3|{{{dwelling3|}}}}}}]]</div>}}
<span style="width:64px"><div style="position:absolute;width:70%;bottom:61px;z-index:11;text-align:center;">[[File:{{{creature1|}}} (adventure map).gif|link=]]</div></span>
<span style="width:64px"><div style="position:absolute;width:70%;bottom:61px;z-index:11;text-align:center;">{{exist|File:{{{creature1|}}} (adventure map).gif|[[File:{{{creature1|}}} (adventure map).gif|link=]]|}}</div></span>
<span style="width:64px"><div style="position:absolute;width:96%;bottom:61px;z-index:11;text-align:center;">[[File:{{{creature2|}}} (adventure map).gif|link=]]</div></span>
<span style="width:64px"><div style="position:absolute;width:96%;bottom:61px;z-index:11;text-align:center;">{{exist|File:{{{creature2|}}} (adventure map).gif|[[File:{{{creature2|}}} (adventure map).gif|link=]]|}}</div></span>
<div style="position:absolute;z-index:10;left:450px;top:61px;">[[File:{{{creature1|}}} portrait.png]]</div>
<div style="position:absolute;z-index:10;left:450px;top:61px;">[[File:{{{creature1|}}} portrait.png]]</div>
<div style="position:absolute;z-index:10;left:534px;top:77px;">[[File:Mini Portrait {{{creature1|}}}.png]]</div>
<div style="position:absolute;z-index:10;left:534px;top:77px;">[[File:Mini Portrait {{{creature1|}}}.png]]</div>

Revision as of 03:02, 28 January 2025

Nymph Waterfall
Halfling Adobe
Thatched Hut
Altar of Water
Water Elemental Conflux
Elemental Conflux