Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>Shirayuki (Marked this version for translation) |
>Shirayuki (translation tweaks) |
||
Line 480: | Line 480: | ||
<caption>'''<translate><!--T:58--> Content parameters</translate>'''</caption> | <caption>'''<translate><!--T:58--> Content parameters</translate>'''</caption> | ||
<tr> | <tr> | ||
<th>Parameter</th> | <th><translate>Parameter</translate></th> | ||
<th>Description</th> | <th><translate>Description</translate></th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 571: | Line 571: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="imagesize">imagesize</span></td><td>''facultative'', size of the image (default size is 220px)</td> | <td><span id="imagesize">imagesize</span></td><td><translate>''facultative'', size of the image (default size is 220px)</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="version">version</span></td><td>last version</td> | <td><span id="version">version</span></td><td><translate>last version</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="update">update</span></td><td>date of the last update</td> | <td><span id="update">update</span></td><td><translate>date of the last update</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="compatibility_policy">compatibility policy</span></td><td>{{ll|Compatibility#mediawiki_extensions|compatibility policy}} (accepted values are '''master''' and '''rel'''). ( | <td><span id="compatibility_policy">compatibility policy</span></td><td><translate>{{<tvar|1>ll|Compatibility#mediawiki_extensions</>|compatibility policy}} (accepted values are <tvar|2>'''master'''</> and <tvar|3>'''rel'''</>).</translate> ({{ll|Category:Extensions without a compatibility policy|<translate>backlog</translate>}})</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="mediawiki">mediawiki</span></td><td>required version of MediaWiki</td> | <td><span id="mediawiki">mediawiki</span></td><td><translate>required version of MediaWiki</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="php">php</span></td><td>required version of PHP</td> | <td><span id="php">php</span></td><td><translate>required version of PHP</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 662: | Line 662: | ||
<caption>'''<translate><!--T:57--> Control parameters</translate>'''</caption> | <caption>'''<translate><!--T:57--> Control parameters</translate>'''</caption> | ||
<tr> | <tr> | ||
<th>Parameter</th> | <th><translate>Parameter</translate></th> | ||
<th>Description</th> | <th><translate>Description</translate></th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 677: | Line 677: | ||
</table> | </table> | ||
<translate> | |||
== Using the infobox == | == Using the infobox == | ||
=== Existing extension pages === | === Existing extension pages === | ||
If you want to add the infobox to an existing page, copy and paste the code at the [[#CutAndPaste|top of this page]]. | |||
If you want to add the infobox to an existing page, copy and paste the code at the [[<tvar|1>#CutAndPaste</>|top of this page]]. | |||
=== Create a new extension article === | === Create a new extension article === | ||
If you want to create a new extension page, enter the name below and click the button. A new page will be created with the infobox template already in place. | If you want to create a new extension page, enter the name below and click the button.</translate> | ||
<translate> | |||
A new page will be created with the infobox template already in place. | |||
</translate> | |||
{{Extension/CreateExtensionInputBox}} | {{Extension/CreateExtensionInputBox}} | ||
<translate> | |||
== Enhancing this template == | == Enhancing this template == | ||
If you would like to improve on this template, thanks! | |||
If you would like to improve on this template, thanks!</translate> | |||
<translate> | |||
This is a complicated template so here is some help along the way: | |||
=== The Create extension button === | === The Create extension button === | ||
To improve the create extension button behavior: | To improve the create extension button behavior: | ||
</translate> | |||
* '''[[Template:Extension/Sample]]:''' The boilerplate extension that is preloaded into newly-created pages. | * '''[[Template:Extension/Sample]]:''' The boilerplate extension that is preloaded into newly-created pages. | ||
* '''[[Template:Extension/CreateExtensionInputBox]]:''' An input box that can be inserted wherever you want users to easily create extensions. For documentation on the <code><nowiki><inputbox></nowiki></code> tag, please see [[Extension:InputBox]]. | * '''[[Template:Extension/CreateExtensionInputBox]]:''' An input box that can be inserted wherever you want users to easily create extensions. For documentation on the <code><nowiki><inputbox></nowiki></code> tag, please see [[Extension:InputBox]]. |
Revision as of 02:54, 17 November 2018
<languages/> Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]] Maintenance: vulnerabilities, archived
[[Category:Info templates{{#translation:}}|Extension]] [[Category:Extension creation{{#translation:}}]] [[Category:Categorizing templates{{#translation:}}|Extension]] [[Category:Extension templates{{#translation:}}]]