Difference between revisions of "Template:Component"

From Fallen Sword Wiki
Jump to: navigation, search
(New page: Component <noinclude> {{PAGENAME}} </noinclude>)
 
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:''' {{#switch: {{lc:{{{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"|
 +
== 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>}}
 +
|}
 +
__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>
 +
 
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 23:43, 5 October 2008

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=
}}