Template:Item Infobox/image: Difference between revisions
From Valheim Wiki
Created page with "<includeonly><!-- -->{{#vardefine:__image|{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}}}<!-- -->{{#vardefine:__image|{{#replace:{{#var:__image}}|:|}}}}<!-- -->{{#vardefine:..." |
No edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
{{PAGENAME}}= | {{PAGENAME}}= | ||
<div style="float: center;"> | <div style="float: center;"> | ||
<div class="infoboxhover" title="{{{t1|}}}" style="text-align: center;"> | <div class="infoboxhover" title="[t1] {{{t1|}}}" style="text-align: center;"> | ||
<center>[[File:{{#var:__image}}.png]]</center> | <center>[[File:{{#var:__image}}.png{{#if:{{{height|}}}|{{!}}{{{height}}}px}}]]</center> | ||
</div> | </div> | ||
{{#if:{{{description|}}}|<p class="text-center text-muted"><em>{{{description}}}</em></p>}} | |||
</div> | </div> | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
| Line 16: | Line 17: | ||
<div style="float: center;"> | <div style="float: center;"> | ||
<div class="infoboxhover" style="text-align: center;"> | <div class="infoboxhover" style="text-align: center;"> | ||
<center>[[File:{{#var:__image}} {{{pic2}}}.png]] | <center>[[File:{{#var:__image}} {{{pic2}}}.png{{#if:{{{height|}}}|{{!}}{{{height}}}px}}]] | ||
</center> | </center> | ||
</div> | </div> | ||
{{#if:{{{description2|}}}|<p class="text-center text-muted"><em>{{{description2}}}</em></p>|{{#if:{{{description|}}}|<p class="text-center text-muted"><em>{{{description}}}</em></p>}}}} | |||
</div> | </div> | ||
}}| | }}| | ||
<div style="float: center;"> | <div style="float: center;"> | ||
<div id="scraper-item-image" class="infoboxhover" style="text-align: center;"> | <div id="scraper-item-image" class="infoboxhover" style="text-align: center;"> | ||
<center>[[File:{{#var:__image}}.png{{#if:{{{height|}}}|{{!}}{{{height}}}}}]]</center> | <center>[[File:{{#var:__image}}.png{{#if:{{{height|}}}|{{!}}{{{height}}}px}}]]</center> | ||
</div> | </div> | ||
{{#if:{{{description|}}}|<p class="text-center text-muted"><em>{{{description}}}</em></p>}} | |||
</div>}}{{#ifexist: File:{{#var:__image}}.png||[[Category:Missing Item image]]}} | </div>}}{{#ifexist: File:{{#var:__image}}.png||[[Category:Missing Item image]]}} | ||
</includeonly> | </includeonly><!-- | ||
--><noinclude> | |||
{{Item Infobox/image | |||
| name = Picture 1 | |||
| pic2 = Alternative | |||
| height = 120 | |||
| description = Some cool text | |||
| description2 = More amazing text! | |||
}} | |||
<pre> | |||
{{Item Infobox/image | |||
| name = Picture 1 | |||
| pic2 = Alternative | |||
| height = 120 | |||
| description = Some cool text | |||
| description2 = More amazing text! | |||
}} | |||
</pre> | |||
</noinclude> | |||