Difference between revisions of "Template:Languages"

From VideoLAN Wiki
Jump to navigation Jump to search
(Almost equivalent CSS)
(Remove code to check for Slovenčina pages: we haven't any on this wiki)
Line 3: Line 3:
 
-->{{#ifexist:{{#titleparts:{{FULLPAGENAME}}|1}}/fr|{{Languages/Lang|fr}}}}<!--
 
-->{{#ifexist:{{#titleparts:{{FULLPAGENAME}}|1}}/fr|{{Languages/Lang|fr}}}}<!--
 
-->{{#ifexist:{{#titleparts:{{FULLPAGENAME}}|1}}/nl|{{Languages/Lang|nl}}}}<!--
 
-->{{#ifexist:{{#titleparts:{{FULLPAGENAME}}|1}}/nl|{{Languages/Lang|nl}}}}<!--
-->{{#ifexist:{{#titleparts:{{FULLPAGENAME}}|1}}/sk|{{Languages/Lang|sk}}}}<!--
 
 
--></span></div></onlyinclude><noinclude>
 
--></span></div></onlyinclude><noinclude>
 
==Syntax==
 
==Syntax==

Revision as of 05:24, 14 March 2019

Syntax

{{Languages}}

Usage

  • Place only pages that exist in more than one language
  • Place in the same location on each translation of the page
  • The English version of a page is always the main version
  • Using the appropriate language code in the format "pagenamehere/language_code"

For example, see above.