Difference between revisions of "Template:Translatable"

From BTAWiki
Jump to navigation Jump to search
(FULLPAGENAME:)
m (8 revisions imported)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}|
 
{{#ifeq:{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}|
 
|{{{1|{{FULLPAGENAME}}}}}
 
|{{{1|{{FULLPAGENAME}}}}}
|{{#invoke:String|sub|{{FULLPAGENAME]{{{1|{{FULLPAGENAME}}}}}}}
+
|{{#invoke:String|sub|{{{1|{{FULLPAGENAME}}}}}
 
   |1
 
   |1
   |{{#expr:{{#invoke:String|len
+
   |{{#expr:{{#invoke:String|len|{{{1|{{FULLPAGENAME}}}}}}}-{{#invoke:String|len|{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}}}-1}}
    |{{{1|{{FULLPAGENAME}}}}}}}-{{#invoke:String|len|{{pagelang|{{{1|{{FULLPAGENAME}}}}}}}}}-1
 
    }}
 
 
   }}
 
   }}
 
}}<noinclude>
 
}}<noinclude>
Line 21: Line 19:
 
}}
 
}}
  
[[Category:Internationalization templates{{translation}}]]
+
[[Category:Internationalization templates{{#translation:}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:07, 13 November 2020

Script error: No such module "String". {{ Template:TNTN |content=

Examples

  • {{translatable}}

Script error: No such module "String".

  • {{translatable|Page name}}

Script error: No such module "String".

  • {{translatable|Page name/ja}}

Script error: No such module "String".

}}

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