Deprecated: Use of ParserOutput::getProperty was deprecated in MediaWiki 1.38. [Called from MediaWiki\Skin\Cosmos\CosmosHooks::onOutputPageParserOutput in /var/www/html/doc/skins/Cosmos/includes/CosmosHooks.php at line 81] in /var/www/html/doc/includes/debug/MWDebug.php on line 377
MediaWiki:Api-help-templatedparams - PhenixOps
Anonymous
×
Create a new article
Write your page title here:
We currently have 27 articles on PhenixOps. Type your article name above or click on one of the titles below and start writing!



PhenixOps
27Articles

MediaWiki:Api-help-templatedparams

Templated parameters support cases where an API module needs a value for each value of some other parameter. For example, if there were an API module to request fruit, it might have a parameter fruits to specify which fruits are being requested and a templated parameter {fruit}-quantity to specify how many of each fruit to request. An API client that wants 1 apple, 5 bananas, and 20 strawberries could then make a request like fruits=apples|bananas|strawberries&apples-quantity=1&bananas-quantity=5&strawberries-quantity=20.