Difference between revisions of "Template:API-head/fa"

From RobotX
Jump to navigation Jump to search
Mediawiki>FuzzyBot
(Updating to match new version of source page)
 
m (Text replacement - "{{#translation:}}" to "")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
 
<languages/>
+
 
</noinclude>{{#switch:
+
{{#switch:
 
| =
 
| =
<table {{Databox-layout|style=margin:{{dir|{{pagelang}}|5px 12px 5px 0|5px 0 5px 12px}};}}><tr>
+
 
<th {{Databox-head}}>{{{module|{{BASEPAGENAME}}}}}</th>
+
 
</tr><tr>
+
 
<td 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>}}</td>
+
 
</tr><tr>
+
 
<th>پیشوند</th>
+
 
<td>{{#switch: {{lc:{{{prefix|none}}}}} |none=''هیچ‌کدام'' |#default={{{prefix}}} }}</td>
+
 
</tr><tr>
+
 
<th>نیازمند دسترسی است</th>
+
 
<td>{{#switch: {{lc:{{{rrights|none}}}}} |none=''هیچ‌کدام'' |#default={{{rrights}}} }}</td>
+
 
</tr><tr>
+
 
<th>فقط پست؟</th>
+
 
<td>{{#switch: {{lc:{{{postonly|no}}}}} |no=خیر |#default=بله }}</td>
+
 
</tr><tr>
+
 
<th>راهنمای ساخته‌شده</th>
+
 
<td>[//{{{site|www.mediawiki.org}}}/w/api.php?action=help&modules={{#ifeq: {{lc:{{{query|{{{generator|}}}}}}}} | yes |query+}}{{lc:{{{module|{{IfNotTranslation|{{PAGENAMEE}}|{{BASEPAGENAMEE}}}}}}}}} کنونی]</td>
+
 
 
{{#if:{{{version|}}}|
 
{{#if:{{{version|}}}|
</tr><tr>
+
 
<th>نسخهٔ افزوده‌شده</th>
+
 
<td>{{MW version|version={{{version|?}}}|compact=yes|comment=and after}}</td>
+
 
 
}}
 
}}
</tr></table><includeonly>
+
 
 
{{#ifeq:{{{templatemode|}}}|nocat|
 
{{#ifeq:{{{templatemode|}}}|nocat|
 
   |{{#ifeq:{{{generator|}}}|yes
 
   |{{#ifeq:{{{generator|}}}|yes
     |[[Category:MediaWiki API generators{{#translation:}}]]}}
+
     |[[Category:MediaWiki API generators]]}}
}}</includeonly>
+
 
 
| #default=
 
| #default=
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:API-head|noshift=1}}
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:API-head|noshift=1}}
}}<noinclude>
+
 
 
{{Documentation|content=
 
{{Documentation|content=
  
Line 48: Line 48:
 
|generator=yes
 
|generator=yes
 
}}
 
}}
<pre>
+
 
 
{{API-head
 
{{API-head
 
|version=1.11
 
|version=1.11
Line 57: Line 57:
 
|generator=yes
 
|generator=yes
 
}}
 
}}
</pre>
+
 
 
{{clear}}
 
{{clear}}
 
{{API-head|templatemode=nocat
 
{{API-head|templatemode=nocat
Line 68: Line 68:
 
|query=no
 
|query=no
 
}}
 
}}
<pre>
+
 
 
{{API-head
 
{{API-head
 
|module=edit
 
|module=edit
Line 78: Line 78:
 
|query=no
 
|query=no
 
}}
 
}}
</pre>
+
 
 
{{clear}}
 
{{clear}}
 
}}
 
}}
[[Category:API templates{{#translation:}}]]
+
[[Category:API templates]]
</noinclude>
 

Latest revision as of 15:22, 21 December 2019


{{#switch: | =










{{#ifeq:|nocat|

 |

| #default=


{{#switch: | =










{{#ifeq:|nocat|

 |

| #default=

 Lua error: expandTemplate: template loop detected.
Template documentation

استفاده

Displays a box providing more information about an API module.

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

نمونه‌ها

Template documentation

استفاده

Displays a box providing more information about an API module.

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

نمونه‌ها