Template:No language suffix/doc: Difference between revisions
Jump to navigation
Jump to search
(added examples) |
(category) |
||
Line 6: | Line 6: | ||
Example 3: Page the template is on: "Infobox:Accumulator/de" -> <nowiki>{{No language suffix}}</nowiki> gives "Infobox: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".