Difference between revisions of "Template:Item"

From Shin Megami Tensei IMAGINE Wiki
Jump to: navigation, search
(Including CSS file)
 
(60 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#switch: {{{view}}}
+
{{#css:Template:Item.css}}{{#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}}}}}}
  | #default =  
+
    |Name={{{Name}}}
<div style="width:286px; height:562px; position:relative;">
+
    | Item Description={{{Item Description|}}} |
http://dl.dropbox.com/u/74289761/megaten/4/4b/Item-background.png
+
    Picture={{#if: {{{Picture|}}} | {{{Picture}}} | [[File:Item-Icon {{{Name}}}.png|link=]] }}
 +
  }}
 +
  | listBasic = {{Template:Item/ListBasicView
 +
    |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|}}}
 +
    |Gender = {{{Gender|}}}
 +
    |Affinity = {{{Affinity|}}}
 +
    |Level Limit = {{{Level Limit|}}}
 +
    |Alignment = {{{Alignment|}}}
 +
    |Tradable = {{{Tradable|}}}
 +
    |PVP Only = {{{PVP Only|}}}
 +
    |Physical Defense = {{{Physical Defense|}}}
 +
    |Magic Defense = {{{Magic Defense|}}}
 +
    |Close-Range = {{{Close-Range|}}}
 +
    |Long-Range = {{{Long-Range|}}}
 +
    |Spell = {{{Spell|}}}
 +
    |Support = {{{Support|}}}
 +
    |Critical = {{{Critical|}}}
 +
    |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 Stone Fusions = {{{Soul Stone 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|}}}
 +
    |Gender = {{{Gender|}}}
 +
    |Affinity = {{{Affinity|}}}
 +
    |Level Limit = {{{Level Limit|}}}
 +
    |Alignment = {{{Alignment|}}}
 +
    |Tradable = {{{Tradable|}}}
 +
    |PVP Only = {{{PVP Only|}}}
 +
    |Physical Defense = {{{Physical Defense|}}}
 +
    |Magic Defense = {{{Magic Defense|}}}
 +
    |Close-Range = {{{Close-Range|}}}
 +
    |Long-Range = {{{Long-Range|}}}
 +
    |Spell = {{{Spell|}}}
 +
    |Support = {{{Support|}}}
 +
    |Critical = {{{Critical|}}}
 +
    |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 Stone Fusions = {{{Soul Stone 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|}}}
 +
    |Gender = {{{Gender|}}}
 +
    |Affinity = {{{Affinity|}}}
 +
    |Level Limit = {{{Level Limit|}}}
 +
    |Alignment = {{{Alignment|}}}
 +
    |Tradable = {{{Tradable|}}}
 +
    |PVP Only = {{{PVP Only|}}}
 +
    |Physical Defense = {{{Physical Defense|}}}
 +
    |Magic Defense = {{{Magic Defense|}}}
 +
    |Close-Range = {{{Close-Range|}}}
 +
    |Long-Range = {{{Long-Range|}}}
 +
    |Spell = {{{Spell|}}}
 +
    |Support = {{{Support|}}}
 +
    |Critical = {{{Critical|}}}
 +
    |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 Stone Fusions = {{{Soul Stone 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|}}}
 +
    |Gender = {{{Gender|}}}
 +
    |Affinity = {{{Affinity|}}}
 +
    |Level Limit = {{{Level Limit|}}}
 +
    |Alignment = {{{Alignment|}}}
 +
    |Tradable = {{{Tradable|}}}
 +
    |PVP Only = {{{PVP Only|}}}
 +
    |Physical Defense = {{{Physical Defense|}}}
 +
    |Magic Defense = {{{Magic Defense|}}}
 +
    |Close-Range = {{{Close-Range|}}}
 +
    |Long-Range = {{{Long-Range|}}}
 +
    |Spell = {{{Spell|}}}
 +
    |Support = {{{Support|}}}
 +
    |Critical = {{{Critical|}}}
 +
    |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 Stone Fusions = {{{Soul Stone 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|}}}
 +
    |Gender = {{{Gender|}}}
 +
    |Affinity = {{{Affinity|}}}
 +
    |Level Limit = {{{Level Limit|}}}
 +
    |Alignment = {{{Alignment|}}}
 +
    |Tradable = {{{Tradable|}}}
 +
    |PVP Only = {{{PVP Only|}}}
 +
    |Physical Defense = {{{Physical Defense|}}}
 +
    |Magic Defense = {{{Magic Defense|}}}
 +
    |Close-Range = {{{Close-Range|}}}
 +
    |Long-Range = {{{Long-Range|}}}
 +
    |Spell = {{{Spell|}}}
 +
    |Support = {{{Support|}}}
 +
    |Critical = {{{Critical|}}}
 +
    |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 Stone Fusions = {{{Soul Stone 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|}}}
 +
  }}
 +
}}</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.
  
<div class="item-detail" style="width:100%; height:100%; position:absolute; top:0; left:0; color:white; font-size:10px;">
+
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).
<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;">
+
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%.
+
=How to use=
</div>
+
</div>
+
}}
+
</includeonly><noinclude>
+
This is my experimentation at a multi-view item template.
+
  
Full credit goes to AnnanFay and ItemSI for the default view - which is designed to simulate the ingame version.
+
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      =
 +
|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 -->
 +
</pre>
 +
Hopefully the above parameters should mostly be clear. A few clarifications / tips:
  
Default View:- <nowiki>[:User:Sesshou/TemplateItem]</nowiki>
+
* 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
  
{{:User:Sesshou/TemplateItem}}
+
=Example Uses=
  
List View:- <nowiki>{{:User:Sesshou/TemplateItem|view=list}}</nowiki>
+
The following example usages are based on :User:Sesshou:ItemExample, which includes the following text:
  
{{:User:Sesshou/TemplateItem|view=list}}
+
<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
 +
|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.
  
Short View:- <nowiki>{{:User:Sesshou/TemplateItem|view=short}}</nowiki>
+
Reduces any skill cost that reduces you MP by 20%.
 +
<!-- Notes -->
 +
|Sale                  =
 +
|Location              =
 +
|Additional Notes  =
 +
}}<!-- Please do not add anything below this -->
 +
</pre>
  
{{:User:Sesshou/TemplateItem|view=short}}
+
==Only the icon==
 +
'''<nowiki>{{:User:Sesshou/ItemExample|View=icon}}</nowiki>'''
 +
 
 +
{{: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>'''
 +
 
 +
{|  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"| Gender
 +
!width="55px"| PHYS DEF
 +
!width="55px"| MAG DEF
 +
!width="55px"| Durable
 +
!width="55px"| Spiritual Mixing
 +
!width="55px"| Tarot Fusions
 +
!width="55px"| Soul Stone Fusions
 +
! Description
 +
! width="320px"| Additional Effect
 +
! width="205px"| How to Get
 +
{{:User:Sesshou/ItemExample|View=listClothing}}
 +
|}
 +
 
 +
==ListWeapon View==
 +
{{main|Template:Item/ListWeaponView}}
 +
'''<nowiki>{| |- {{:User:Sesshou/ItemExample|View=listWeapon}} |}</nowiki>'''
 +
 
 +
{|  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 Stone Fusions
 +
! Slots
 +
! Description
 +
! width="220px"| Additional Effect
 +
! width="190px"| How to Get
 +
|-
 +
{{:User:Sesshou/ItemExample|View=listWeapon}}
 +
|}
 +
 
 +
=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.
  
 
</noinclude>
 
</noinclude>

Latest revision as of 09:17, 30 September 2012

Contents

[edit] 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).

[edit] 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

[edit] 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 -->

[edit] Only the icon

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


Pachipachiou-small.png

[edit] Default View

Main article: Template:Item/DefaultView

User:Sesshou/ItemExample

[edit] Short View

Main article: Template:Item/ShortView

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


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

[edit] IngameView

Main article: Template:Item/IngameView

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


Pachipachiou-small.png
Pachipachiou
Item Pachipachiou.png
Type: 1-Handed Sword
Affinity: Slash


Melee: +29
Spell: +34
Support: +25
Critical Occurrence Factor: +8
Durability: [50]
Spiritual Mixing: Yes
Tarot Fusions: Yes
Soul Stone 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%

[edit] ListBasic View

Main article: Template:Item/ListBasicView

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

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

[edit] ListClothing View

Main article: Template:Item/ListClothingView

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

Pachipachiou-small.png 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%.

  • -20% MP Cost for all Skills

[edit] ListWeapon View

Main article: Template:Item/ListWeaponView

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

Pachipachiou-small.png 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%.

  • -20% MP Cost for all Skills

[edit] 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.

[edit] 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).

[edit] 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.


Personal tools