Line 6: |
Line 6: |
| <th {{Databox-head}}>{{{module|{{BASEPAGENAME}}}}}</th> | | <th {{Databox-head}}>{{{module|{{BASEPAGENAME}}}}}</th> |
| </tr><tr> | | </tr><tr> |
− | <td colspan="2" style="text-align:center; padding:0.3em; font-style:italic">{{{description|}}}{{#switch: {{{generator|}}} |#default=<br /><small><!--T:1--> This module cannot be used as a <tvar|generator>{{ll|API:generator|nsp=0}}</>.</small>|yes=<br /><small><!--T:2--> This module can be used as a <tvar|generator>{{ll|API:generator|nsp=0}}</>.</small>}}</td> | + | <td colspan="2" style="text-align:center; padding:0.3em; font-style:italic">{{{description|}}}{{#switch: {{{generator|}}} |#default=<br /><small> This module cannot be used as a <tvar|generator>{{ll|API:generator|nsp=0}}</>.</small>|yes=<br /><small> This module can be used as a <tvar|generator>{{ll|API:generator|nsp=0}}</>.</small>}}</td> |
| </tr><tr> | | </tr><tr> |
− | <th><!--T:3--> Prefix</th> | + | <th> Prefix</th> |
− | <td>{{#switch: {{lc:{{{prefix|none}}}}} |none=''<!--T:4--> none'' |#default={{{prefix}}} }}</td> | + | <td>{{#switch: {{lc:{{{prefix|none}}}}} |none='' none'' |#default={{{prefix}}} }}</td> |
| </tr><tr> | | </tr><tr> |
− | <th><!--T:5--> Required rights</th> | + | <th> Required rights</th> |
− | <td>{{#switch: {{lc:{{{rrights|none}}}}} |none=''<!--T:6--> none'' |#default={{{rrights}}} }}</td> | + | <td>{{#switch: {{lc:{{{rrights|none}}}}} |none='' none'' |#default={{{rrights}}} }}</td> |
| </tr><tr> | | </tr><tr> |
− | <th><!--T:7--> Post only?</th> | + | <th> Post only?</th> |
− | <td>{{#switch: {{lc:{{{postonly|no}}}}} |no=<!--T:8--> No |#default=<!--T:9--> Yes }}</td> | + | <td>{{#switch: {{lc:{{{postonly|no}}}}} |no= No |#default= Yes }}</td> |
| </tr><tr> | | </tr><tr> |
− | <th><!--T:12--> Generated help</th> | + | <th> Generated help</th> |
− | <td>[//{{{site|www.mediawiki.org}}}/w/api.php?action=help&modules={{#ifeq: {{lc:{{{query|{{{generator|}}}}}}}} | yes |query+}}{{lc:{{{module|{{IfNotTranslation|{{PAGENAMEE}}|{{BASEPAGENAMEE}}}}}}}}} <!--T:13--> Current]</td> | + | <td>[//{{{site|www.mediawiki.org}}}/w/api.php?action=help&modules={{#ifeq: {{lc:{{{query|{{{generator|}}}}}}}} | yes |query+}}{{lc:{{{module|{{IfNotTranslation|{{PAGENAMEE}}|{{BASEPAGENAMEE}}}}}}}}} Current]</td> |
| {{#if:{{{version|}}}| | | {{#if:{{{version|}}}| |
| </tr><tr> | | </tr><tr> |
− | <th><!--T:14--> Version added</th> | + | <th> Version added</th> |
| <td>{{MW version|version={{{version|?}}}|compact=yes|comment=and after}}</td> | | <td>{{MW version|version={{{version|?}}}|compact=yes|comment=and after}}</td> |
| }} | | }} |
Line 35: |
Line 35: |
| | | |
| | | |
− | == Usage == <!--T:10--> | + | == Usage == |
| | | |
| {{clear}} | | {{clear}} |
Line 42: |
Line 42: |
| See also {{tl|ApiEx}} which transcludes the generated API documentation | | See also {{tl|ApiEx}} which transcludes the generated API documentation |
| | | |
− | == Examples == <!--T:11--> | + | == Examples == |
| | | |
| {{API-head|templatemode=nocat | | {{API-head|templatemode=nocat |