Template:Da smw/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m
grammar!
No edit summary
Tag: sourceedit
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 your golden!
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]].
2,921

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.