Template:Icon Formula: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
(Created page with '<includeonly>{{#ifeq:{{{1|}}}|| |{{nobr|[[File:{{strip|{{{1|}}}}} Icon.png|link={{{1|}}}]] + [[File:{{strip|{{{2|}}}}} Icon.png|link={{{2|}}}]] = [[File:{{strip|{{{3|}}}}} I…')
 
imported>Tlosk
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1|}}}||&nbsp;|{{nobr|[[File:{{strip|{{{1|}}}}} Icon.png|link={{{1|}}}]] + [[File:{{strip|{{{2|}}}}} Icon.png|link={{{2|}}}]] = [[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 ==
Line 9: Line 9:


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


For example:
For example:
Line 21: Line 21:
{{Icon Formula|Mortar and Pestle|Lapyan Plant|Crushed Lapyan Plant}}
{{Icon Formula|Mortar and Pestle|Lapyan Plant|Crushed Lapyan Plant}}


For example:
<pre>
{{Icon Formula|Mortar and Pestle|Lapyan Plant}}
</pre>
displays as:
{{Icon Formula|Mortar and Pestle|Lapyan Plant}}
[[Category:Wiki Template]]
</noinclude>
</noinclude>

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:

+