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

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Strips both namespace and language suffix from the page name. For use in templates. Example 1: Page the template is on: "Infobox:Accumulator" -> <nowiki>{{No language suffix...")
 
(category)
 
Line 8: Line 8:


Example 3: Page the template is on: "Infobox:Accumulator/de" -> <nowiki>{{No language suffix/No namespace}}</nowiki> gives "Accumulator".
Example 3: Page the template is on: "Infobox:Accumulator/de" -> <nowiki>{{No language suffix/No namespace}}</nowiki> gives "Accumulator".
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 12:13, 27 August 2023

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".