Template:ItemBox
The following ItemBox template is based off of a template made by Eisregen on VirtueVerse. It has been edited for the PRIMUS Database by Scarlet to make it more applicable to Champions Online. Thank you, Eisregen, for making this awesome template and guide.
How to use the ItemBox
The long and involved process works thusly. If you just want the damn Box, go directly to the Cheat Sheet.
Trigger the use of the ItemBox on your page if you plan to include it. At the top of your edit window, enter:
{{ItemBox
Below that, you'll want to fill out all the parameters that you can fill out or care to fill out. For this, you'll need the name of the parameter that corresponds to the field you'll want to fill; in most cases, the parameter names are the same as the name of the field, but they differ in some. A complete list can be found below. The format for filling in a parameter is as follows:
| parameter = value eg. | name = Dagger of Dash
This will replace the {{{name}}} placeholder in the original ItemBox with 'Dagger of Dash'. Each parameter should be put in a new line for ease of parsing and debugging in case something goes wrong.
Close the Template. This is done by appending the following at the end of your list:
|}}
And with this, you're set.
List of Parameters
- name - Your item's name. This will appear in big bold letters.
- image - Item image. Should not be wider than 300 pixels. If it's too wide (or too small) it will be automatically shrunken (or expanded) to the appropriate size (but clicking on the image will display the actual image rather than the adjusted version). If you have no image, don't include this parameter and it will default to a placeholder image instead.
- caption - Text that goes right beneath the image, if you think the image requires further commentary. If not, don't include this parameter and there will be no text in the block below the image.
- alliases - Any other names that have been given to the item. Defaults to 'None' if not further specified.
- type - Your item's type e.g. weapon, shield, armor, etc. Defaults to 'Confidential' if not further specified.
- creator - The name of the item's creator. Defaults to 'Confidential' if not further specified.
- creationdate - The item's creation date. Defaults to 'Confidential' if not further specified.
- owners - Names of any owners (previous or current) of the item. Defaults to 'Confidential' if not further specified..
- speciality - The speciality of the item e.g. Mystical, Technological, etc. Defaults to 'Confidential' if not further specified.
- height - Your item's height in feet and inches. Defaults to 'Confidential' if not further specified.
- weight - Your item's weight in pounds (see height). Defaults to 'Confidential' if not further specified.
- footnotes - Room for any notes you want available at a glance that aren't covered by the above categories will be placed in the bottom box.
ItemBox Cheatsheet
Copy the following onto your page and fill out the appropriate information.
{{ItemBox | name = | image = | caption = | aliases = | type = | creator = | creationdate = | owners = | speciality = | height = | weight = | footnotes = |}}
Other Templates
Characters: HeroBox | VillainBox | AntiheroBox | AntivillainBox | NemesisBox | CitizenBox
Groups: SuperGroupBox | VillainGroupBox | AntiHeroGroupBox | AntiVillainGroupBox | NemesisGroupBox | CitizenGroupBox