Template:Edit-int/doc: Difference between revisions
Template page
More actions
No edit summary |
Who wrote this? Unclosed spans like this are a noob howler of an error... |
||
| Line 36: | Line 36: | ||
== Example == | == Example == | ||
* <code>({{Tlx|Edit-int|2=<nowiki>{{FULLPAGENAME}}</nowiki>}})</code> gives: ({{Edit-int|{{FULLPAGENAME}}}}) | * <code>({{Tlx|Edit-int|2=<nowiki>{{FULLPAGENAME}}</nowiki>}})</code> gives: ({{Edit-int|{{FULLPAGENAME}}}}) | ||
** For a user using the Arabic interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/ar}}}}]<span>) | ** For a user using the Arabic interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/ar}}}}]</span>) | ||
** For a user using the English interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/en}}}}]<span>) | ** For a user using the English interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/en}}}}]</span>) | ||
** For a user using the French interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/fr}}}}]<span>) | ** For a user using the French interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/fr}}}}]</span>) | ||
** For a user using the Gothic interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/got}}}}]<span>) | ** For a user using the Gothic interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/got}}}}]</span>) | ||
** For a user using the Norwegian (Bokmål) interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/no}}}}]<span>) | ** For a user using the Norwegian (Bokmål) interface, it will show up as: (<span class="plainlinks">[{{FULLURL:{{FULLPAGENAME}}|action=edit}} {{lcfirst:{{MediaWiki:Edit/no}}}}]</span>) | ||
<includeonly> | <includeonly> | ||
Revision as of 11:13, 13 September 2020
This template does the same as {{Edit}}, except that instead of showing the text "+/−", it shows the word for edit in the user's interface language (using {{int:Edit}}).
Usage
{{Edit-int |1= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | page | full page name (including the namespace prefix if applicable) of the target wiki page to edit on this wiki | empty | required |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
See also
Localization
This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).
Example
({{Edit-int|{{FULLPAGENAME}}}})gives: ()- For a user using the Arabic interface, it will show up as: (عدل)
- For a user using the English interface, it will show up as: (edit)
- For a user using the French interface, it will show up as: (modifier)
- For a user using the Gothic interface, it will show up as: (𐌹𐌽𐌼𐌰𐌹𐌳𐌾𐌰𐌽)
- For a user using the Norwegian (Bokmål) interface, it will show up as: (rediger)