Difference between revisions of "Template:Runes"

From Idlescape Wiki
Jump to navigation Jump to search
(Template for all runes.)
 
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="line-height:0; float:left;"><!--
+
<span style="line-height:0; display:inline-block; vertical-align:middle;"><!--
 
-->{{img|air rune|{{#if:{{{1|}}}|{{#expr:{{{1}}}/2}}|10}} }}<!--
 
-->{{img|air rune|{{#if:{{{1|}}}|{{#expr:{{{1}}}/2}}|10}} }}<!--
 
-->{{img|earth rune|{{#if:{{{1|}}}|{{#expr:{{{1}}}/2}}|10}} }}<!--
 
-->{{img|earth rune|{{#if:{{{1|}}}|{{#expr:{{{1}}}/2}}|10}} }}<!--
Line 10: Line 10:
 
-->{{img|mind rune|{{#if:{{{1|}}}|{{#expr:{{{1}}}/2}}|10}} }}<!--
 
-->{{img|mind rune|{{#if:{{{1|}}}|{{#expr:{{{1}}}/2}}|10}} }}<!--
 
-->{{img|cosmic rune|{{#if:{{{1|}}}|{{#expr:{{{1}}}/2}}|10}} }}<!--
 
-->{{img|cosmic rune|{{#if:{{{1|}}}|{{#expr:{{{1}}}/2}}|10}} }}<!--
--></div>{{#if:{{{word|}}}|&nbsp;[[Runes]]}}<noinclude>
+
--></span>{{#if:{{{word|}}}|&nbsp;[[Runes]]|{{#if:{{{any|}}}|&nbsp;[[Runes|<i>Any</i> Runes]]}}}}<noinclude>
[[Category:Template]]
 
</noinclude>
 
  
<code>
+
<code><nowiki>{{runes | Height(Optional) | word=1(Optional)}}</nowiki></code>
<nowiki>{{runes | Height(Optional) | word=1(Optional)}}</nowiki></code>
 
  
 
Height is the total height of both images. Default is 20.
 
Height is the total height of both images. Default is 20.
 +
 
<code>word=1</code> Adds [[Runes]] after the images.
 
<code>word=1</code> Adds [[Runes]] after the images.
 +
 +
<code>any=1</code> Adds [[Runes|<i>Any</i> Runes]] after the images.
 +
 +
 +
[[Category:Template]]
 +
</noinclude>

Latest revision as of 07:33, 4 February 2022

Air RuneEarth RuneFire RuneWater RuneBlood Rune
Death RuneChaos RuneNature RuneMind RuneCosmic Rune

{{runes | Height(Optional) | word=1(Optional)}}

Height is the total height of both images. Default is 20.

word=1 Adds Runes after the images.

any=1 Adds Any Runes after the images.