Template:Item Infobox/image: Difference between revisions

From Valheim Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
<center>[[File:{{#var:__image}}.png{{#if:{{{height|}}}|{{!}}{{{height}}}px}}]]</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 19: Line 20:
</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>
}}|
}}|
Line 25: Line 27:
<center>[[File:{{#var:__image}}.png{{#if:{{{height|}}}|{{!}}{{{height}}}px}}]]</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
  | description = Some cool text
| description2 = More amazing text!
}}
}}
<pre>
<pre>
Line 39: Line 42:
  | name = Picture 1
  | name = Picture 1
  | pic2 = Alternative
  | pic2 = Alternative
  | height = 40
  | height = 120
  | description = Some cool text
  | 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!
}}