Difference between revisions of "Template:Languages"

From VideoLAN Wiki
Jump to navigation Jump to search
(Dummy edit: I mean, my revisions of Template:LanguagesDraft and Template:LanguagesDraft/Lang may be elided, as if this were committed in a single edit)
(Appearance: height tweaks)
Line 1: Line 1:
 
<onlyinclude><div class="LanguageLinks">
 
<onlyinclude><div class="LanguageLinks">
 
<table style="width: 100%;">
 
<table style="width: 100%;">
<tr style="background: #ebf0fa; vertical-align: top;">
+
<tr style="background: #ebf0fa;">
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #888;">'''Languages:'''&nbsp;</td><td style="padding: 1px 1em 0; background: #F6F9ED;">
+
<td style="width: 10px; white-space: nowrap; padding: 0.25em 1em 0.25em 1em; border-right: 1px solid #888;">'''Languages:'''&nbsp;</td><td style="padding: 0.25em 1em 0.25em 1em; background: #F6F9ED;">
 
'''[[{{#titleparts:{{FULLPAGENAME}}|1}}{{!}}English]]'''<!--
 
'''[[{{#titleparts:{{FULLPAGENAME}}|1}}{{!}}English]]'''<!--
 
-->{{Languages/Lang|de}}<!--
 
-->{{Languages/Lang|de}}<!--

Revision as of 05:22, 8 February 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.