Actions

Template

Translatable/en: Difference between revisions

From Convention Master Documentation

< Template:Translatable
Template>FuzzyBot
(Updating to match new version of source page)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 18:44, 18 December 2022

<languages /> {{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Template:Translatable/en||-1}}|en

 |en
 }}

|en }}| |Template:Translatable/en |Template:Translatable/en

}} Lua error: bad argument #1 to "get" (not a valid title).{{#if:Lua error: bad argument #1 to "get" (not a valid title).

Examples

  • {{#if:{{safesubst:#switch:
|no
|n
|false
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|1        = yes
|#default = yes

}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:translatable|translatable]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} {{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Template:Translatable/en||-1}}|en

 |en
 }}

|en }}| |Template:Translatable/en |Template:Translatable/en

}}

  • {{#if:{{safesubst:#switch:
|no
|n
|false
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|1        = yes
|#default = yes

}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:translatable|translatable]]{{#if:Page name||Page name}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} {{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Page name||-1}}|en

 |en
 }}

|en }}| |Page name |Page name

}}

  • {{#if:{{safesubst:#switch:
|no
|n
|false
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|1        = yes
|#default = yes

}}|}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:translatable|translatable]]{{#if:Page name/en||Page name/en}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} {{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Page name/en||-1}}|en

 |en
 }}

|en }}| |Page name/en |Page name/en

}}| [[Category:Template documentation pages{{#translation:}}]] }}

[[Category:Internationalization templates{{#translation:}}]]