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
No edit summary
 
(9 intermediate revisions by 2 users not shown)
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:0;margin-bottom:8px;">[[File:Dwelling-portrait-box-noexp-leather-dark.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:3;text-align:center;">{{watchable|{{{dwelling|}}}-dwelling.webp|{{{title|{{{dwelling|}}}}}}|link={{{link|{{{dwelling|}}}}}}}}</div>{{#if:{{{dwelling2|}}}|<div style="position:absolute;width:24%;top:{{#if:{{{dwelling3|}}}|35%|70%}};transform:translateY(-50%);z-index:4;text-align:center;">{{watchable|{{{dwelling2|}}}-dwelling.webp|{{{title|{{{dwelling2|}}}}}}|link={{{link2|{{{dwelling2|}}}}}}}}</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>
<div style="position:absolute;left:240px;bottom:61px;z-index:5;text-align:center;">{{exist|File:{{{creature1|}}} (adventure map).webp|{{watchable|{{{creature1|}}} (adventure map).webp}}|}}</div>
<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>
<div style="position:absolute;left:340px;bottom:61px;z-index:6;text-align:center;">{{exist|File:{{{creature2|}}} (adventure map).webp|{{watchable|{{{creature2|}}} (adventure map).webp}}|}}</div>
<div style="position:absolute;z-index:10;left:450px;top:61px;">[[File:{{{creature1|}}} portrait.png]]</div>
<div style="position:absolute;z-index:7;left:450px;top:61px;">{{exist|File:{{{creature1|}}} portrait.png|[[File:{{{creature1|}}} portrait.png]]|[[File:Placeholder 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:8;left:534px;top:77px;">{{exist|File:Mini Portrait {{{creature1|}}}.png|[[File:Mini Portrait {{{creature1|}}}.png]]|}}</div>
<div style="position:absolute;z-index:10;left:590px;top:61px;">[[File:{{{creature2|}}} portrait.png]]</div>
<div style="position:absolute;z-index:9;left:590px;top:61px;">{{exist|File:{{{creature2|}}} portrait.png|[[File:{{{creature2|}}} portrait.png]]|[[File:Placeholder portrait.png]]}}</div>
<div style="position:absolute;z-index:10;left:674px;top:77px;">[[File:Mini Portrait {{{creature2|}}}.png]]</div>
<div style="position:absolute;z-index:10;left:674px;top:77px;">{{exist|File:Mini Portrait {{{creature2|}}}.png|[[File:Mini Portrait {{{creature2|}}}.png]]|}}</div>
</span></div></span></includeonly><noinclude>
</span></div></span></includeonly><noinclude>
{{DwellingPortraitNoExp
{{DwellingPortraitNoExp
Line 15: Line 15:
{{DwellingPortraitNoExp
{{DwellingPortraitNoExp
| dwelling      = Halfling Adobe
| dwelling      = Halfling Adobe
| ext1          = png
| dwelling2      = Thatched Hut
| dwelling2      = Thatched Hut
| creature1      = Halfling (Factory)
| creature1      = Halfling (Factory)
Line 23: Line 22:
| dwelling      = Altar of Water
| dwelling      = Altar of Water
| dwelling2      = Water Elemental Conflux
| dwelling2      = Water Elemental Conflux
| dwelling3      = Elemental Conflux
| creature1      = Water Elemental
| creature1      = Water Elemental
| creature2      = Ice Elemental
| creature2      = Ice Elemental

Latest revision as of 22:29, 18 October 2025