Difference between revisions of "Template:Component"

From Fallen Sword Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''Type:''' [[:Category:Components|Component]]<br>
 
'''Type:''' [[:Category:Components|Component]]<br>
'''Rarity:''' {{#switch: {{lc:{{{rarity}}}}}
+
'''Rarity:''' {{ItemRarity|{{{rarity}}}}}
| common = {{Common Item}}
+
| rare = {{Rare Item}}
+
| unique = {{Unique Item}}
+
| legendary = {{Legendary Item}}
+
| super elite = {{Super Elite Item}}
+
| crystalline = {{Crystalline Item}}
+
| epic = {{Epic Item}}
+
|
+
}}
+
 
|}
 
|}
 
|width="50%" valign="top" align="left"|
 
|width="50%" valign="top" align="left"|
Line 24: Line 15:
  
 
=== Recipes ===
 
=== Recipes ===
{{#ifeq: {{{recipe|No}}} | No || '''&bull;''' [[{{{recipe|}}}]] ({{{recipe-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-2|No}}} | No || '''&bull;''' [[{{{recipe-2|}}}]] ({{{recipe-2-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-3|No}}} | No || '''&bull;''' [[{{{recipe-3|}}}]] ({{{recipe-3-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-4|No}}} | No || '''&bull;''' [[{{{recipe-4|}}}]] ({{{recipe-4-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-5|No}}} | No || '''&bull;''' [[{{{recipe-5|}}}]] ({{{recipe-5-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-6|No}}} | No || '''&bull;''' [[{{{recipe-6|}}}]] ({{{recipe-6-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-7|No}}} | No || '''&bull;''' [[{{{recipe-7|}}}]] ({{{recipe-7-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-8|No}}} | No || '''&bull;''' [[{{{recipe-8|}}}]] ({{{recipe-8-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-9|No}}} | No || '''&bull;''' [[{{{recipe-9|}}}]] ({{{recipe-9-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-10|No}}} | No || '''&bull;''' [[{{{recipe-10|}}}]] ({{{recipe-10-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-11|No}}} | No || '''&bull;''' [[{{{recipe-11|}}}]] ({{{recipe-11-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-12|No}}} | No || '''&bull;''' [[{{{recipe-12|}}}]] ({{{recipe-12-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-13|No}}} | No || '''&bull;''' [[{{{recipe-13|}}}]] ({{{recipe-13-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-14|No}}} | No || '''&bull;''' [[{{{recipe-14|}}}]] ({{{recipe-14-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-15|No}}} | No || '''&bull;''' [[{{{recipe-15|}}}]] ({{{recipe-15-amt|0}}}x)<br>}}
+
{{#ifeq: {{{recipe|No}}} | No || '''&bull;''' [[{{{recipe|}}}]] ({{{recipe-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-2|No}}} | No || '''&bull;''' [[{{{recipe-2|}}}]] ({{{recipe-2-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-3|No}}} | No || '''&bull;''' [[{{{recipe-3|}}}]] ({{{recipe-3-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-4|No}}} | No || '''&bull;''' [[{{{recipe-4|}}}]] ({{{recipe-4-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-5|No}}} | No || '''&bull;''' [[{{{recipe-5|}}}]] ({{{recipe-5-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-6|No}}} | No || '''&bull;''' [[{{{recipe-6|}}}]] ({{{recipe-6-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-7|No}}} | No || '''&bull;''' [[{{{recipe-7|}}}]] ({{{recipe-7-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-8|No}}} | No || '''&bull;''' [[{{{recipe-8|}}}]] ({{{recipe-8-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-9|No}}} | No || '''&bull;''' [[{{{recipe-9|}}}]] ({{{recipe-9-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-10|No}}} | No || '''&bull;''' [[{{{recipe-10|}}}]] ({{{recipe-10-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-11|No}}} | No || '''&bull;''' [[{{{recipe-11|}}}]] ({{{recipe-11-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-12|No}}} | No || '''&bull;''' [[{{{recipe-12|}}}]] ({{{recipe-12-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-13|No}}} | No || '''&bull;''' [[{{{recipe-13|}}}]] ({{{recipe-13-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-14|No}}} | No || '''&bull;''' [[{{{recipe-14|}}}]] ({{{recipe-14-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-15|No}}} | No || '''&bull;''' [[{{{recipe-15|}}}]] ({{{recipe-15-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-16|No}}} | No || '''&bull;''' [[{{{recipe-16|}}}]] ({{{recipe-16-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-17|No}}} | No || '''&bull;''' [[{{{recipe-17|}}}]] ({{{recipe-17-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-18|No}}} | No || '''&bull;''' [[{{{recipe-18|}}}]] ({{{recipe-18-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-19|No}}} | No || '''&bull;''' [[{{{recipe-19|}}}]] ({{{recipe-19-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-20|No}}} | No || '''&bull;''' [[{{{recipe-20|}}}]] ({{{recipe-20-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-21|No}}} | No || '''&bull;''' [[{{{recipe-21|}}}]] ({{{recipe-21-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-22|No}}} | No || '''&bull;''' [[{{{recipe-22|}}}]] ({{{recipe-22-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-23|No}}} | No || '''&bull;''' [[{{{recipe-23|}}}]] ({{{recipe-23-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-24|No}}} | No || '''&bull;''' [[{{{recipe-24|}}}]] ({{{recipe-24-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-25|No}}} | No || '''&bull;''' [[{{{recipe-25|}}}]] ({{{recipe-25-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-26|No}}} | No || '''&bull;''' [[{{{recipe-26|}}}]] ({{{recipe-26-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-27|No}}} | No || '''&bull;''' [[{{{recipe-27|}}}]] ({{{recipe-27-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-28|No}}} | No || '''&bull;''' [[{{{recipe-28|}}}]] ({{{recipe-28-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-29|No}}} | No || '''&bull;''' [[{{{recipe-29|}}}]] ({{{recipe-29-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-30|No}}} | No || '''&bull;''' [[{{{recipe-30|}}}]] ({{{recipe-30-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-31|No}}} | No || '''&bull;''' [[{{{recipe-31|}}}]] ({{{recipe-31-amt|0}}}x)<br>}}{{#ifeq: {{{recipe-32|No}}} | No || '''&bull;''' [[{{{recipe-32|}}}]] ({{{recipe-32-amt|0}}}x)<br>}}
 
|}
 
|}
 
__NOEDITSECTION__
 
__NOEDITSECTION__
Line 67: Line 58:
 
}}
 
}}
 
</pre>
 
</pre>
There are parameters for up to 15 recipes and amounts.
+
There are parameters for up to 32 recipes and amounts.
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:50, 29 March 2022

Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working properly for other pages currently using this template.

This template allows easy adding of component pages. To use, copy the following code to the component's page and fill in the banks. Remove anything that is extra. If a component cannot be completely represented by this template, please use the talk page to ask for this template to be updated.

{{Component
|image=
|name=
|rarity=
|resource=
|recipe=
|recipe-amt=
|recipe-2=
|recipe-2-amt=
|recipe-3=
|recipe-3-amt=
|recipe-4=
|recipe-4-amt=
|recipe-5=
|recipe-5-amt=
}}

There are parameters for up to 32 recipes and amounts.