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.")
 
(added examples)
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".

Revision as of 15:31, 24 March 2020

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