Difference between revisions of "Template:Translatable"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (Undo revision 2331204 by Shirayuki (talk): typo)
m (6 revisions imported)
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|{{#invoke:String|sub|{{{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:45, 18 May 2018

Template:Translatable

<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation

Examples

  • {{translatable}}

Template:Translatable

  • {{translatable|Page name}}

Page name

  • {{translatable|Page name/ja}}

Page name

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

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