Template:Str left: Difference between revisions

m
23 revisions imported from templatewiki:Template:Str_left
m (Protected Template:Str left: Highly visible template: Meta template, used in Template:Images which is used in Template:Archives which is a highly visible template. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
m (23 revisions imported from templatewiki:Template:Str_left)
 
(12 intermediate revisions by 7 users not shown)
Line 1:
<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude>
{{documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
<nowiki>{{str_left|</nowiki>''text''<nowiki>|</nowiki>''number''<nowiki>}}</nowiki> = Grabs the first ''number'' characters from ''text''. ''Number'' defaults to 1.
 
[[Category: String manipulation templates]]
</noinclude>