Tech, Administrators
2,921
edits
No edit summary Tag: sourceedit |
Josiah Rowe (talk | contribs) m (grammar!) |
||
Line 4: | Line 4: | ||
The only recourse is the use of the #sub parser function, with which you can take off a negative number of letters at the end of the string, resulting in<pre>[[The Eleventh Hour (TV story)|The Eleventh Hour</pre> | The only recourse is the use of the #sub parser function, with which you can take off a negative number of letters at the end of the string, resulting in<pre>[[The Eleventh Hour (TV story)|The Eleventh Hour</pre> | ||
Add a closing pair of brackets — ]] — and | Add a closing pair of brackets — ]] — and you're golden! | ||
This is a very different principle, however, to the one on which {{tl|da}} works. ''That'' template uses a #switch parser function to figure out what ''kind'' of page it's on -- (TV story), (comic story), etc. -- and then truncates ''that specific'' [[dab term]]. | This is a very different principle, however, to the one on which {{tl|da}} works. ''That'' template uses a #switch parser function to figure out what ''kind'' of page it's on -- (TV story), (comic story), etc. -- and then truncates ''that specific'' [[dab term]]. |