Template:Icon Formula: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1|}}}||&nbsp;|{{nobr|[[File:{{strip|{{{1|}}}}} Icon.png|link={{{1|}}}]] <big>+</big> [[File:{{strip|{{{2|}}}}} Icon.png|link={{{2|}}}]]{{#ifeq:{{{3|}}}|||<big>''' {{=}} '''</big> [[File:{{strip|{{{3|}}}}} Icon.png|link={{{3|}}}]]}}}}}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{{1|}}}||&nbsp;|{{nobr|[[File:{{strip|{{{1|}}}}} Icon.png|link={{{1|}}}]]<big>''' + '''</big> [[File:{{strip|{{{2|}}}}} Icon.png|link={{{2|}}}]]{{#ifeq:{{{3|}}}|||<big>''' {{=}} '''</big> [[File:{{strip|{{{3|}}}}} Icon.png|link={{{3|}}}]]}}}}}}</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates}}
== Syntax ==
== Syntax ==

Latest revision as of 09:17, 2 November 2009

Related topics: Wiki Templates

Syntax

{{Icon Formula|<Item>|<Item>|<Result>}}

{{Icon Formula|||}}

Usage

Displays a no wrap series of two tool/component icons and the result icon. The result is optional.

For example:

{{Icon Formula|Mortar and Pestle|Lapyan Plant|Crushed Lapyan Plant}}

displays as:

+ =

For example:

{{Icon Formula|Mortar and Pestle|Lapyan Plant}}

displays as:

+