Difference between revisions of "Template:Modarg"
From DoomRL Wiki
Game Hunter (Talk | contribs) (added a whole crapload of links) |
Game Hunter (Talk | contribs) m (maybe something else) |
||
Line 11: | Line 11: | ||
| {{#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}}}|ExplosionFlag}}|{{{1}}} }} = '''[[Modding:Constants#ExplosionFlag|{{{1}}}]]''' | | {{#if: {{#pos:{{{1}}}|ExplosionFlag}}|{{{1}}} }} = '''[[Modding:Constants#ExplosionFlag|{{{1}}}]]''' | ||
| {{#if: {{#pos:{{{1}}}|Item Flag}} |{{{1}}} }} = '''[[Modding:Constants#Item Flags|{{{1}}}]]''' | | {{#if: {{#pos:{{{1}}}|Item Flag}} |{{{1}}} }} = '''[[Modding:Constants#Item Flags|{{{1}}}]]''' | ||
Line 17: | Line 16: | ||
| {{#if: {{#pos:{{{1}}}|Level Flag}} |{{{1}}} }} = '''[[Modding:Constants#Level Flags|{{{1}}}]]''' | | {{#if: {{#pos:{{{1}}}|Level Flag}} |{{{1}}} }} = '''[[Modding:Constants#Level Flags|{{{1}}}]]''' | ||
| {{#if: {{#pos:{{{1}}}|Flag}} |{{{1}}} }} = '''[[Modding:Constants#Flags|{{{1}}}]]''' | | {{#if: {{#pos:{{{1}}}|Flag}} |{{{1}}} }} = '''[[Modding:Constants#Flags|{{{1}}}]]''' | ||
− | |||
| {{#if: {{#pos:{{{1}}}|ItemType}}|{{{1}}} }} = '''[[Modding:Constants#ItemType|{{{1}}}]]''' | | {{#if: {{#pos:{{{1}}}|ItemType}}|{{{1}}} }} = '''[[Modding:Constants#ItemType|{{{1}}}]]''' | ||
| {{#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}}}|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}}}]]''' |
Revision as of 20:33, 26 January 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:
If there are more links required, feel free to add a line to the template.