Difference between revisions of "Template:Modarg"
From DoomRL Wiki
Game Hunter (Talk | contribs) m (let's try uncommenting it) |
Game Hunter (Talk | contribs) m (test time!) |
||
Line 36: | Line 36: | ||
| {{#if: {{#pos:{{{1}}}|Room}} |{{{1}}} }} = '''[[Modding:Generator|{{{1}}}]]''' | | {{#if: {{#pos:{{{1}}}|Room}} |{{{1}}} }} = '''[[Modding:Generator|{{{1}}}]]''' | ||
| {{#if: {{#pos:{{{1}}}|Trait}} |{{{1}}} }} = '''[[Modding:Trait|{{{1}}}]]''' | | {{#if: {{#pos:{{{1}}}|Trait}} |{{{1}}} }} = '''[[Modding:Trait|{{{1}}}]]''' | ||
− | | | + | | <b>{{{1}}}</b> |
}} | }} |
Revision as of 19:18, 28 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}}}