Template:Infobox/image: Difference between revisions
From Valheim Wiki
No edit summary Tag: Manual revert |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
-->{{#vardefine:__image|{{#replace:{{#var:__image}}|%|}}}} | -->{{#vardefine:__image|{{#replace:{{#var:__image}}|%|}}}} | ||
{{#if:{{{pic2|}}}|{{#tag:tabber| | {{#if:{{{pic2|}}}|{{#tag:tabber| | ||
{{PAGENAME}}= | {{#if:{{{pic_name|}}}|{{{pic_name}}}|{{PAGENAME}}}}= | ||
<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;"> | ||
| Line 13: | Line 13: | ||
</div> | </div> | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
{{{pic2}}}= | {{#if:{{{pic2_name|}}}|{{{pic2_name}}}|{{{pic2}}}}}= | ||
<div style="float: center;"> | <div style="float: center;"> | ||
<div class="infoboxhover" style="text-align: center;"> | <div class="infoboxhover" style="text-align: center;"> | ||
| Line 22: | Line 22: | ||
</div> | </div> | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
{{{pic3}}}= | {{#if:{{{pic3_name|}}}|{{{pic3_name}}}|{{{pic3}}}}}= | ||
<div style="float: center;"> | <div style="float: center;"> | ||
<div class="infoboxhover" style="text-align: center;"> | <div class="infoboxhover" style="text-align: center;"> | ||
| Line 39: | Line 39: | ||
</includeonly><!-- | </includeonly><!-- | ||
--><noinclude> | --><noinclude> | ||
Three pictures, with descriptions: | |||
{{Infobox/image | {{Infobox/image | ||
| name = Picture 1 | | name = Picture 1 | ||
| Line 55: | Line 56: | ||
| description = Some cool text | | description = Some cool text | ||
| description2 = More amazing text! | | description2 = More amazing text! | ||
}} | |||
</pre> | |||
----- | |||
Three pictures, with custom tabbed names: | |||
{{Infobox/image | |||
| name = Picture 1 | |||
| pic_name = Templates {{Star}} work! | |||
| pic2 = Alternative | |||
| pic2_name = Whoooo | |||
| pic3 = Even alternativer | |||
| pic3_name = Third custom name | |||
| height = 120 | |||
| description = Some cool text | |||
| description2 = More amazing text! | |||
| description3 = Description 3 babyyy | |||
}} | |||
<pre> | |||
{{Infobox/image | |||
| name = Picture 1 | |||
| pic_name = Templates {{Star}} work! | |||
| pic2 = Alternative | |||
| pic2_name = Whoooo | |||
| pic3 = Even alternativer | |||
| pic3_name = Third custom name | |||
| height = 120 | |||
| description = Some cool text | |||
| description2 = More amazing text! | |||
| description3 = Description 3 babyyy | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:07, 23 February 2023
Three pictures, with descriptions:
{{Infobox/image
| name = Picture 1
| pic2 = Alternative
| pic3 = Even alternativer
| height = 120
| description = Some cool text
| description2 = More amazing text!
}}
Three pictures, with custom tabbed names:
{{Infobox/image
| name = Picture 1
| pic_name = Templates {{Star}} work!
| pic2 = Alternative
| pic2_name = Whoooo
| pic3 = Even alternativer
| pic3_name = Third custom name
| height = 120
| description = Some cool text
| description2 = More amazing text!
| description3 = Description 3 babyyy
}}
