Editing
Template:Remove first word/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{High-use}} {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE--> {{Lua|Module:String}} This template removes the first word of the first parameter. Use {{para|1}} for the first parameter if the string may contain an [[equals sign]] (=). By default, words are delimited by spaces, but the optional parameter {{para|sep}} can set the separator to any character. ==Usage== One parameter (space as separator): * <code>'''{{{{BASEPAGENAME}}|'''<var>string</var>'''}}'''</code> * <code>'''{{{{BASEPAGENAME}}|1='''<var>string</var>'''}}'''</code> Two parameters (user-defined character as separator): * <code>'''{{{{BASEPAGENAME}}|'''<var>string</var>'''|sep='''<var>character</var>'''}}'''</code> * <code>'''{{{{BASEPAGENAME}}|1='''<var>string</var>'''|sep='''<var>character</var>'''}}'''</code> ==Examples== * {{tlc|{{BASEPAGENAME}}|Fôo bår bàz}} → {{{{BASEPAGENAME}}|Fôo bår bàz}} * {{tlc|{{BASEPAGENAME}}| Fôo bår bàz }} → {{{{BASEPAGENAME}}| Fôo bår bàz }} * {{tlc|{{BASEPAGENAME}}| a b }} → {{{{BASEPAGENAME}}| a b }} * {{tlc|{{BASEPAGENAME}}|Fôo-bår}} → {{{{BASEPAGENAME}}|Fôo-bår}} * {{tlc|{{BASEPAGENAME}}|Fôo-bår bàz}} → {{{{BASEPAGENAME}}|Fôo-bår bàz}} * <code>{{{{BASEPAGENAME}}|Fôo-bår bàz|sep=-}}</code> → {{{{BASEPAGENAME}}|Fôo-bår bàz|sep=-}} * <code>{{{{BASEPAGENAME}}|34,000,500|sep=,}}</code> → {{{{BASEPAGENAME}}|34,000,500|sep=,}} * <code>{{{{BASEPAGENAME}}|Hear ye, users|sep=,}}</code> → {{{{BASEPAGENAME}}|Hear ye, users|sep=,}} * <code>{{{{BASEPAGENAME}}|1=len = a+b|sep==}}</code> → {{{{BASEPAGENAME}}|1=len = a+b|sep==}} ==See also== {{String-handling templates |trim}} <includeonly>{{Sandbox other|| <!----CATEGORIES BELOW THIS LINE, PLEASE:----> [[Category:String manipulation templates]] }}</includeonly>
Summary:
Please note that all contributions to Mirrorplay: Fae are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
MPFae:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information