Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Autotranslate/doc: Difference between revisions

Template page
m update
m update
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
To use this template, include the following code:
'''Most uses of this template should be substituted in the final product.'''


<PRE><nowiki>
You probably want to call ''this'' template like
{{Autotranslate|s=subst:|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|base={{subst:PAGENAME}}}}
<pre><nowiki>{{<includeonly>{{{s|subst:}}}</includeonly>Autotranslate|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|base={{subst:PAGENAME}}}}</nowiki></pre>
</nowiki></PRE>
 
<PRE><nowiki>
 
Unless you do not want the template to be substituted, in which case, use
If you ''don't'' want it to be substituted, then you can use
{{Autotranslate|s=subst:|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|base={{subst:PAGENAME}}}}
<pre><nowiki>{{Autotranslate|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|base={{subst:PAGENAME}}}}</nowiki></pre>
</nowiki></PRE>
 
 
Note that you can and should pass the parameter <code>|s=subst:</code> if the next level of substitution requires that or <code>|s=</code> if the next level ''shouldn't'' be substituted. Normally the default should be set correctly using the includeonly trick. &nbsp;'''&mdash;&nbsp;[[User:Mike.lifeguard|<b style="color:#309;">Mike</b>]].[[User talk:Mike.lifeguard|<b style="color:#309;">lifeguard</b>]]'''&nbsp;&#124;&nbsp;<sup>[[b:User talk:Mike.lifeguard|<span style="color:#309;">@en.wb</span>]]</sup> 18:11, 27 November 2008 (UTC)

Revision as of 18:11, 27 November 2008

Most uses of this template should be substituted in the final product.

You probably want to call this template like

{{<includeonly>{{{s|subst:}}}</includeonly>Autotranslate|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|base={{subst:PAGENAME}}}}


If you don't want it to be substituted, then you can use

{{Autotranslate|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|base={{subst:PAGENAME}}}}


Note that you can and should pass the parameter |s=subst: if the next level of substitution requires that or |s= if the next level shouldn't be substituted. Normally the default should be set correctly using the includeonly trick.  — Mike.lifeguard | @en.wb 18:11, 27 November 2008 (UTC)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.