Difference between revisions of "Template:String-handling templates"
Jump to navigation
Jump to search
test>DePiep |
m (105 revisions imported) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 44: | Line 44: | ||
| {{tl|trim brackets}} | To trim any leading or trailing square brackets. | | {{tl|trim brackets}} | To trim any leading or trailing square brackets. | ||
| {{tl|trim quotes}} | To trim leading or trailing matching quotes. | | {{tl|trim quotes}} | To trim leading or trailing matching quotes. | ||
| + | | {{tl|trim leading}} | To trim up to six instances of specified <prefix>. | ||
}} | }} | ||
| {{Aligned table | | {{Aligned table | ||
| Line 58: | Line 59: | ||
| {{Aligned table |style=padding-right:2.5em; | | {{Aligned table |style=padding-right:2.5em; | ||
|col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; | |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; | ||
| − | | {{tl|delink}} | Removes wikilink brackets (wikicode). | + | | {{tl|delink}}, {{tl|trim brackets}} | Removes wikilink brackets (wikicode); ''all'' or ''outer only''. |
| {{tl|remove file prefix}} | Removes "File:" (or "Image:") from filenames. | | {{tl|remove file prefix}} | Removes "File:" (or "Image:") from filenames. | ||
| {{tl|PAGENAMEBASE}} | To trim off any parenthesis text at the end of a string (disambiguation). | | {{tl|PAGENAMEBASE}} | To trim off any parenthesis text at the end of a string (disambiguation). | ||