Actions

Template

Template:Translatable

From Convention Master Documentation

Revision as of 20:53, 6 May 2022 by Template>Shirayuki (simplify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

 |en
 }}

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

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

<translate>

Examples

</translate>

  • {{#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||-1}}|en

 |en
 }}

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

}}

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

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

 |en
 }}

|en }}| |<translate> Page name</translate> |<translate> Page name</translate>

}}

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

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

 |en
 }}

|en }}| |<translate> Page name</translate>/en |<translate> Page name</translate>/en

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

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