Template:Item Infobox/image: Difference between revisions

From Valheim Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 9: Line 9:
<div style="float: center;">
<div style="float: center;">
<div class="infoboxhover" title="[t1] {{{t1|}}}" style="text-align: center;">
<div class="infoboxhover" title="[t1] {{{t1|}}}" 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>
</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{{#if:{{{height|}}}|{{!}}{{{height}}}}}]]
<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|}}}|{{!}}<em class="text-muted">{{{description}}}</em>}}
{{#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><!--
Line 32: Line 34:
  | name = Picture 1
  | name = Picture 1
  | pic2 = Alternative
  | pic2 = Alternative
  | height = 40
  | height = 120
| description = Some cool text
| description2 = More amazing text!
}}
}}
<pre>
<pre>
Line 38: Line 42:
  | name = Picture 1
  | name = Picture 1
  | pic2 = Alternative
  | pic2 = Alternative
  | height = 40
  | height = 120
| description = Some cool text
| description2 = More amazing text!
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 20:59, 13 December 2022


| colspan="2"|

Some cool text

More amazing text!

{{Item Infobox/image
 | name = Picture 1
 | pic2 = Alternative
 | height = 120
 | description = Some cool text
 | description2 = More amazing text!
}}