Template:Edit other versions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

[[{{FULLURL:Template:Other versions/{{{1}}}|action=edit }} edit]]
Attention page editors: please review Module:Multilingual description/sort and add your language in the correct order. Thank you!

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Edit other versions/doc.


Purpose[edit]

The purpose of this template is to add an Edit link to other version templates. It adds a link like the one that appear to the left of sections, in the interface language of the user (using {{edit-int}} to achieve that). So for a user using the Norwegian (Bokmål) interface, it will show up as “rediger”, for a user using the Dhivehi interface it will show up as “އުނިއިތުރު ގެންނަވާ”, and for someone using Crimean Tatar in Cyrillic, it will be “Денъиштир”.

Usage[edit]

The template should be used for all other version templates. The way to use it is to just write the following in the template page—it should always be at the top:

{{edit other versions|{{subst:SUBPAGENAME}}}}

SUBPAGENAME here is the part of the page name for the template that comes after the /. For example, for {{Other versions/Märket plain}}, this is Märket plain, and for {{Other versions/Hard drive}} it is Hard drive. The code {{subst:SUBPAGENAME}} will automatically get replaced by the correct subpage name when you save the template page.

Multilang tag[edit]

When the parameter ml is specified, it displays the recommendation