Difference between revisions of "Template:No language suffix"

From Official Factorio Wiki
Jump to: navigation, search
(Added Portuguese language support)
(Categorized as localisation template, added doc)
 
Line 2: Line 2:
 
| cs | da | de | es | fr | hu | it | ja | ko | ms | nl | pl | pt-br | pt-pt | ru | sv | tr | uk | vi | zh = {{#titleparts: {{FULLPAGENAME}} | -1 }}
 
| cs | da | de | es | fr | hu | it | ja | ko | ms | nl | pl | pt-br | pt-pt | ru | sv | tr | uk | vi | zh = {{#titleparts: {{FULLPAGENAME}} | -1 }}
 
| #default = {{FULLPAGENAME}}
 
| #default = {{FULLPAGENAME}}
}}
+
}}<noinclude>
 +
{{documentation}}
 +
[[Category:Localisation templates]]
 +
</noinclude>

Latest revision as of 15:29, 24 March 2020

Template:No language suffix

[View] [Edit] [Page history]

Documentation

Strips the language suffix from the link, if there is one.

Example 1: Page the template is on: "Infobox:Accumulator" -> {{No language suffix}} gives "Infobox:Accumulator".

Example 2: Page the template is on: "Accumulator/de" -> {{No language suffix}} gives "Accumulator".

Example 3: Page the template is on: "Infobox:Accumulator/de" -> {{No language suffix}} gives "Infobox:Accumulator".
List of all templates