Difference between revisions of "Template:Modarg"

From DoomRL Wiki

Jump to: navigation, search
Line 9: Line 9:
 
   | {{#if: {{#pos:{{{1}}}|Cellset}}      |{{{1}}} }} =  '''[[Modding:Constants#Cellsets|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Cellset}}      |{{{1}}} }} =  '''[[Modding:Constants#Cellsets|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Cell}}        |{{{1}}} }} =  '''[[Modding:Cell|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Cell}}        |{{{1}}} }} =  '''[[Modding:Cell|{{{1}}}]]'''
 +
  | {{#if: {{#pos:{{{1}}}|cell}}        |{{{1}}} }} =  '''[[Modding:cell|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|ExplosionFlag}}|{{{1}}} }} =  '''[[Modding:Constants#ExplosionFlag|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|ExplosionFlag}}|{{{1}}} }} =  '''[[Modding:Constants#ExplosionFlag|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Empty Flag}}  |{{{1}}} }} =  '''[[Modding:Constants#Empty Flags|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Empty Flag}}  |{{{1}}} }} =  '''[[Modding:Constants#Empty Flags|{{{1}}}]]'''
Line 24: Line 25:
 
   | {{#if: {{#pos:{{{1}}}|AltFire}}      |{{{1}}} }} =  '''[[Modding:Constants#AltFire|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|AltFire}}      |{{{1}}} }} =  '''[[Modding:Constants#AltFire|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Area}}        |{{{1}}} }} =  '''[[Modding:Area|{{{1}}}]]'''
 
   | {{#if: {{#pos:{{{1}}}|Area}}        |{{{1}}} }} =  '''[[Modding:Area|{{{1}}}]]'''
 +
  | {{#if: {{#pos:{{{1}}}|area}}        |{{{1}}} }} =  '''[[Modding:area|{{{1}}}]]'''
 
   | {{#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}}}]]'''

Revision as of 22:08, 23 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