Changes
Updating to match new version of source page
<noinclude>
<languages/>
</noinclude><includeonly>{{#switch:
| =
{{{desc|}}}
<div class="plainlinks" style="margin-bottom: 0.3em"><!--
-->'''[https://{{{site|{{{lang|en}}}.wikipedia.org}}}/w/api.php?<!--
-->{{{p1|}}}<!--
-->{{#if:{{{p2|}}}|&{{{p2}}}}}<!--
-->{{#if:{{{p3|}}}|&{{{p3}}}}}<!--
-->{{#if:{{{p4|}}}|&{{{p4}}}}}<!--
-->{{#if:{{{p5|}}}|&{{{p5}}}}}<!--
-->{{#if:{{{p6|}}}|&{{{p6}}}}}<!--
-->{{#if:{{{p7|}}}|&{{{p7}}}}}<!--
-->{{#if:{{{p8|}}}|&{{{p8}}}}}<!--
-->{{#if:{{{p9|}}}|&{{{p9}}}}}<!--
--> api.php<span style="margin:0 0.5em">?</span><wbr /><!--
-->{{{p1|}}}<!--
-->{{#if:{{{p2|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p2}}}}}<!--
-->{{#if:{{{p3|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p3}}}}}<!--
-->{{#if:{{{p4|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p4}}}}}<!--
-->{{#if:{{{p5|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p5}}}}}<!--
-->{{#if:{{{p6|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p6}}}}}<!--
-->{{#if:{{{p7|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p7}}}}}<!--
-->{{#if:{{{p8|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p8}}}}}<!--
-->{{#if:{{{p9|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p9}}}}}<!--
-->]'''<!-- Now the optional (default on) link to ApiSandbox
* TODO: when T89229 is fixed there will be a message to "try in ApiSandbox" maybe this template could reuse it.
* TODO: don't show the link if the user doesn't have JavaScript, since ApiSandbox requires JS. Surely there's a pre-existing CSS style with display: none if .client-js
* I encoded the [ ] around "try in ApiSandbox"
-->{{#ifeq:{{{apisandbox|1}}}| 1 |<!--
--> [https://{{{site|{{{lang|en}}}.wikipedia.org}}}/wiki/Special:ApiSandbox#<!--
-->{{{p1|}}}<!--
-->{{#if:{{{p2|}}}|&{{{p2}}}}}<!--
-->{{#if:{{{p3|}}}|&{{{p3}}}}}<!--
-->{{#if:{{{p4|}}}|&{{{p4}}}}}<!--
-->{{#if:{{{p5|}}}|&{{{p5}}}}}<!--
-->{{#if:{{{p6|}}}|&{{{p6}}}}}<!--
-->{{#if:{{{p7|}}}|&{{{p7}}}}}<!--
-->{{#if:{{{p8|}}}|&{{{p8}}}}}<!--
-->{{#if:{{{p9|}}}|&{{{p9}}}}}<!--
--> [essayez dans ApiSandbox]]}}<!--
--></div><!--
-->{{#if:{{{post|}}}|{{#ifeq:{{{collapse|}}}|no||{{collapse top|Résultat}}}}
<table style="text-align:{{dir|{{pagelang}}|right|left}}; width:100%; margin:0.5em 0.2em; border-{{dir|{{pagelang}}|right|left}}:3px solid red">
<tr>
<td colspan="4" style="font-weight: bold; border-bottom: 1px solid gray;">Paramètres "Post"</td>
</tr><tr style="font-weight: bolder;">
<th style="width: 20%;">Nom du paramètre</th>
<th style="width: 20%;">Valeur</th>
<th style="width: 20%;">Valeur par défaut</th>
<th style="width: 40%;">Commentaire</th>
</tr>
{{{post|}}}
</table>
|{{#if:{{{result|}}}|{{#ifeq:{{{collapse|}}}|no||{{collapse top|Résultat|extrastyle=overflow:auto;}}}}}}
}}
{{{result|}}}
{{#if:{{{result|}}}{{{post|}}}|{{#ifeq:{{{collapse|}}}|no||{{collapse bottom }}}}}}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:ApiEx|noshift=1}}
}}</includeonly><noinclude>
{{documentation}}
[[Category:API templates{{#translation:}}]]
</noinclude>
<languages/>
</noinclude><includeonly>{{#switch:
| =
{{{desc|}}}
<div class="plainlinks" style="margin-bottom: 0.3em"><!--
-->'''[https://{{{site|{{{lang|en}}}.wikipedia.org}}}/w/api.php?<!--
-->{{{p1|}}}<!--
-->{{#if:{{{p2|}}}|&{{{p2}}}}}<!--
-->{{#if:{{{p3|}}}|&{{{p3}}}}}<!--
-->{{#if:{{{p4|}}}|&{{{p4}}}}}<!--
-->{{#if:{{{p5|}}}|&{{{p5}}}}}<!--
-->{{#if:{{{p6|}}}|&{{{p6}}}}}<!--
-->{{#if:{{{p7|}}}|&{{{p7}}}}}<!--
-->{{#if:{{{p8|}}}|&{{{p8}}}}}<!--
-->{{#if:{{{p9|}}}|&{{{p9}}}}}<!--
--> api.php<span style="margin:0 0.5em">?</span><wbr /><!--
-->{{{p1|}}}<!--
-->{{#if:{{{p2|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p2}}}}}<!--
-->{{#if:{{{p3|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p3}}}}}<!--
-->{{#if:{{{p4|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p4}}}}}<!--
-->{{#if:{{{p5|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p5}}}}}<!--
-->{{#if:{{{p6|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p6}}}}}<!--
-->{{#if:{{{p7|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p7}}}}}<!--
-->{{#if:{{{p8|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p8}}}}}<!--
-->{{#if:{{{p9|}}}|<span style="margin:0 0.5em">&</span><wbr />{{{p9}}}}}<!--
-->]'''<!-- Now the optional (default on) link to ApiSandbox
* TODO: when T89229 is fixed there will be a message to "try in ApiSandbox" maybe this template could reuse it.
* TODO: don't show the link if the user doesn't have JavaScript, since ApiSandbox requires JS. Surely there's a pre-existing CSS style with display: none if .client-js
* I encoded the [ ] around "try in ApiSandbox"
-->{{#ifeq:{{{apisandbox|1}}}| 1 |<!--
--> [https://{{{site|{{{lang|en}}}.wikipedia.org}}}/wiki/Special:ApiSandbox#<!--
-->{{{p1|}}}<!--
-->{{#if:{{{p2|}}}|&{{{p2}}}}}<!--
-->{{#if:{{{p3|}}}|&{{{p3}}}}}<!--
-->{{#if:{{{p4|}}}|&{{{p4}}}}}<!--
-->{{#if:{{{p5|}}}|&{{{p5}}}}}<!--
-->{{#if:{{{p6|}}}|&{{{p6}}}}}<!--
-->{{#if:{{{p7|}}}|&{{{p7}}}}}<!--
-->{{#if:{{{p8|}}}|&{{{p8}}}}}<!--
-->{{#if:{{{p9|}}}|&{{{p9}}}}}<!--
--> [essayez dans ApiSandbox]]}}<!--
--></div><!--
-->{{#if:{{{post|}}}|{{#ifeq:{{{collapse|}}}|no||{{collapse top|Résultat}}}}
<table style="text-align:{{dir|{{pagelang}}|right|left}}; width:100%; margin:0.5em 0.2em; border-{{dir|{{pagelang}}|right|left}}:3px solid red">
<tr>
<td colspan="4" style="font-weight: bold; border-bottom: 1px solid gray;">Paramètres "Post"</td>
</tr><tr style="font-weight: bolder;">
<th style="width: 20%;">Nom du paramètre</th>
<th style="width: 20%;">Valeur</th>
<th style="width: 20%;">Valeur par défaut</th>
<th style="width: 40%;">Commentaire</th>
</tr>
{{{post|}}}
</table>
|{{#if:{{{result|}}}|{{#ifeq:{{{collapse|}}}|no||{{collapse top|Résultat|extrastyle=overflow:auto;}}}}}}
}}
{{{result|}}}
{{#if:{{{result|}}}{{{post|}}}|{{#ifeq:{{{collapse|}}}|no||{{collapse bottom }}}}}}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:ApiEx|noshift=1}}
}}</includeonly><noinclude>
{{documentation}}
[[Category:API templates{{#translation:}}]]
</noinclude>