Template:Item: Difference between revisions

From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
imported>Sesshou
No edit summary
 
(61 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch: {{{view}}}
{{#switch: {{{View}}}
  | icon = Simply the icon for the equipment
  | icon = {{{Picture|}}}
  | list = Some agreed form so this can be added to a table / list of entries
| short = {{Template:Item/ShortView
  | short = Some Short version Based on Item Template
    |PageName={{{PageName|{{{Name}}}}}}
  | ingame = {{Template:Item/IngameView}}
    |Name={{{Name}}}
  | #default = Some default view
    | Item Description={{{Item Description|}}} |
}}
    Picture={{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }}
</includeonly><noinclude>
  }}
==Example Use==
  | listBasic = {{Template:Item/ListBasicView
This is my experimentation at a multi-view item template.
    |PageName = {{{PageName|{{{Name}}}}}}
    |Name = {{{Name}}}
    |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }}
    |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }}
    |Type = {{{Type|}}}
    |Maximum Stack = {{{Maximum Stack|}}}
    |Sex = {{{Sex|}}}
    |Affinity = {{{Affinity|}}}
    |Level Limit = {{{Level Limit|}}}
    |Alignment = {{{Alignment|}}}
    |Tradable = {{{Tradable|}}}
    |PVP Only = {{{PVP Only|}}}
    |Physical Defense = {{{Physical Defense|}}}
    |Magic Defense = {{{Magic Defense|}}}
    |Melee = {{{Melee|}}}
    |Ranged = {{{Ranged|}}}
    |Spell = {{{Spell|}}}
    |Auxiliary = {{{Auxiliary|}}}
    |Critical Occurrence = {{{Critical Occurrence|}}}
    |Durability = {{{Durability|}}}
    |Additional Boost 1 Type = {{{Additional Boost 1 Type|}}}
    |Additional Boost 1 Value = {{{Additional Boost 1 Value|}}}
    |Additional Boost 2 Type = {{{Additional Boost 2 Type|}}}
    |Additional Boost 2 Value = {{{Additional Boost 2 Value|}}}
    |Additional Boost 3 Type = {{{Additional Boost 3 Type|}}}
    |Additional Boost 3 Value = {{{Additional Boost 3 Value|}}}
    |Additional Boost 4 Type = {{{Additional Boost 4 Type|}}}
    |Additional Boost 4 Value = {{{Additional Boost 4 Value|}}}
    |Additional Boost 5 Type = {{{Additional Boost 5 Type|}}}
    |Additional Boost 5 Value = {{{Additional Boost 5 Value|}}}
    |Additional Boost 6 Type = {{{Additional Boost 6 Type|}}}
    |Additional Boost 6 Value = {{{Additional Boost 6 Value|}}}
    |Stock = {{{Stock|}}}
    |Spiritual Mixing = {{{Spiritual Mixing|}}}
    |Tarot Fusions = {{{Tarot Fusions|}}}
    |Soul Fusions = {{{Soul Fusions|}}}
    |Number of Slots = {{{Number of Slots|}}}
    |Slot 1 = {{{Slot 1|}}}
    |Slot 2 = {{{Slot 2|}}}
    |Slot 3 = {{{Slot 3|}}}
    |Slot 4 = {{{Slot 4|}}}
    |Slot 5 = {{{Slot 5|}}}
    |Characteristic 1 = {{{Characteristic 1|}}}
    |Characteristic 2 = {{{Characteristic 2|}}}
    |Characteristic 3 = {{{Characteristic 3|}}}
    |Characteristic 4 = {{{Characteristic 4|}}}
    |Characteristic 5 = {{{Characteristic 5|}}}
    |Item Description = {{{Item Description|}}}
    |Special Skill = {{{Special Skill|}}}
    |Set Bonus = {{{Set Bonus|}}}
    |Modification Material = {{{Modification Material|}}}
    |Modification Bonus = {{{Modification Bonus|}}}
    |Sale = {{{Sale|}}}
    |Location = {{{Location|}}}
    |Additional Notes= {{{Additional Notes|}}}
  }}
  | listClothing = {{Template:Item/ListClothingView
    |PageName = {{{PageName|{{{Name}}}}}}
    |Name = {{{Name}}}
    |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }}
    |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }}
    |Type = {{{Type|}}}
    |Maximum Stack = {{{Maximum Stack|}}}
    |Sex = {{{Sex|}}}
    |Affinity = {{{Affinity|}}}
    |Level Limit = {{{Level Limit|}}}
    |Alignment = {{{Alignment|}}}
    |Tradable = {{{Tradable|}}}
    |PVP Only = {{{PVP Only|}}}
    |Physical Defense = {{{Physical Defense|}}}
    |Magic Defense = {{{Magic Defense|}}}
    |Melee = {{{Melee|}}}
    |Ranged = {{{Ranged|}}}
    |Spell = {{{Spell|}}}
    |Auxiliary = {{{Auxiliary|}}}
    |Critical Occurrence = {{{Critical Occurrence|}}}
    |Durability = {{{Durability|}}}
    |Additional Boost 1 Type = {{{Additional Boost 1 Type|}}}
    |Additional Boost 1 Value = {{{Additional Boost 1 Value|}}}
    |Additional Boost 2 Type = {{{Additional Boost 2 Type|}}}
    |Additional Boost 2 Value = {{{Additional Boost 2 Value|}}}
    |Additional Boost 3 Type = {{{Additional Boost 3 Type|}}}
    |Additional Boost 3 Value = {{{Additional Boost 3 Value|}}}
    |Additional Boost 4 Type = {{{Additional Boost 4 Type|}}}
    |Additional Boost 4 Value = {{{Additional Boost 4 Value|}}}
    |Additional Boost 5 Type = {{{Additional Boost 5 Type|}}}
    |Additional Boost 5 Value = {{{Additional Boost 5 Value|}}}
    |Additional Boost 6 Type = {{{Additional Boost 6 Type|}}}
    |Additional Boost 6 Value = {{{Additional Boost 6 Value|}}}
    |Stock = {{{Stock|}}}
    |Spiritual Mixing = {{{Spiritual Mixing|}}}
    |Tarot Fusions = {{{Tarot Fusions|}}}
    |Soul Fusions = {{{Soul Fusions|}}}
    |Number of Slots = {{{Number of Slots|}}}
    |Slot 1 = {{{Slot 1|}}}
    |Slot 2 = {{{Slot 2|}}}
    |Slot 3 = {{{Slot 3|}}}
    |Slot 4 = {{{Slot 4|}}}
    |Slot 5 = {{{Slot 5|}}}
    |Characteristic 1 = {{{Characteristic 1|}}}
    |Characteristic 2 = {{{Characteristic 2|}}}
    |Characteristic 3 = {{{Characteristic 3|}}}
    |Characteristic 4 = {{{Characteristic 4|}}}
    |Characteristic 5 = {{{Characteristic 5|}}}
    |Item Description = {{{Item Description|}}}
    |Special Skill = {{{Special Skill|}}}
    |Set Bonus = {{{Set Bonus|}}}
    |Modification Material = {{{Modification Material|}}}
    |Modification Bonus = {{{Modification Bonus|}}}
    |Sale = {{{Sale|}}}
    |Location = {{{Location|}}}
    |Additional Notes= {{{Additional Notes|}}}
  }}
| listWeapon = {{Template:Item/ListWeaponView
    |PageName = {{{PageName|{{{Name}}}}}}
    |Name = {{{Name}}}
    |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }}
    |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }}
    |Type = {{{Type|}}}
    |Maximum Stack = {{{Maximum Stack|}}}
    |Sex = {{{Sex|}}}
    |Affinity = {{{Affinity|}}}
    |Level Limit = {{{Level Limit|}}}
    |Alignment = {{{Alignment|}}}
    |Tradable = {{{Tradable|}}}
    |PVP Only = {{{PVP Only|}}}
    |Physical Defense = {{{Physical Defense|}}}
    |Magic Defense = {{{Magic Defense|}}}
    |Melee = {{{Melee|}}}
    |Ranged = {{{Ranged|}}}
    |Spell = {{{Spell|}}}
    |Auxiliary = {{{Auxiliary|}}}
    |Critical Occurrence = {{{Critical Occurrence|}}}
    |Durability = {{{Durability|}}}
    |Additional Boost 1 Type = {{{Additional Boost 1 Type|}}}
    |Additional Boost 1 Value = {{{Additional Boost 1 Value|}}}
    |Additional Boost 2 Type = {{{Additional Boost 2 Type|}}}
    |Additional Boost 2 Value = {{{Additional Boost 2 Value|}}}
    |Additional Boost 3 Type = {{{Additional Boost 3 Type|}}}
    |Additional Boost 3 Value = {{{Additional Boost 3 Value|}}}
    |Additional Boost 4 Type = {{{Additional Boost 4 Type|}}}
    |Additional Boost 4 Value = {{{Additional Boost 4 Value|}}}
    |Additional Boost 5 Type = {{{Additional Boost 5 Type|}}}
    |Additional Boost 5 Value = {{{Additional Boost 5 Value|}}}
    |Additional Boost 6 Type = {{{Additional Boost 6 Type|}}}
    |Additional Boost 6 Value = {{{Additional Boost 6 Value|}}}
    |Stock = {{{Stock|}}}
    |Spiritual Mixing = {{{Spiritual Mixing|}}}
    |Tarot Fusions = {{{Tarot Fusions|}}}
    |Soul Fusions = {{{Soul Fusions|}}}
    |Number of Slots = {{{Number of Slots|}}}
    |Slot 1 = {{{Slot 1|}}}
    |Slot 2 = {{{Slot 2|}}}
    |Slot 3 = {{{Slot 3|}}}
    |Slot 4 = {{{Slot 4|}}}
    |Slot 5 = {{{Slot 5|}}}
    |Characteristic 1 = {{{Characteristic 1|}}}
    |Characteristic 2 = {{{Characteristic 2|}}}
    |Characteristic 3 = {{{Characteristic 3|}}}
    |Characteristic 4 = {{{Characteristic 4|}}}
    |Characteristic 5 = {{{Characteristic 5|}}}
    |Item Description = {{{Item Description|}}}
    |Special Skill = {{{Special Skill|}}}
    |Set Bonus = {{{Set Bonus|}}}
    |Modification Material = {{{Modification Material|}}}
    |Modification Bonus = {{{Modification Bonus|}}}
    |Sale = {{{Sale|}}}
    |Location = {{{Location|}}}
    |Additional Notes= {{{Additional Notes|}}}
  }}
  | ingame = {{Template:Item/IngameView
    |PageName = {{{PageName|{{{Name}}}}}}
    |Name = {{{Name}}}
    |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }}
    |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }}
    |Type = {{{Type|}}}
    |Maximum Stack = {{{Maximum Stack|}}}
    |Sex = {{{Sex|}}}
    |Affinity = {{{Affinity|}}}
    |Level Limit = {{{Level Limit|}}}
    |Alignment = {{{Alignment|}}}
    |Tradable = {{{Tradable|}}}
    |PVP Only = {{{PVP Only|}}}
    |Physical Defense = {{{Physical Defense|}}}
    |Magic Defense = {{{Magic Defense|}}}
    |Melee = {{{Melee|}}}
    |Ranged = {{{Ranged|}}}
    |Spell = {{{Spell|}}}
    |Auxiliary = {{{Auxiliary|}}}
    |Critical Occurrence = {{{Critical Occurrence|}}}
    |Durability = {{{Durability|}}}
    |Additional Boost 1 Type = {{{Additional Boost 1 Type|}}}
    |Additional Boost 1 Value = {{{Additional Boost 1 Value|}}}
    |Additional Boost 2 Type = {{{Additional Boost 2 Type|}}}
    |Additional Boost 2 Value = {{{Additional Boost 2 Value|}}}
    |Additional Boost 3 Type = {{{Additional Boost 3 Type|}}}
    |Additional Boost 3 Value = {{{Additional Boost 3 Value|}}}
    |Additional Boost 4 Type = {{{Additional Boost 4 Type|}}}
    |Additional Boost 4 Value = {{{Additional Boost 4 Value|}}}
    |Additional Boost 5 Type = {{{Additional Boost 5 Type|}}}
    |Additional Boost 5 Value = {{{Additional Boost 5 Value|}}}
    |Additional Boost 6 Type = {{{Additional Boost 6 Type|}}}
    |Additional Boost 6 Value = {{{Additional Boost 6 Value|}}}
    |Stock = {{{Stock|}}}
    |Spiritual Mixing = {{{Spiritual Mixing|}}}
    |Tarot Fusions = {{{Tarot Fusions|}}}
    |Soul Fusions = {{{Soul Fusions|}}}
    |Number of Slots = {{{Number of Slots|}}}
    |Slot 1 = {{{Slot 1|}}}
    |Slot 2 = {{{Slot 2|}}}
    |Slot 3 = {{{Slot 3|}}}
    |Slot 4 = {{{Slot 4|}}}
    |Slot 5 = {{{Slot 5|}}}
    |Characteristic 1 = {{{Characteristic 1|}}}
    |Characteristic 2 = {{{Characteristic 2|}}}
    |Characteristic 3 = {{{Characteristic 3|}}}
    |Characteristic 4 = {{{Characteristic 4|}}}
    |Characteristic 5 = {{{Characteristic 5|}}}
    |Item Description = {{{Item Description|}}}
    |Special Skill = {{{Special Skill|}}}
    |Set Bonus = {{{Set Bonus|}}}
    |Modification Material = {{{Modification Material|}}}
    |Modification Bonus = {{{Modification Bonus|}}}
    |Sale = {{{Sale|}}}
    |Location = {{{Location|}}}
    |Additional Notes= {{{Additional Notes|}}}
  }}
  | #default = {{Template:Item/DefaultView
      |PageName = {{{PageName|{{{Name}}}}}}
    |Name = {{{Name}}}
    |Picture = {{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }}
    |LargePicture = {{#if: {{{LargePicture |}}} | {{{LargePicture }}} | [[File:Item {{{Name}}}.png|link=]] }}
    |Type = {{{Type|}}}
    |Maximum Stack = {{{Maximum Stack|}}}
    |Sex = {{{Sex|}}}
    |Affinity = {{{Affinity|}}}
    |Level Limit = {{{Level Limit|}}}
    |Alignment = {{{Alignment|}}}
    |Tradable = {{{Tradable|}}}
    |PVP Only = {{{PVP Only|}}}
    |Physical Defense = {{{Physical Defense|}}}
    |Magic Defense = {{{Magic Defense|}}}
    |Melee = {{{Melee|}}}
    |Ranged = {{{Ranged|}}}
    |Spell = {{{Spell|}}}
    |Auxiliary = {{{Auxiliary|}}}
    |Critical Occurrence = {{{Critical Occurrence|}}}
    |Durability = {{{Durability|}}}
    |Additional Boost 1 Type = {{{Additional Boost 1 Type|}}}
    |Additional Boost 1 Value = {{{Additional Boost 1 Value|}}}
    |Additional Boost 2 Type = {{{Additional Boost 2 Type|}}}
    |Additional Boost 2 Value = {{{Additional Boost 2 Value|}}}
    |Additional Boost 3 Type = {{{Additional Boost 3 Type|}}}
    |Additional Boost 3 Value = {{{Additional Boost 3 Value|}}}
    |Additional Boost 4 Type = {{{Additional Boost 4 Type|}}}
    |Additional Boost 4 Value = {{{Additional Boost 4 Value|}}}
    |Additional Boost 5 Type = {{{Additional Boost 5 Type|}}}
    |Additional Boost 5 Value = {{{Additional Boost 5 Value|}}}
    |Additional Boost 6 Type = {{{Additional Boost 6 Type|}}}
    |Additional Boost 6 Value = {{{Additional Boost 6 Value|}}}
    |Stock = {{{Stock|}}}
    |Spiritual Mixing = {{{Spiritual Mixing|}}}
    |Tarot Fusions = {{{Tarot Fusions|}}}
    |Soul Fusions = {{{Soul Fusions|}}}
    |DF Effect 1 = {{{DF Effect 1|}}}
    |DF Effect 2 = {{{DF Effect 2|}}}
    |DF Effect 3 = {{{DF Effect 3|}}}
    |DF Effect 4 = {{{DF Effect 4|}}}
    |DF Effect 5 = {{{DF Effect 5|}}}
    |Number of Slots = {{{Number of Slots|}}}
    |Slot 1 = {{{Slot 1|}}}
    |Slot 2 = {{{Slot 2|}}}
    |Slot 3 = {{{Slot 3|}}}
    |Slot 4 = {{{Slot 4|}}}
    |Slot 5 = {{{Slot 5|}}}
    |Characteristic 1 = {{{Characteristic 1|}}}
    |Characteristic 2 = {{{Characteristic 2|}}}
    |Characteristic 3 = {{{Characteristic 3|}}}
    |Characteristic 4 = {{{Characteristic 4|}}}
    |Characteristic 5 = {{{Characteristic 5|}}}
    |Item Description = {{{Item Description|}}}
    |Special Skill = {{{Special Skill|}}}
    |Set Bonus = {{{Set Bonus|}}}
    |Modification Material = {{{Modification Material|}}}
    |Modification Bonus = {{{Modification Bonus|}}}
    |Modification Target = {{{Modification Target|}}}
    |Sale = {{{Sale|}}}
    |Location = {{{Location|}}}
    |Additional Notes= {{{Additional Notes|}}}
  }}
}}</includeonly><noinclude>
=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.


Default View:- <nowiki>{{:User:Sesshou/ItemExample}}</nowiki>
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).


{{:User:Sesshou/ItemExample}}
=How to use=


IngameView:- <nowiki>{{:User:Sesshou/ItemExample|view=ingame}}</nowiki>
Simply create a new item page, then copy / paste the following text:
<pre>
<!--Please do not add anything above this line-->{{Item |View = {{{View}}}
|PageName              =
|Name                      =
|Picture                    =
|LargePicture            =
<!-- Basic Info -->
|Type                      =
|Maximum Stack      =
|Sex                  =
|Affinity                    =
|Level Limit              =
|Alignment                =
|Tradable                  = Yes
|PVP Only                = No
<!-- Armor -->
|Physical Defense      =
|Magic Defense        =
<!-- Weapon -->
|Melee            =
|Ranged            =
|Spell                      =
|Auxiliary                  =
|Critical Occurrence                    =
<!-- 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 Fusions    = Yes
<!-- Demon Force -->
|DF Effect 1 =
|DF Effect 2 =
|DF Effect 3 =
|DF Effect 4 =
|DF Effect 5 =
<!-- 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    =
|Modification Target =
<!-- Explanation -->
|Item Description      =
<!-- Notes -->
|Sale                  =
|Location              =
|Additional Notes  =
}}<!--Please do add anything below this -->
</pre>
Hopefully the above parameters should mostly be clear. A few clarifications / tips:


{{:User:Sesshou/ItemExample|view=ingame}}
* 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.
* Sex / Level Limit / Alignment refer to the limitations of the equipment. For example, Sex = 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


List View:- <nowiki>{{:User:Sesshou/ItemExample|view=list}}</nowiki>
=Example Uses=


{{:User:Sesshou/ItemExample|view=list}}
The following example usages are based on :User:Sesshou:ItemExample, which includes the following text:


Short View:- <nowiki>{{:User:Sesshou/ItemExample|view=short}}</nowiki>
<pre>
<!--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
|Sex                  =
|Affinity                    = Slash
|Level Limit              =
|Alignment                =
|Tradable                  = Yes
|PVP Only                = No
<!-- Armor -->
|Physical Defense      =
|Magic Defense        =
<!-- Weapon -->
|Melee            = +29
|Ranged            =
|Spell                      = +34
|Auxiliary                  = +25
|Critical Occurrence                  = +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 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.


{{:User:Sesshou/ItemExample|view=short}}
Reduces any skill cost that reduces you MP by 20%.
<!-- Notes -->
|Sale                  =
|Location              =
|Additional Notes  =
}}<!-- Please do not add anything below this -->
</pre>


==Default View design==
==Only the icon==
'''<nowiki>{{:User:Sesshou/ItemExample|View=icon}}</nowiki>'''


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.
{{:User:Sesshou/ItemExample|View=icon}}
 
==Default View==
{{main|Template:Item/DefaultView}}
 
[[User:Sesshou/ItemExample]]
 
==Short View==
{{main|Template:Item/ShortView}}
 
'''<nowiki>{{:User:Sesshou/ItemExample|View=short}}</nowiki>'''
 
{{:User:Sesshou/ItemExample|View=short}}
 
==IngameView==
{{main|Template:Item/IngameView}}
 
'''<nowiki>{{:User:Sesshou/ItemExample|View=ingame}}</nowiki>'''
 
{{:User:Sesshou/ItemExample|View=ingame}}
 
==ListBasic View==
{{main|Template:Item/ListBasicView}}
 
'''<nowiki>{|...
|-
{{:User:Sesshou/ItemExample|View=listBasic}}
|}</nowiki>'''
 
{|  style="font-size: 95%; text-align: center; border-collapse: collapse;" cellpadding="1" border="1" id="mttable"
|- height="50px" id="header"
!height="40px" width="33px"| Icon
!width="150px"| Name
!width="60px"| Stack
!width="60px"| Usage
!width="630px"| Description
!width="450px"| How to Get
{{:User:Sesshou/ItemExample|View=listBasic}}
|}
 
==ListClothing View==
{{main|Template:Item/ListClothingView}}
'''<nowiki>{| |- {{:User:Sesshou/ItemExample|View=listClothing}} |}</nowiki>'''


==Short View design==
{|  style="font-size: 95%; text-align: center; border-collapse: collapse;" cellpadding="1" border="1" id="mttable"
|- height="50px" id="header"
!width="34px"| Icon
!width="120px"| Item Name
!width="50px"| Sex
!width="55px"| PHYS DEF
!width="55px"| MAG DEF
!width="55px"| Durable
!width="55px"| Spiritual Mixing
!width="55px"| Tarot Fusions
!width="55px"| Soul Fusions
! Description
! width="320px"| Additional Effect
! width="205px"| How to Get
{{:User:Sesshou/ItemExample|View=listClothing}}
|}


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]]).
==ListWeapon View==
{{main|Template:Item/ListWeaponView}}
'''<nowiki>{| |- {{:User:Sesshou/ItemExample|View=listWeapon}} |}</nowiki>'''


==Ingame View design==
{|  style="font-size: 95%; text-align: center; border-collapse: collapse;" cellpadding="1" border="1" id="mttable"
|- height="50px" id="header"
!width="34px"| Icon
!width="115px"| Item Name
!width="65px"| Affinity
!width="45px"| CLS-R LNG-R
!width="45px"| SPL
!width="45px"| SPT
!width="45px"| CRT
! Durable
!width="50px"| Spiritual Mixing
!width="50px"| Tarot Fusions
!width="50px"| Soul Fusions
! Slots
! Description
! width="220px"| Additional Effect
! width="190px"| How to Get
|-
{{:User:Sesshou/ItemExample|View=listWeapon}}
|}


I will be using the previous Templates for this view... probably mostly ItemSI, the majority of the credit goes to the authors of Item Template, adreamofcold for ItemSI and AnnanFay for below.
=Default View design=


<div style="width:286px; height:562px; position:relative;">
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.
[[File:Item-background.png]]
<div class="item-detail" style="width:100%; height:100%; position:absolute; top:0; left:0; color:white; font-size:10px;">
<div class="temp-padding" style="width:100%; height:60px;"></div>
<div class="basic-info"          style="width:100%; height:38px;  margin-top:11px;">test</div>
<div class="basic-feaures"      style="width:100%; height:110px;margin-top:11px;">test</div>
<div class="enchant-info"      style="width:100%; height:38px;  margin-top:11px;">test</div>
<div class="modification-slot" style="width:100%; height:62px;  margin-top:11px;">test</div>
<div class="characteristics"    style="width:100%; height:62px;  margin-top:11px;">test</div>
<div class="explanation"        style="width:100%; height:109px;margin-top:11px;overflow:auto;">
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%.
=Short View design=


Blah Blah Blah
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]]).


Blah Blah Blah
=Ingame View design=


Blah Blah Blah
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.
</div>
</div>
</div>


</noinclude>
</noinclude>

Latest revision as of 17:58, 27 January 2024

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       =
|Sex                   =
|Affinity                    =
|Level Limit               =
|Alignment                =
|Tradable                  = Yes
|PVP Only                 = No
<!-- Armor -->
|Physical Defense      =
|Magic Defense         =
<!-- Weapon -->
|Melee            =
|Ranged             =
|Spell                       =
|Auxiliary                   =
|Critical Occurrence                    =
<!-- 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 Fusions     = Yes
<!-- Demon Force -->
|DF Effect 1 =
|DF Effect 2 =
|DF Effect 3 =
|DF Effect 4 =
|DF Effect 5 =
<!-- 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     =
|Modification Target =
<!-- 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.
  • Sex / Level Limit / Alignment refer to the limitations of the equipment. For example, Sex = 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
|Sex                   =
|Affinity                    = Slash
|Level Limit               =
|Alignment                =
|Tradable                  = Yes
|PVP Only                 = No
<!-- Armor -->
|Physical Defense      =
|Magic Defense         =
<!-- Weapon -->
|Melee            = +29
|Ranged             =
|Spell                       = +34
|Auxiliary                   = +25
|Critical Occurrence                   = +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 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}}


http://dl.dropbox.com/u/74289761/megaten/2/2a/Pachipachiou-small.png

Default View

Main article: Template:Item/DefaultView

User:Sesshou/ItemExample

Short View

Main article: Template:Item/ShortView

{{:User:Sesshou/ItemExample|View=short}}


http://dl.dropbox.com/u/74289761/megaten/2/2a/Pachipachiou-small.png 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}}


Type: 1-Handed Sword
Affinity: Slash


Spell: +34
Durability: [50]
Spiritual Mixing: Yes
Tarot Fusions: Yes
Slot 1: -
Slot 2: -
Slot 3: -


  • -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%.

[Modification Material] SLA ATK 2
Bonus: Slash Attack Power Up 10%

ListBasic View

Main article: Template:Item/ListBasicView

{|... |- {{:User:Sesshou/ItemExample|View=listBasic}} |}

http://dl.dropbox.com/u/74289761/megaten/2/2a/Pachipachiou-small.png 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}} |}

http://dl.dropbox.com/u/74289761/megaten/2/2a/Pachipachiou-small.png Pachipachiou - - - 50 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%.

  • -20% MP Cost for all Skills

ListWeapon View

Main article: Template:Item/ListWeaponView

{| |- {{:User:Sesshou/ItemExample|View=listWeapon}} |}

http://dl.dropbox.com/u/74289761/megaten/2/2a/Pachipachiou-small.png Pachipachiou Slash +34 {{{Support}}} {{{Critical}}} 50 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%.

  • -20% MP Cost for all Skills

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.