Difference between revisions of "Template:ApiParam"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (Text replacement - "<tvar|1>" to "") |
Joelmartin (talk | contribs) m (Text replacement - "<tvar|2>" to "") |
||
Line 3: | Line 3: | ||
</noinclude><includeonly>{{#switch:<!-- | </noinclude><includeonly>{{#switch:<!-- | ||
-->| =<!-- | -->| =<!-- | ||
− | --><code {{#if:{{{required|}}}|style="font-weight:bold"}} {{#if:{{{id|{{{1|{{{name|}}}}}}}}}|id="{{{id|{{{1|{{{name}}}}}}}}}"}}>{{{1|{{{name|}}}}}}</code>{{#if:{{{2|{{{description|}}}}}}|: {{{2|{{{description|}}}}}}}}{{#if:{{{maxallowed|}}}|  No more than {{{maxallowed}}} ( | + | --><code {{#if:{{{required|}}}|style="font-weight:bold"}} {{#if:{{{id|{{{1|{{{name|}}}}}}}}}|id="{{{id|{{{1|{{{name}}}}}}}}}"}}>{{{1|{{{name|}}}}}}</code>{{#if:{{{2|{{{description|}}}}}}|: {{{2|{{{description|}}}}}}}}{{#if:{{{maxallowed|}}}|  No more than {{{maxallowed}}} ({{#if:{{{maxallowedbot|}}}|{{{maxallowedbot}}}|{{#switch:{{{maxallowed}}}|50=500|500=5000}}}} for bots) allowed.}}{{#if:{{{type|}}}| ''' Type:''' {{{type}}}}}{{#if:{{{values|}}}|  Possible values: {{{values}}}}}{{#if:{{{default|}}}| ( Default: {{{default}}})}}{{#if:{{{version|}}}| {{MW version-inline|{{#switch:{{#if:{{{removed|}}}|R}} |
|={{{version}}}+ | |={{{version}}}+ | ||
|R={{{version}}}-{{{removed}}} | |R={{{version}}}-{{{removed}}} |
Latest revision as of 19:19, 21 December 2019

- Consider replacing invocations of this template with Special:ApiHelp transclusion (<tvar