Template:No language suffix/doc: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Strips the language suffix from the link, if there is one.")
 
(category)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Strips the language suffix from the link, if there is one.
Strips the language suffix from the link, if there is one.
Example 1: Page the template is on: "Infobox:Accumulator" -> <nowiki>{{No language suffix}}</nowiki> gives "Infobox:Accumulator".
Example 2: Page the template is on: "Accumulator/de" -> <nowiki>{{No language suffix}}</nowiki> gives "Accumulator".
Example 3: Page the template is on: "Infobox:Accumulator/de" -> <nowiki>{{No language suffix}}</nowiki> gives "Infobox:Accumulator".
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 12:13, 27 August 2023

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