Difference between revisions of "Template:Component"

From Fallen Sword Wiki
Jump to: navigation, search
(New page: Component <noinclude> {{PAGENAME}} </noinclude>)
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[:Category:Components|Component]]
+
<includeonly>__NOTOC__
<noinclude>
+
{|cellpadding="5" width="100%"
 +
|width="50%" valign="top" align="left"|
 +
== Item ==
 +
{|
 +
| valign="top" |{{ItemBox4|{{{image|}}}}}
 +
| valign="top" |
 +
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 +
'''Type:''' [[:Category:Components|Component]]<br>
 +
'''Rarity:''' {{ItemRarity|{{{rarity}}}}}
 +
|}
 +
|width="50%" valign="top" align="left"|
 +
== Information ==
 +
'''Extracted From:'''<br>'''&bull;''' [[{{{resource|}}}]]
 +
 
 +
=== 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-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__
 +
[[Category:Items]][[Category:Components]]{{#switch: {{lc:{{{rarity}}}}}
 +
| common = [[Category:Common Items]]
 +
| rare = [[Category:Rare Items]]
 +
| unique = [[Category:Unique Items]]
 +
| legendary = [[Category:Legendary Items]]
 +
| super elite = [[Category:Super Elite Items]]
 +
| crystalline = [[Category:Crystalline Items]]
 +
| epic = [[Category:Epic Items]]
 +
|
 +
}}
 +
</includeonly><noinclude>
 +
<center>
 +
{| width="100%" style="border:3px dashed #f00;"
 +
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Do not edit this page!
 +
|-
 +
| align="center" valign="middle" style="font-family:Verdana;font-weight:normal;" |
 +
<small>If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.</small>
 +
|-
 +
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Editing this page may cause the template to stop working properly for other pages currently using this template.
 +
|}
 +
</center>
 +
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.
 +
<pre>
 +
{{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=
 +
}}
 +
</pre>
 +
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.