Difference between revisions of "Template:Modarg"

From DoomRL Wiki

Jump to: navigation, search
Line 19: Line 19:
 
   | {{#if: {{#pos:{{{1}}}|ItemSet}}      |{{{1}}} }} =  '''[[Modding:ItemSet|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|ItemSet}}      |{{{1}}} }} =  '''[[Modding:ItemSet|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Item}}        |{{{1}}} }} =  '''[[Modding:Item|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Item}}        |{{{1}}} }} =  '''[[Modding:Item|{{{1}}}]]'''
 +
  | {{#if: {{#pos:{{{1}}}|item}}        |{{{1}}} }} =  '''[[Modding:item|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Affect}}      |{{{1}}} }} =  '''[[Modding:Affect|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Affect}}      |{{{1}}} }} =  '''[[Modding:Affect|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|AltReload}}    |{{{1}}} }} =  '''[[Modding:Constants#AltReload|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|AltReload}}    |{{{1}}} }} =  '''[[Modding:Constants#AltReload|{{{1}}}]]'''
Line 25: Line 26:
 
   | {{#if: {{#pos:{{{1}}}|Badge}}        |{{{1}}} }} =  '''[[Modding:Badge|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Badge}}        |{{{1}}} }} =  '''[[Modding:Badge|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Being}}        |{{{1}}} }} =  '''[[Modding:Being|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Being}}        |{{{1}}} }} =  '''[[Modding:Being|{{{1}}}]]'''
 +
  | {{#if: {{#pos:{{{1}}}|being}}        |{{{1}}} }} =  '''[[Modding:being|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Color}}        |{{{1}}} }} =  '''[[Modding:Constants#Colors|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Color}}        |{{{1}}} }} =  '''[[Modding:Constants#Colors|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Coord}}        |{{{1}}} }} =  '''[[Modding:Coord|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Coord}}        |{{{1}}} }} =  '''[[Modding:Coord|{{{1}}}]]'''

Revision as of 19:33, 22 December 2012

Whenever an input or output argument is required for an API function, one should use {{modarg|arg}} to express it. This also handles cases where links are required. Some examples:

  • {{modarg|integer}} → integer
  • {{modarg|Being}} → Being
  • {{modarg|CoordList}} → CoordList

If there are more links required, feel free to add a line to the template. {{{1}}}

Personal tools