Template:WeaponInfo

From Schism Wiki
Jump to navigation Jump to search

This is the source page for the weapon infobox template. It is very basic for now, but hopefully it can be refined in the future. The template is contained within the source HTML code of this page, clicking the Edit button will reveal it at the top. It is just not visible on the page itself. Tutorial for how to use the WeaponInfo template is below.

Current Tutorial

It is simple in practice. While editing a page, copy and paste the HTML code below, preferably somewhere near the top:

{{WeaponInfo
 | name =
 | image =
 | innates = 
 | dmg =
 | spd =
 | ap =
 | rng =
 | atk =
}}

Then, go down these data variables and insert the data as specified. For the image data, upload an image first, then insert the image title with the .png or .jpg extension after it.

Example Infobox

For the Junkthrower page, the following code and data was inserted into the source:

{{WeaponInfo
 | name = Junkthrower
 | image = Junkthrower.png
 | innates = > +8 Spread Shot, ACC <br> reduces spread <br> > +8 weapon spread
 | dmg = 15
 | spd = 30
 | ap = 40
 | rng = 210
 | atk = 75%
}}

Which resulted in this infobox being generated:

Junkthrowerinfobox.png