Difference between revisions of "Template:Resource"

From Fallen Sword Wiki
Jump to: navigation, search
Line 25: Line 25:
 
{{#ifeq: {{{extract-image-3|No}}} | No |{{!end}}| {{ResExtract|image={{{extract-image-3|}}}|name={{{extract-name-3|}}}}}
 
{{#ifeq: {{{extract-image-3|No}}} | No |{{!end}}| {{ResExtract|image={{{extract-image-3|}}}|name={{{extract-name-3|}}}}}
 
{{#ifeq: {{{extract-image-4|No}}} | No |{{!end}}| {{ResExtract|image={{{extract-image-4|}}}|name={{{extract-name-4|}}}}}
 
{{#ifeq: {{{extract-image-4|No}}} | No |{{!end}}| {{ResExtract|image={{{extract-image-4|}}}|name={{{extract-name-4|}}}}}
 +
{{#ifeq: {{{extract-image-5|No}}} | No |{{!end}}| {{ResExtract|image={{{extract-image-5|}}}|name={{{extract-name-5|}}}}}
 
{{!end}} }}}}
 
{{!end}} }}}}
 
| width="50%" valign="top" align="left" |
 
| width="50%" valign="top" align="left" |

Revision as of 16:42, 26 June 2010

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 resource pages. To use, copy the following code to the resource's page and fill in the banks. Remove anything that is extra. If a resource cannot be completely represented by this template, please use the talk page to ask for this template to be updated.

{{Resource
|image=
|name=
|rarity=
|extract-image=
|extract-name=
|extract-image-2=
|extract-name-2=
|extract-image-3=
|extract-name-3=
|extract-image-4=
|extract-name-4=
|drops=
|drops-2=
|drops-3=
|drops-4=
|drops-5=
|shop=
|shop-price=
|shop-2=
|shop-3=
|shop-4=
|shop-5=
|quest-rewarded=
|quest-gained=
|quest-used=
|won=
}}

There are also parameters for drops-2 through drops-10 and shop-2 through shop-10. Since shop prices remain constant, there are no alternate shop-price parameters.