Difference between revisions of "Template:API-preload"

From RobotX
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - "<tvar|(.*)>" to "")
 
Line 1: Line 1:
<includeonly><!-- {{MW 1.17}} -->{{API}}
+
{{API}}
 
{{API-head
 
{{API-head
 
|prefix=xx
 
|prefix=xx
 
|rrights=None
 
|rrights=None
 
|postonly=No
 
|postonly=No
|description=<nowiki>Description</nowiki>
+
 
 
}}
 
}}
  
 
== Parameters ==
 
== Parameters ==
* {{param|example}} – <nowiki>Explaination about xxexample</nowiki>.
+
.
  
 
== Error Codes ==
 
== Error Codes ==
* '''exampleerror''' – <nowiki>Human-readable title of the error</nowiki>.
+
.
  
 
== Example ==
 
== Example ==
Line 20: Line 20:
 
| p3=xxexample=foobar
 
| p3=xxexample=foobar
 
| p4=xxprop=johndoe
 
| p4=xxprop=johndoe
| result=<source lang="xml">
+
 
<?xml version="1.0"?>
+
 
<api>
+
 
</api>
+
 
</source>}}
+
}}
  
 
<!--
 
<!--
 
  Category here.
 
  Category here.
 
  For example: [[Category:MediaWiki API query lists|{{PAGENAME}}]]
 
  For example: [[Category:MediaWiki API query lists|{{PAGENAME}}]]
-->[[Category:Uncategorized API documentation pages|{{PAGENAME}}]]</includeonly><noinclude>
+
 
 
Used in [[Template:API-addnew]] to create a basic layout for new pages.
 
Used in [[Template:API-addnew]] to create a basic layout for new pages.
[[Category:API templates]]</noinclude>
 

Latest revision as of 15:26, 21 December 2019


{{#switch: | =

{{Sidebar | style = background: white; padding:10px; padding-right:13px; margin:5px 0 5px 12px; width: 350px; | name = API | above =

| title = MediaWiki Action API | image = | headingstyle = font-size: 130%; padding: .5em; | contentstyle = text-align: left; font-size: 14px; padding: .5em; line-height: 1.5; | abovestyle = text-align: left;

| content1 =

Basics
Authentication
Accounts and Users
Page Operations
Search
Developer Utilities
Tutorials


| #default=

Parameters

.

Error Codes

.

Example

Description of the example query