Changes

Jump to navigation Jump to search
update links
Line 4: Line 4:     
== Template parameters ==
 
== Template parameters ==
* <tt>command</tt> - The command name; if it has aliases, separate with commas. Clearest name should be listed first.
+
* <samp>command</samp> - The command name; if it has aliases, separate with commas. Clearest name should be listed first.
* <tt>params</tt> - Any parameters, separated by commas. Use the [[Template:T/doc|T template]] for required parameters and [[Template:O/doc|O template]] for optional ones. If there are no parameters, the ''Syntax'' line will not be printed.
+
* <samp>params</samp> - Any parameters, separated by commas. Use the [[Template:T/doc|T template]] for required parameters and [[Template:O/doc|O template]] for optional ones. If there are no parameters, the ''Syntax'' line will not be printed.
* <tt>desc</tt> - The full description.
+
* <samp>desc</samp> - The full description.
* <tt>example</tt> - Any examples, separated by semi-colons. These should include the full command (including "debug") in a code block along with a description of the expected result.
+
* <samp>example</samp> - Any examples, separated by semi-colons. These should include the full command (including "debug") in a code block along with a description of the expected result.
    
== Examples: ==
 
== Examples: ==
Line 71: Line 71:  
   |command = bigitem,big,bi,b
 
   |command = bigitem,big,bi,b
 
   |params  = {{t|I:itemID}}
 
   |params  = {{t|I:itemID}}
   |desc    = Adds the specified craftable to your inventory. See [[Modding:Big craftables data|big craftables data]] for a list of base game IDs.
+
   |desc    = Adds the specified craftable to your inventory. See [[Modding:Items|big craftables data]] for a list of base game IDs.
 
   |example = <code>debug bigitem 12</code> would give you a [[keg]].
 
   |example = <code>debug bigitem 12</code> would give you a [[keg]].
 
}}</pre>
 
}}</pre>
Line 84: Line 84:  
   |command = bigitem,big,bi,b
 
   |command = bigitem,big,bi,b
 
   |params  = {{t|I:itemID}}
 
   |params  = {{t|I:itemID}}
   |desc    = Adds the specified craftable to your inventory. See [[Modding:Big craftables data|big craftables data]] for a list of base game IDs.
+
   |desc    = Adds the specified craftable to your inventory. See [[Modding:Items|big craftables data]] for a list of base game IDs.
 
   |example = <code>debug bigitem 12</code> would give you a [[keg]].
 
   |example = <code>debug bigitem 12</code> would give you a [[keg]].
 
}}
 
}}
Line 94: Line 94:  
   |params  = {{t|S:itemName}},{{o|I:amount}},{{o|I:quality}}
 
   |params  = {{t|S:itemName}},{{o|I:amount}},{{o|I:quality}}
 
   |desc    = Adds the specified item to your inventory. This is a fuzzy search and the game will look through objects, craftables, furniture, weapons, boots, hats, and clothes to match it. There is no reliable way to use names with spaces or differentiate items with the same name, so not all items can be accessed with this command. The optional parameters are for stack amount (defaults is 1) and quality (default is 0.)
 
   |desc    = Adds the specified item to your inventory. This is a fuzzy search and the game will look through objects, craftables, furniture, weapons, boots, hats, and clothes to match it. There is no reliable way to use names with spaces or differentiate items with the same name, so not all items can be accessed with this command. The optional parameters are for stack amount (defaults is 1) and quality (default is 0.)
   |example = <code>debug fuzzyitemnamed sturg 5 4</code> would give you a stack of five Iridium-quality [[Sturgeon]].; <code>debug fin galaxy</code> would give you a [[Galaxy Sword]].; <code>debug f grief</code> would give you a [[Shirts|"Good Grief" Shirt]].
+
   |example = <code>debug fuzzyitemnamed sturg 5 4</code> would give you a stack of five Iridium-quality [[Sturgeon]].; <code>debug fin galaxy</code> would give you a [[Galaxy Sword]].; <code>debug f grief</code> would give you a [[Tailoring#Shirts|"Good Grief" Shirt]].
 
}}</pre>
 
}}</pre>
   Line 107: Line 107:  
   |params  = {{t|S:itemName}},{{o|I:amount}},{{o|I:quality}}
 
   |params  = {{t|S:itemName}},{{o|I:amount}},{{o|I:quality}}
 
   |desc    = Adds the specified item to your inventory. This is a fuzzy search and the game will look through objects, craftables, furniture, weapons, boots, hats, and clothes to match it. There is no reliable way to use names with spaces or differentiate items with the same name, so not all items can be accessed with this command. The optional parameters are for stack amount (defaults is 1) and quality (default is 0.)
 
   |desc    = Adds the specified item to your inventory. This is a fuzzy search and the game will look through objects, craftables, furniture, weapons, boots, hats, and clothes to match it. There is no reliable way to use names with spaces or differentiate items with the same name, so not all items can be accessed with this command. The optional parameters are for stack amount (defaults is 1) and quality (default is 0.)
   |example = <code>debug fuzzyitemnamed sturg 5 4</code> would give you a stack of five Iridium-quality [[Sturgeon]].; <code>debug fin galaxy</code> would give you a [[Galaxy Sword]].; <code>debug f grief</code> would give you a [[Shirts|"Good Grief" Shirt]].
+
   |example = <code>debug fuzzyitemnamed sturg 5 4</code> would give you a stack of five Iridium-quality [[Sturgeon]].; <code>debug fin galaxy</code> would give you a [[Galaxy Sword]].; <code>debug f grief</code> would give you a [[Tailoring#Shirts|"Good Grief" Shirt]].
 
}}
 
}}
 
|}
 
|}
Line 119: Line 119:  
<!-- new row with anchor -->
 
<!-- new row with anchor -->
 
|- id="{{anchorencode:{{#arrayindex:com_list|0}}}}"
 
|- id="{{anchorencode:{{#arrayindex:com_list|0}}}}"
<!-- print command and aliases in <tt>, one per line -->
+
<!-- print command and aliases in <samp>, one per line -->
|<tt>{{#arrayprint:com_list|,<br/>}}</tt>
+
|<samp>{{#arrayprint:com_list|,<br />}}</samp>
 
||
 
||
 
<!-- Next syntax, if necessary -->
 
<!-- Next syntax, if necessary -->
Line 134: Line 134:  
|-
 
|-
 
</includeonly>
 
</includeonly>
<noinclude>[[Category:Modding]]</noinclude>
+
<noinclude>[[Category:Modding]]
 +
[[ru:Модификации:Команды для отладки/cmd]]</noinclude>
105,686

edits

Navigation menu