Difference between revisions of "Template:Resource"
From Fallen Sword Wiki
Lusterless (Talk | contribs) |
|||
(8 intermediate revisions by one user not shown) | |||
Line 8: | Line 8: | ||
'''Name:''' {{{name|{{PAGENAME}}}}}<br> | '''Name:''' {{{name|{{PAGENAME}}}}}<br> | ||
'''Type:''' [[:Category:Resources|Resource]]<br> | '''Type:''' [[:Category:Resources|Resource]]<br> | ||
− | '''Rarity:''' {{ | + | '''Rarity:''' {{ItemRarity|{{{rarity}}}}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
|} | |} | ||
=== Extracts Into === | === Extracts Into === | ||
{| | {| | ||
− | {{ResExtract|image={{{extract-image|}}}|name={{{extract-name|}}}}} | + | {{#ifeq: {{{extract-image|No}}} | No |{{!end}}| {{ResExtract|image={{{extract-image|}}}|name={{{extract-name|}}}}}}} |
− | + | {{#ifeq: {{{extract-image-2|No}}} | No |{{!end}}| {{ResExtract|image={{{extract-image-2|}}}|name={{{extract-name-2|}}}}} | |
{{#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|}}}}} | {{#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" | | ||
== Information == | == Information == | ||
− | {{#ifeq: {{{drops|No}}} | No || '''Dropped by:'''<br>'''•''' [[{{{drops|}}}]]<br>}}{{#ifeq: {{{drops-2|No}}} | No || '''•''' [[{{{drops-2|}}}]]<br>}}{{#ifeq: {{{drops-3|No}}} | No || '''•''' [[{{{drops-3|}}}]]<br>}}{{#ifeq: {{{drops-4|No}}} | No || '''•''' [[{{{drops-4|}}}]]<br>}}{{#ifeq: {{{drops-5|No}}} | No || '''•''' [[{{{drops-5|}}}]]<br>}}{{#ifeq: {{{drops-6|No}}} | No || '''•''' [[{{{drops-6|}}}]]<br>}}{{#ifeq: {{{drops-7|No}}} | No || '''•''' [[{{{drops-7|}}}]]<br>}}{{#ifeq: {{{drops-8|No}}} | No || '''•''' [[{{{drops-8|}}}]]<br>}}{{#ifeq: {{{drops-9|No}}} | No || '''•''' [[{{{drops-9|}}}]]<br>}}{{#ifeq: {{{drops-10|No}}} | No || '''•''' [[{{{drops-10|}}}]]<br>}}{{#ifeq: {{{shop|No}}} | No || '''Purchased at:'''<br>'''•''' [[{{{shop|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-2|No}}} | No || '''•''' [[{{{shop-2|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-3|No}}} | No || '''•''' [[{{{shop-3|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-4|No}}} | No || '''•''' [[{{{shop-4|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-5|No}}} | No || '''•''' [[{{{shop-5|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-6|No}}} | No || '''•''' [[{{{shop-6|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-7|No}}} | No || '''•''' [[{{{shop-7|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-8|No}}} | No || '''•''' [[{{{shop-8|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-9|No}}} | No || '''•''' [[{{{shop-9|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-10|No}}} | No || '''•''' [[{{{shop-10|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{quest-rewarded|No}}} | No || '''Obtained from quest:'''<br>'''•''' [[{{{quest-rewarded|}}}]]<br>}}{{#ifeq: {{{won|No}}} | No || '''Won in:'''<br>'''•''' [[{{{won|}}}]]<br>}}{{#ifeq: {{{recipe|No}}} | No || '''Made from Recipe:'''<br>'''•''' [[{{{recipe|}}}]]<br>}} | + | {{#ifeq: {{{drops|No}}} | No || '''Dropped by:'''<br>'''•''' [[{{{drops|}}}]]<br>}}{{#ifeq: {{{drops-2|No}}} | No || '''•''' [[{{{drops-2|}}}]]<br>}}{{#ifeq: {{{drops-3|No}}} | No || '''•''' [[{{{drops-3|}}}]]<br>}}{{#ifeq: {{{drops-4|No}}} | No || '''•''' [[{{{drops-4|}}}]]<br>}}{{#ifeq: {{{drops-5|No}}} | No || '''•''' [[{{{drops-5|}}}]]<br>}}{{#ifeq: {{{drops-6|No}}} | No || '''•''' [[{{{drops-6|}}}]]<br>}}{{#ifeq: {{{drops-7|No}}} | No || '''•''' [[{{{drops-7|}}}]]<br>}}{{#ifeq: {{{drops-8|No}}} | No || '''•''' [[{{{drops-8|}}}]]<br>}}{{#ifeq: {{{drops-9|No}}} | No || '''•''' [[{{{drops-9|}}}]]<br>}}{{#ifeq: {{{drops-10|No}}} | No || '''•''' [[{{{drops-10|}}}]]<br>}}{{#ifeq: {{{shop|No}}} | No || '''Purchased at:'''<br>'''•''' [[{{{shop|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-2|No}}} | No || '''•''' [[{{{shop-2|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-3|No}}} | No || '''•''' [[{{{shop-3|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-4|No}}} | No || '''•''' [[{{{shop-4|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-5|No}}} | No || '''•''' [[{{{shop-5|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-6|No}}} | No || '''•''' [[{{{shop-6|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-7|No}}} | No || '''•''' [[{{{shop-7|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-8|No}}} | No || '''•''' [[{{{shop-8|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-9|No}}} | No || '''•''' [[{{{shop-9|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{shop-10|No}}} | No || '''•''' [[{{{shop-10|}}}]]: {{formatnum:{{{shop-price}}}}} {{gold}}<br>}}{{#ifeq: {{{quest-rewarded|No}}} | No || '''Obtained from quest:'''<br>'''•''' [[{{{quest-rewarded|}}}]]<br>}}{{#ifeq: {{{game-gift|No}}} | No || '''Game Gift from:'''<br>'''•''' {{{game-gift|}}}<br>}}{{#ifeq: {{{won|No}}} | No || '''Won in:'''<br>'''•''' [[{{{won|}}}]]<br>}}{{#ifeq: {{{recipe|No}}} | No || '''Made from Recipe:'''<br>'''•''' [[{{{recipe|}}}]]<br>}} |
=== Actions === | === Actions === | ||
{{AHlong|{{{name|{{PAGENAME}}}}}|Search Auction House}} | {{AHlong|{{{name|{{PAGENAME}}}}}|Search Auction House}} | ||
|} | |} | ||
+ | {{#ifeq: {{{player-bound|No}}} | No || {{BoundNoTrade}} }} | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
[[Category:Items]][[Category:Resources]]{{#switch: {{lc:{{{rarity}}}}} | [[Category:Items]][[Category:Resources]]{{#switch: {{lc:{{{rarity}}}}} | ||
Line 69: | Line 61: | ||
|extract-image-4= | |extract-image-4= | ||
|extract-name-4= | |extract-name-4= | ||
+ | |extract-image-5= | ||
+ | |extract-name-5= | ||
|drops= | |drops= | ||
|drops-2= | |drops-2= | ||
Line 83: | Line 77: | ||
|quest-gained= | |quest-gained= | ||
|quest-used= | |quest-used= | ||
+ | |game-gift= | ||
|won= | |won= | ||
+ | |player-bound= | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 13:47, 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 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= |extract-image-5= |extract-name-5= |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= |game-gift= |won= |player-bound= }}
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.