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

From Space Exploration
Jump to navigation Jump to search
imported>Ahopefulhobbit
trying to get infoboxes working
 
imported>Ahopefulhobbit
No edit summary
Line 1: Line 1:
This template is adapted from [https://wiki.factorio.com/Template:No language suffix/No namespace the Factorio Wiki]
Strips both namespace and language suffix from the page name.
Strips both namespace and language suffix from the page name.



Revision as of 23:26, 2 December 2021

This template is adapted from language suffix/No namespace the Factorio Wiki

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