Module:ItemData/nav/doc: Difference between revisions

m Reverted edit by Gammaton32 (talk) to last revision by Sur
Tag: Rollback
Undo revision 24590 by Gammaton32 (talk) restored
Tag: Undo
Line 11: Line 11:
* '''slot''' - Slot/category that the items should be, should be Weapon, Armor, or Tech
* '''slot''' - Slot/category that the items should be, should be Weapon, Armor, or Tech
* '''min_souls''' - Minimum souls that the items should have
* '''min_souls''' - Minimum souls that the items should have
* '''max_souls''' - Maximum souls that the items should have
* '''max_souls''' - Maximum souls that the items should have ('''Note:''' the command does not include items ''equal to'' this value, so in order to include them it should be written as <code>cost + 1</code>)
* '''debug_mode''' - (OPTIONAL) - if set to 'true', the wikitext is unprocessed, allowing for it to be read more clearly. Also used for showcasing the documentation examples more clearly.
* '''debug_mode''' - (OPTIONAL) - if set to 'true', the wikitext is unprocessed, allowing for it to be read more clearly. Also used for showcasing the documentation examples more clearly.


===Examples===
===Examples===
With debug_mode on (for illustration purposes)
With debug_mode on (for illustration purposes)
<code><nowiki>{{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3000|debug_mode=true}}</nowiki></code>
<code><nowiki>{{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3001|debug_mode=true}}</nowiki></code>


{{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3000|debug_mode=true}}
{{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3001|debug_mode=true}}




With debug_mode off
With debug_mode off
<code><nowiki>{{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3000}}</nowiki></code>
<code><nowiki>{{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3001}}</nowiki></code>


{{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3000}}
{{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3001}}


==get_item_nav_cards==
==get_item_nav_cards==