Difference between revisions of "Template:Modarg"
From DoomRL Wiki
Game Hunter (Talk | contribs) m (ugh) |
Game Hunter (Talk | contribs) m (let's try uncommenting it) |
||
Line 6: | Line 6: | ||
If there are more links required, feel free to add a line to the template. | If there are more links required, feel free to add a line to the template. | ||
</noinclude> | </noinclude> | ||
− | |||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
| {{#if: {{#pos:{{{1}}}|Cell Flags}} |{{{1}}} }} = '''[[Modding:Constants#Cell Flags|{{{1}}}]]''' | | {{#if: {{#pos:{{{1}}}|Cell Flags}} |{{{1}}} }} = '''[[Modding:Constants#Cell Flags|{{{1}}}]]''' | ||
Line 39: | Line 38: | ||
| '''{{{1}}}''' | | '''{{{1}}}''' | ||
}} | }} | ||
− |
Revision as of 01:11, 27 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.
{{{1}}}