Difference between revisions of "Template:Languages embed"

From Team Fortress Wiki
Jump to: navigation, search
m (Usage)
 
(Turkish)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Template ==
+
<span class="LanguageLinks lang-list" style="{{{style|}}}">[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|'''English''']]<!--
<onlyinclude><div class="LanguageLinks" style="{{{style|}}}">
+
-->{{Languages/Lang|ar|{{{1|}}}|
{{#ifeq: {{{globe-icon|}}} | true | [[Image:Globeicon.gif|25px|Languages]]}}
+
}}{{Languages/Lang|cs|{{{1|}}}|
[[{{NAMESPACE}}:{{BASEPAGENAME}}|English]]
+
}}{{Languages/Lang|da|{{{1|}}}|
{{Languages/Lang|ar|{{{1|}}}}}{{Languages/Lang|br|{{{1|}}}}}{{Languages/Lang|ca|{{{1|}}}}}{{Languages/Lang|cs|{{{1|}}}}}{{Languages/Lang|de|{{{1|}}}}}{{Languages/Lang|el|{{{1|}}}}}
+
}}{{Languages/Lang|de|{{{1|}}}|
{{Languages/Lang|es|{{{1|}}}}}{{Languages/Lang|fa|{{{1|}}}}}{{Languages/Lang|fi|{{{1|}}}}}{{Languages/Lang|fr|{{{1|}}}}}{{Languages/Lang|gu|{{{1|}}}}}{{Languages/Lang|he|{{{1|}}}}}{{Languages/Lang|hu|{{{1|}}}}}{{Languages/Lang|id|{{{1|}}}}}{{Languages/Lang|it|{{{1|}}}}}{{Languages/Lang|ja|{{{1|}}}}}{{Languages/Lang|ko|{{{1|}}}}}{{Languages/Lang|lv|{{{1|}}}}}{{Languages/Lang|mr|{{{1|}}}}}{{Languages/Lang|ms|{{{1|}}}}}{{Languages/Lang|nl|{{{1|}}}}}{{Languages/Lang|no|{{{1|}}}}}{{Languages/Lang|oc|{{{1|}}}}}{{Languages/Lang|pl|{{{1|}}}}}{{Languages/Lang|pt|{{{1|}}}}}{{Languages/Lang|ro|{{{1|}}}}}{{Languages/Lang|ru|{{{1|}}}}}{{Languages/Lang|si|{{{1|}}}}}{{Languages/Lang|sq|{{{1|}}}}}{{Languages/Lang|sr|{{{1|}}}}}{{Languages/Lang|sv|{{{1|}}}}}{{Languages/Lang|th|{{{1|}}}}}{{Languages/Lang|vi|{{{1|}}}}}{{Languages/Lang|yue|{{{1|}}}}}{{Languages/Lang|zh|{{{1|}}}}}{{Languages/Lang|zh-hans|{{{1|}}}}}{{Languages/Lang|zh-hant|{{{1|}}}}}
+
}}{{Languages/Lang|es|{{{1|}}}|
</div></onlyinclude>
+
}}{{Languages/Lang|fi|{{{1|}}}|
 +
}}{{Languages/Lang|fr|{{{1|}}}|
 +
}}{{Languages/Lang|hu|{{{1|}}}|
 +
}}{{Languages/Lang|it|{{{1|}}}|
 +
}}{{Languages/Lang|ja|{{{1|}}}|
 +
}}{{Languages/Lang|ko|{{{1|}}}|
 +
}}{{Languages/Lang|nl|{{{1|}}}|
 +
}}{{Languages/Lang|no|{{{1|}}}|
 +
}}{{Languages/Lang|pl|{{{1|}}}|
 +
}}{{Languages/Lang|pt|{{{1|}}}|
 +
}}{{Languages/Lang|pt-br|{{{1|}}}|
 +
}}{{Languages/Lang|ro|{{{1|}}}|
 +
}}{{Languages/Lang|ru|{{{1|}}}|
 +
}}{{Languages/Lang|sv|{{{1|}}}|
 +
}}{{Languages/Lang|tr|{{{1|}}}|
 +
}}{{Languages/Lang|zh-hans|{{{1|}}}|
 +
}}{{Languages/Lang|zh-hant|{{{1|}}}|
 +
}}</span><noinclude>{{doc begin}}
 +
Simplified version of {{tl|Languages}} that lacks any styling or tables. Use parameter 1 to define a specific article, otherwise it defaults to {{code|BASEPAGENAME}}. The parameter {{code|style}} is available to apply any styling to the {{code|&lt;span>}} tag surrounding the language links.
  
== Syntax ==
+
[[Category:Language templates|Languages embed]]
<nowiki>{{Languages embed|PageName|<style>|<globe-icon=true>}}</nowiki>
+
</noinclude>
 
 
== Usage ==
 
 
 
This template is an embeddable version of the [[Template:Languages]] which does not have any specific styling unless specified. Parameter 1 (<code>PageName</code>) ''must'' be the article name where the template is embeded. The <code>globe-icon</code> parameter is optional, if set to <code>true</code> a globe icon will be applied before the available languages. The <code>style</code> parameter is also optional and takes a standard CSS style and applies it to the template.
 
 
 
For detailed instructions of correct use and available languages, refer to the [[Template:Languages]] documentation.
 
 
 
[[Category:Language templates]]
 
 
 
<noinclude>[[Category:Every page]]</noinclude>
 

Latest revision as of 05:29, 18 June 2011

English

Documentation for Languages embed

Simplified version of {{Languages}} that lacks any styling or tables. Use parameter 1 to define a specific article, otherwise it defaults to BASEPAGENAME. The parameter style is available to apply any styling to the <span> tag surrounding the language links.