Open main menu

Changes

1,997 bytes added ,  04:11, 19 February 2016
m
1 revision imported: All the templates from MediaWiki.com
<noinclude>
<languages/>
</noinclude>{| {{Databox-layout|style=margin:{{dir|{{pagelang}}|5px 12px 5px 0|5px 0 5px 12px}};}}
! {{Databox-head}}|{{{module|{{BASEPAGENAME}}}}}
|-
| colspan="2" style="text-align: center; padding: 0.3em; font-style: italic;" | {{{description|}}}{{#switch: {{{generator|}}} |#default=<br /><small>このモジュールは {{ll|API:generator|nsp=0}} としては使用できません。</small>|yes=<br /><small>このモジュールは {{ll|API:generator|nsp=0}} としては使用できます。</small>}}
|-
! 接頭辞
| {{#switch: {{lc:{{{prefix|none}}}}} |none=''なし'' |#default={{{prefix}}} }}
|-
! 必要な権限
| {{#switch: {{lc:{{{rrights|none}}}}} |none=''なし'' |#default={{{rrights}}} }}
|-
! POST のみ?
| {{#switch: {{lc:{{{postonly|no}}}}} |no=いいえ |#default=はい }}
|-
! Generated help
| [//{{{site|www.mediawiki.org}}}/w/api.php?action=help&modules={{#ifeq: {{lc:{{{query|{{{generator|}}}}}}}} | yes |query+}}{{lc:{{{module|{{IfNotTranslation|{{PAGENAMEE}}|{{BASEPAGENAMEE}}}}}}}}} 現行バージョン]
{{#if:{{{version|}}}|
{{!}}-
! 追加されたバージョン
{{!}} {{ {{TNTN|MW version}} |version={{{version|?}}}|compact=yes|comment=and after}}
}}
|}<noinclude>
<div class="toccolours">
== 使用法 ==
{{clear}}
Displays a box providing more information about an API module.

See also {{tl|ApiEx}} which transcludes the generated API documentation

== 例 ==
{{TNT|API-head
|version=1.11
|prefix=sr
|rrights=None
|postonly=No
|description=Perform a full text search
|generator=yes
}}
<pre>
{{TNT|API-head
|version=1.11
|prefix=sr
|rrights=None
|postonly=No
|description=Perform a full text search
|generator=yes
}}
</pre>
{{clear}}
{{TNT|API-head
|module=edit
|version=1.13
|prefix=
|rrights=edit
|postonly=Yes
|description=
|query=no
}}
<pre>
{{TNT|API-head
|module=edit
|version=1.13
|prefix=
|rrights=edit
|postonly=Yes
|description=
|query=no
}}
</pre>
{{clear}}
</div>
[[Category:API templates{{translation}}]]
</noinclude>