Template:Spell Formula: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
imported>Tlosk's Bot
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{nobr|{{#ifeq:{{{1|}}}|||[[File:{{strip|{{{1}}} Icon.png|link={{strip|{{{1}}}}}]]}}{{#ifeq:{{{2|}}}|||[[File:{{strip|{{{2}}} Icon.png|link={{strip|{{{2}}}}}]]}}{{#ifeq:{{{3|}}}|||[[File:{{strip|{{{3}}} Icon.png|link={{strip|{{{3}}}}}]]}}{{#ifeq:{{{4|}}}|||[[File:{{strip|{{{4}}} Icon.png|link={{strip|{{{4}}}}}]]}}{{#ifeq:{{{5|}}}|||[[File:{{strip|{{{5}}} Icon.png|link={{strip|{{{5}}}}}]]}}{{#ifeq:{{{6|}}}|||[[File:{{strip|{{{6}}} Icon.png|link={{strip|{{{6}}}}}]]}}{{#ifeq:{{{7|}}}|||[[File:{{strip|{{{7}}} Icon.png|link={{strip|{{{7}}}}}]]}}{{#ifeq:{{{8|}}}|||[[File:{{strip|{{{8}}} Icon.png|link={{strip|{{{8}}}}}]]}}}}</includeonly><noinclude>
<includeonly><span style="white-space:nowrap">{{#ifeq:{{{1|}}}|||[[File:{{strip|{{{1|}}}}} Icon.png|link={{strip|{{{1|}}}}}{{!}}16x16px]]}}{{#ifeq:{{{2|}}}|||[[File:{{strip|{{{2|}}}}} Icon.png|link={{strip|{{{2|}}}}}{{!}}16x16px]]}}{{#ifeq:{{{3|}}}|||[[File:{{strip|{{{3|}}}}} Icon.png|link={{strip|{{{3|}}}}}{{!}}16x16px]]}}{{#ifeq:{{{4|}}}|||[[File:{{strip|{{{4|}}}}} Icon.png|link={{strip|{{{4|}}}}}{{!}}16x16px]]}}{{#ifeq:{{{5|}}}|||[[File:{{strip|{{{5|}}}}} Icon.png|link={{strip|{{{5|}}}}}{{!}}16x16px]]}}{{#ifeq:{{{6|}}}|||[[File:{{strip|{{{6|}}}}} Icon.png|link={{strip|{{{6|}}}}}{{!}}16x16px]]}}{{#ifeq:{{{7|}}}|||[[File:{{strip|{{{7|}}}}} Icon.png|link={{strip|{{{7|}}}}}{{!}}16x16px]]}}{{#ifeq:{{{8|}}}|||[[File:{{strip|{{{8|}}}}} Icon.png|link={{strip|{{{8|}}}}}{{!}}16x16px]]}}{{#ifeq:{{{9|}}}|||[[File:{{strip|{{{9|}}}}} Icon.png|link={{strip|{{{9|}}}}}{{!}}16x16px]]}}{{#ifeq:{{{10|}}}|||[[File:{{strip|{{{10|}}}}} Icon.png|link={{strip|{{{10|}}}}}{{!}}16x16px]]}}</span></includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates}}
== Syntax ==
== Syntax ==
<pre>
{{Spell Formula|<Component>|<Component>}}
</pre>


== Usage ==
== Usage ==
In line display of component icons for a spell formula. Use "Empty Space" to enforce a blank component space. The icon row will not have line breaks. Displays 1 to 10 components.
For example:
<pre>
{{Spell Formula|Diamond Scarab|Diamond Scarab|Eyebright|Green Taper|Powdered Onyx|Colcothar|Red Taper|Elder Talisman}}
</pre>
displays as:
{{Spell Formula|Diamond Scarab|Diamond Scarab|Eyebright|Green Taper|Powdered Onyx|Colcothar|Red Taper|Elder Talisman}}


[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 09:58, 23 August 2009

Related topics: Wiki Templates

Syntax

{{Spell Formula|<Component>|<Component>}}

Usage

In line display of component icons for a spell formula. Use "Empty Space" to enforce a blank component space. The icon row will not have line breaks. Displays 1 to 10 components.

For example:

{{Spell Formula|Diamond Scarab|Diamond Scarab|Eyebright|Green Taper|Powdered Onyx|Colcothar|Red Taper|Elder Talisman}}

displays as: