Template:No language suffix/No namespace: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Strips both namespace and language suffix from the page name)
 
(fucking whitespace)
Line 2: Line 2:
| cs | de | es | fr | it | ja | kr | nl | pl | pt-br | ru | sv | tr | uk | zh | infobox = {{#titleparts: {{PAGENAME}} | -1 }}
| cs | de | es | fr | it | ja | kr | nl | pl | pt-br | ru | sv | tr | uk | zh | infobox = {{#titleparts: {{PAGENAME}} | -1 }}
| #default = {{PAGENAME}}
| #default = {{PAGENAME}}
}}
}}<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
[[Category:Localisation templates]]
[[Category:Localisation templates]]
</noinclude>
</noinclude>

Revision as of 13:34, 20 July 2017

No language suffix/No namespace

[View] [Edit] [Page history]

Documentation

Strips both namespace and language suffix from the page name.

For use in templates.

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

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

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