Template:LangSuffix: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{#if:{{{1|}}|/{{{1|}}}}}<noinclude>
{{#if:{{{1|}}}|/{{{1|}}}}}<noinclude>
  <nowiki>{{LangSuffix|}}</nowiki>
  <nowiki>{{LangSuffix|}}</nowiki>
or
or
  <nowiki>{{LS|}}</nowiki>
  <nowiki>{{LS|}}</nowiki>
If the template argument is not empty, the template returns <code>\argument</code>. If the argument is empty, the template returns nothing. This is used to automatically add the subpage's language code to links leading to language subpages, and do not add anything to pages that are not language subpages. [[Category:Utility templates]]
If the template argument is not empty, the template returns <code>\argument</code>. If the argument is empty, the template returns nothing. This is used to automatically add the subpage's language code to links leading to language subpages, and do not add anything to pages that are not language subpages. [[Category:Utility templates]]

Latest revision as of 22:25, 28 April 2026

{{LangSuffix|}}

or

{{LS|}}

If the template argument is not empty, the template returns \argument. If the argument is empty, the template returns nothing. This is used to automatically add the subpage's language code to links leading to language subpages, and do not add anything to pages that are not language subpages.