Account creation has temporarily been disabled to stem the endless tide of spambot accounts being created in recent changes. Both anonymous and logged in users can still edit pages as normal. (details)
[dismiss]

User:Neithan Diniem/Template/Weapon infobox

From Guild Wars Wiki
Jump to: navigation, search
Neithan Diniem/Template/Weapon infobox
150px
No rendered image is available
Type Not specified
Campaign(s) Core
Attribute(s) Not specified


Contents

[edit] Usage

{{User:Neithan Diniem/Template/Weapon infobox
| name = 
| image = 
| rendered = 
| render = 
| type =
| campaign = 
| attribute = 
| damagetype = 
| bowclass =
| pvpreward =
| commonsalvage = 
| raresalvage = 
| unique =
| salvageable = 
| icon =
}}

[edit] Parameters

name 
Optional. Defaults the name of the article "{{PAGENAME}}."
image 
Optional. The weapon image should not include any text. See the image use policy. Defaults to the page name "{{PAGENAME}}.jpg."
rendered 
Mandatory. Set as "yes" or "no". Allows for the collapsible bar to display. Defaults to "no."
render 
Conditional. Requires rendered to be set to "yes". Defaults to "{{PAGENAME}}_render.jpg". Default and recommended width is 140px.
type 
Optional. Will auto-type by attribute for martial weapons and shields. This will also auto-type uniques based on the value of the "unique" parameter. Needs to be set manually for caster weapons (Staff, Wand and Focus). Sets Category:(weapon type) for all weapons including uniques. These categories may need to be adjusted manually.
campaign 
Mandatory. The campaign this weapon appears in. Defaults to "Core".
attribute 
The attribute(s) associated with this weapon. Defaults to "Not specified".
damagetype 
The type(s) of damage this weapon does. Omit if not required.
bowclass 
Additional information for bows. Omit if not required.
pvpreward 
Optional. Used to categorize PvP reward items. Possible values are Basic, Fancy and Exotic.
commonsalvage 
The common crafting materials this weapon produces when salvaged. Defaults to "Not specified". This field autocategorises to Category:Contains <commonsalvage>, for single terms only. If you list multiple salvage items, please manually adjust the resulting categories. See Template:Item infobox#Auto-Categorisation for details.
raresalvage 
The rare crafting materials this weapon produces when salvaged. Defaults to "Not specified". This field autocategorises to Category:Contains <raresalvage>, for single terms only. If you list multiple salvage items, please manually adjust the resulting categories. See Template:Item infobox#Auto-Categorisation for details.
unique 
Sets whether or not the weapon is unique. If this is set to "yes" this also hides the salvage rows in the box, no matter the value of salvageable. Default is "no".
salvageable 
Sets whether or not the weapon is salvageable. If this is set to "no" it hides the salvage rows in the box. Default is "yes".

[edit] Example

{{User:Neithan Diniem/Template/Weapon infobox
| name = Earth Staff
| image = Earth Staff.jpg
| rendered = yes
| render = Earth Staff Render.jpg
| type = [[Staff]]
| campaign = [[Prophecies]]
| attribute = [[Earth Magic]]
| damagetype = [[Earth damage]]
| commonsalvage = [[Wood Plank]]s
| raresalvage = [[Steel Ingot]]s
}}

[edit] See also

Personal tools