Difference between revisions of "Template:Item"
Line 2: | Line 2: | ||
{{#switch: {{{view}}} | {{#switch: {{{view}}} | ||
| icon = {{{Picture|}}} | | icon = {{{Picture|}}} | ||
− | | short = {{Template:Item/ShortView | PageName={{{PageName}}} | Name={{{Name}}} | Item Description={{{Item Description|}}} | Picture={{{Picture|}}} }} | + | | short = {{Template:Item/ShortView |
+ | |PageName={{{PageName|{{{Name}}}}}} | ||
+ | |Name={{{Name}}} | ||
+ | | Item Description={{{Item Description|}}} | | ||
+ | Picture={{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }} | ||
+ | }} | ||
| listBasic = {{Template:Item/ListBasicView | | listBasic = {{Template:Item/ListBasicView | ||
|PageName = {{{PageName|{{{Name}}}}}} | |PageName = {{{PageName|{{{Name}}}}}} | ||
|Name = {{{Name}}} | |Name = {{{Name}}} | ||
|Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }} | |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }} | ||
− | |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item | + | |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }} |
|Type = {{{Type|}}} | |Type = {{{Type|}}} | ||
|Maximum Stack = {{{Maximum Stack|}}} | |Maximum Stack = {{{Maximum Stack|}}} | ||
Line 63: | Line 68: | ||
|PageName = {{{PageName|{{{Name}}}}}} | |PageName = {{{PageName|{{{Name}}}}}} | ||
|Name = {{{Name}}} | |Name = {{{Name}}} | ||
− | |Picture = {{{Picture|[[File:Item-Icon {{{Name}}}.png|link=]] | + | |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }} |
− | |LargePicture = {{{LargePicture|[[File:Item {{{Name}}}.png|link=]] | + | |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }} |
|Type = {{{Type|}}} | |Type = {{{Type|}}} | ||
|Maximum Stack = {{{Maximum Stack|}}} | |Maximum Stack = {{{Maximum Stack|}}} | ||
Line 120: | Line 125: | ||
|PageName = {{{PageName|{{{Name}}}}}} | |PageName = {{{PageName|{{{Name}}}}}} | ||
|Name = {{{Name}}} | |Name = {{{Name}}} | ||
− | |Picture = {{{Picture|[[File:Item-Icon {{{Name}}}.png|link=]] | + | |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }} |
− | |LargePicture = {{{LargePicture|[[File:Item {{{Name}}}.png|link=]] | + | |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }} |
|Type = {{{Type|}}} | |Type = {{{Type|}}} | ||
|Maximum Stack = {{{Maximum Stack|}}} | |Maximum Stack = {{{Maximum Stack|}}} | ||
Line 177: | Line 182: | ||
|PageName = {{{PageName|{{{Name}}}}}} | |PageName = {{{PageName|{{{Name}}}}}} | ||
|Name = {{{Name}}} | |Name = {{{Name}}} | ||
− | |Picture = {{{Picture|[[File:Item-Icon {{{Name}}}.png|link=]] | + | |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }} |
− | |LargePicture = {{{LargePicture|[[File:Item {{{Name}}}.png|link=]] | + | |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }} |
|Type = {{{Type|}}} | |Type = {{{Type|}}} | ||
|Maximum Stack = {{{Maximum Stack|}}} | |Maximum Stack = {{{Maximum Stack|}}} | ||
Line 235: | Line 240: | ||
|Name = {{{Name}}} | |Name = {{{Name}}} | ||
|Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }} | |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }} | ||
− | |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item | + | |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }} |
|Type = {{{Type|}}} | |Type = {{{Type|}}} | ||
|Maximum Stack = {{{Maximum Stack|}}} | |Maximum Stack = {{{Maximum Stack|}}} |
Revision as of 02:29, 29 September 2012
Contents |
Summary
Items in the wiki are chaotic. This is the first step in an attempt to make them more organized. This is an experiment, if it turns out well - I might apply the same trick for other areas where there is a great deal of duplicated information.
This template is a front for a collection of templates all designed to run from the same information. An item page that correctly uses this template can allow other pages to have access to the same item information, even if they need it in a different form (such as a short version or a list item version).
How to use
Simply create a new item page, then copy / paste the following text:
<!--Please do not add anything above this line-->{{Item |view = {{{view}}} |PageName = |Name = |Picture = |LargePicture = <!-- Basic Info --> |Type = |Maximum Stack = |Gender = |Affinity = |Level Limit = |Alignment = |Tradable = Yes |PVP Only = No <!-- Armor --> |Physical Defense = |Magic Defense = <!-- Weapon --> |Close-Range = |Long-Range = |Spell = |Support = |Critical = <!-- Other Basic Features --> |Durability = |Additional Boost 1 Type = |Additional Boost 1 Value = |Additional Boost 2 Type = |Additional Boost 2 Value = |Additional Boost 3 Type = |Additional Boost 3 Value = |Additional Boost 4 Type = |Additional Boost 4 Value = |Additional Boost 5 Type = |Additional Boost 5 Value = |Additional Boost 6 Type = |Additional Boost 6 Value = <!-- COMP --> |Stock = <!-- Enchant Info --> |Spiritual Mixing = Yes |Tarot Fusions = Yes |Soul Stone Fusions = Yes <!-- Modification Slot --> |Number of Slots = |Slot 1 = |Slot 2 = |Slot 3 = |Slot 4 = |Slot 5 = <!-- Characteristics --> |Characteristic 1 = |Characteristic 2 = |Characteristic 3 = |Characteristic 4 = |Characteristic 5 = <!--Special Features--> |Special Skill = |Set Bonus = |Modification Material = |Modification Bonus = <!-- Explanation --> |Item Description = <!-- Notes --> |Sale = |Location = |Additional Notes = }}<!--Please do add anything below this -->
Hopefully the above parameters should mostly be clear. A few clarifications / tips:
- PageName should be the name of the current page. Generally it should be the same as Name.
- Picture should be the icon that appears ingame when you look at the image.
- LargePicture is the zoomed in version (currently not in use).
- Maximum Stack can be left blank if the item does not stack.
- Gender / Level Limit / Alignment refer to the limitations of the equipment. For example, Gender = Male, Level Limit = 30+, Alignment = Neutral, represents an item that only a neutral lvl 30+ male player can equip.
- Fields already with a 'Yes' or 'No' value should only be given a 'Yes' or 'No' value :).
- All basic feature Stats should be of the form +10, +10%, -10 or -10% (where 10 is replaced by the true stat value).
- An empty value represents these stats do not apply for the current item.
- The same is true for 'Additional Boost Type' / 'Additional Boost Value' pairs. These represent other basic boosts, such as Additional Boost Type=Cool-down time, Additional Boost Value=-10%.
- The Number of Slots field should be given the range of possible slot values for the item, eg 3-5. You should then fill out the most common number of slots found by putting a - for each respective slot.
- Modification Material does not need [Modification Material] added to the value, similarly Modification Boost does not need the Boost: added to the value
Example Uses
The following example usages are based on :User:Sesshou:ItemExample, which includes the following text:
<!--Please do not add anything above this line-->{{Item |view = {{{view}}} |PageName = :User:Sesshou/ItemExample |Name = Pachipachiou |Picture = http://dl.dropbox.com/u/74289761/megaten/2/2a/Pachipachiou-small.png |LargePicture = <!-- Basic Info --> |Type =1-Handed Sword |Maximum Stack = 1 |Gender = |Affinity = Slash |Level Limit = |Alignment = |Tradable = Yes |PVP Only = No <!-- Armor --> |Physical Defense = |Magic Defense = <!-- Weapon --> |Close-Range = +29 |Long-Range = |Spell = +34 |Support = +25 |Critical = +8 <!-- Other Basic Features --> |Durability = 50 |Additional Boost 1 Type = |Additional Boost 1 Value = |Additional Boost 2 Type = |Additional Boost 2 Value = |Additional Boost 3 Type = |Additional Boost 3 Value = |Additional Boost 4 Type = |Additional Boost 4 Value = |Additional Boost 5 Type = |Additional Boost 5 Value = |Additional Boost 6 Type = |Additional Boost 6 Value = <!-- COMP --> |Stock = <!-- Enchant Info --> |Spiritual Mixing = Yes |Tarot Fusions = Yes |Soul Stone Fusions = Yes <!-- Modification Slot --> |Number of Slots = 3 |Slot 1 = - |Slot 2 = - |Slot 3 = - |Slot 4 = |Slot 5 = <!-- Characteristics --> |Characteristic 1 = -20% MP Cost for all Skills |Characteristic 2 = |Characteristic 3 = |Characteristic 4 = |Characteristic 5 = <!--Special Features--> |Special Skill = |Set Bonus = |Modification Material = SLA ATK 2 |Modification Bonus = Slash Attack Power Up 10% <!-- Explanation --> |Item Description = A Katana forged by the swordsmith Awataguchi Kuniyoshi that is said to be able to split an enemy's helmet in half. Reduces any skill cost that reduces you MP by 20%. <!-- Notes --> |Sale = |Location = |Additional Notes = }}<!-- Please do not add anything below this -->
Only the icon
{{:User:Sesshou/ItemExample|view=icon}}
Default View
- Main article: Template:Item/DefaultView
Short View
- Main article: Template:Item/ShortView
{{:User:Sesshou/ItemExample|view=short}}
Pachipachiou
- Main article: Pachipachiou
A Katana forged by the swordsmith Awataguchi Kuniyoshi that is said to be able to split an enemy's helmet in half.
Reduces any skill cost that reduces you MP by 20%.
IngameView
- Main article: Template:Item/IngameView
{{:User:Sesshou/ItemExample|view=ingame}}
- -20% MP Cost for all Skills
A Katana forged by the swordsmith Awataguchi Kuniyoshi that is said to be able to split an enemy's helmet in half.
Reduces any skill cost that reduces you MP by 20%.
ListBasic View
- Main article: Template:Item/ListBasicView
{|... |- {{:User:Sesshou/ItemExample|view=listBasic}} |}
Icon | Name | Stack | Usage | Description | How to Get |
---|---|---|---|---|---|
Pachipachiou | - |
|
A Katana forged by the swordsmith Awataguchi Kuniyoshi that is said to be able to split an enemy's helmet in half.
Reduces any skill cost that reduces you MP by 20%. |
ListClothing View
- Main article: Template:Item/ListClothingView
{| |- {{:User:Sesshou/ItemExample|view=listClothing}} |}
Icon | Item Name | Gender | PHYS DEF | MAG DEF | Durable | Spiritual Mixing | Tarot Fusions | Soul Stone Fusions | Description | Additional Effect | How to Get |
---|---|---|---|---|---|---|---|---|---|---|---|
Pachipachiou | - | - | - | 50 | Yes | Yes | Yes | A Katana forged by the swordsmith Awataguchi Kuniyoshi that is said to be able to split an enemy's helmet in half.
Reduces any skill cost that reduces you MP by 20%. |
|
ListWeapon View
- Main article: Template:Item/ListWeaponView
{| |- {{:User:Sesshou/ItemExample|view=listWeapon}} |}
Icon | Item Name | Affinity | CLS-R LNG-R | SPL | SPT | CRT | Durable | Spiritual Mixing | Tarot Fusions | Soul Stone Fusions | Slots | Description | Additional Effect | How to Get |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Pachipachiou | Slash | +29 | +34 | +25 | +8 | 50 | Yes | Yes | Yes | 3 | A Katana forged by the swordsmith Awataguchi Kuniyoshi that is said to be able to split an enemy's helmet in half.
Reduces any skill cost that reduces you MP by 20%. |
|
Default View design
I am thinking of mixing ingame and normal wiki style for this, to finish with something like what is done for NPC's (where we include the ingame view but right page aligned, and additional information / notes is normal wiki style). The view selector type template allows us to create a more fully designed page as when including in other pages - we can choose which bits to include.
Short View design
The intention is to have something informal and short in wiki style. The idea is we can throw together a list of items with just summaries and icons, a bit like demons on their various family pages (eg Beast).
Ingame View design
The idea being to get as close to ingame view as possible. There is alot of work already done by other authors - adreamofcold for ItemSI and AnnanFay for the newest design. I will likely include these template as is here.