Difference between revisions of "Template:String-handling templates"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
m (link update) |
m (avoid redirects within template) |
||
Line 55: | Line 55: | ||
|col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic; | |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic; | ||
| {{tl|unlink}} | Removes wikilink brackets (wikicode). | | {{tl|unlink}} | Removes wikilink brackets (wikicode). | ||
− | | {{tl|remove | + | | {{tl|remove file prefix}} | Removes "File:" (or "Image:") from filenames. |
| {{tl|title without disambig}} | To trim off any parenthesis text at the end of a string (disambiguation). | | {{tl|title without disambig}} | To trim off any parenthesis text at the end of a string (disambiguation). | ||
| {{tl|title disambig text}} | Returns text in parenthesis at the end of a string (disambiguation). | | {{tl|title disambig text}} | Returns text in parenthesis at the end of a string (disambiguation). | ||
Line 61: | Line 61: | ||
| {{Aligned table | | {{Aligned table | ||
|col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic; | |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic; | ||
− | | {{tl| | + | | {{tl|WikiProjectbasename}} | Removes "WikiProject" from a pagename. |
| {{tl|remove unranked}} | Removes the string "unranked_" from the left of a string (taxonomy). | | {{tl|remove unranked}} | Removes the string "unranked_" from the left of a string (taxonomy). | ||
| {{tl|ship prefix}} | Returns the length of a ship's name prefix, if listed (ship names). | | {{tl|ship prefix}} | Returns the length of a ship's name prefix, if listed (ship names). |
Revision as of 01:08, 12 August 2014
Template:Navbox with collapsible sections Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |