Tuesday, July 9, 2013

Wiktionary - Recent changes [en]: Template:lang/documentation

Changes are afoot at Blogtrottr!
By popular request, we're bringing in paid plans with some cool new features (and more on the way). You can read all about it in our blog post.
Wiktionary - Recent changes [en]
Track the most recent changes to the wiki in this feed. // via fulltextrssfeed.com
Template:lang/documentation
Jul 10th 2013, 00:46, by CodeCat

(One intermediate revision by one user not shown)
Line 2: Line 2:
 

<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

 

<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

 

===Usage===

 

===Usage===

This template wraps text in the appropriate <tt>lang=</tt> HTML attribute, and optionally also adds a script class.

+

This template wraps text in the appropriate <tt>lang=</tt> HTML attribute, and optionally also adds a script class. It is similar to {{temp|l}} but does not provide a link. For tagging usage examples in definitions, use {{temp|usex}}.

   
 

Parameters:

 

Parameters:

 

* <tt>1=</tt> - [[WT:LANGCODE|Language code]]

 

* <tt>1=</tt> - [[WT:LANGCODE|Language code]]

 

* <tt>2=</tt> - The term to be displayed. If you need to link to the term, use {{temp|l}} or {{temp|term}}, not this template.

 

* <tt>2=</tt> - The term to be displayed. If you need to link to the term, use {{temp|l}} or {{temp|term}}, not this template.

* <tt>sc=</tt> - Specify the script.

+

* <tt>sc=</tt> - Specify the script, if different from the default for the language.

   

{{rfd}}

+

Note that {{temp|lang|sh|sc{{=}}Cyrl|...}} is equivalent to {{temp|Cyrl|2=lang=sh|...}}. However, script templates may be deleted at some time in the future, so using this template is probably preferred. It also has the advantage that it can select the default script for a language, like {{temp|l}}.

   
 

===See also===

 

===See also===

 

* {{temp|l}} to create a language-specific link

 

* {{temp|l}} to create a language-specific link

 

* {{temp|term}} for mentioned terms

 

* {{temp|term}} for mentioned terms

 
 
 

<includeonly>

 

<includeonly>

<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

 
 

[[Category:Supplementary templates]]

 

[[Category:Supplementary templates]]

 

</includeonly>

 

</includeonly>


Edit-copy green.svg Documentation for Template:lang. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Usage[edit]

This template wraps text in the appropriate lang= HTML attribute, and optionally also adds a script class. It is similar to {{l}} but does not provide a link. For tagging usage examples in definitions, use {{usex}}.

Parameters:

  • 1= - Language code
  • 2= - The term to be displayed. If you need to link to the term, use {{l}} or {{term}}, not this template.
  • sc= - Specify the script, if different from the default for the language.

Note that {{lang|sh|sc=Cyrl|...}} is equivalent to {{Cyrl|...}}. However, script templates may be deleted at some time in the future, so using this template is probably preferred. It also has the advantage that it can select the default script for a language, like {{l}}.

See also[edit]

  • {{l}} to create a language-specific link
  • {{term}} for mentioned terms

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions