Template:Icon Formula: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
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|}}}]] <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 ==
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 20: Line 20:


{{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]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Revision as of 08:59, 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:

+