On 9/24/07, Mark Clements gmane@kennel17.co.uk wrote:
"Magnus Manske" magnusmanske@googlemail.com wrote in message news:fab0ecb70709240124h170c3eev4d1d773714b72908@mail.gmail.com...
On 9/24/07, Simetrical
Simetrical+wikilist@gmail.com wrote:
On 9/23/07, Magnus Manske
magnusmanske@googlemail.com wrote:
In its current implementation, yes. I could move the link name to a "name=" tag attribute.
That sounds like a good idea.
OK, will do.
Remember, this is not intended for taxoboxes and the like. It is for ISBN/ISSN/geohack etc. where you have a few short parameter values, but rather large output generated from these.
What it's intended for is, of course, not what users are likely to use it for . . .
Fully automated fancruft pages! Yay! ;-)
Both of these points seem unnecessarily limiting! What if the template has a name parameter? What if the input needs to be on more than one line? I see no reason not to build with this flexibility now - it will only end up being a future request if not, and a lot harder to fix if we have hacked together a clumsy syntax that we have to stick to for backward compatability.
Not sure we're in sync here. In the mail you replied to, I agreed to alter the extension so you can write
<templatelink name="The name of the link"> Test |param1=value1 |param2=value2 </templatelink>
What's the problem with that?
What about the suggestion I made yesterday, about using the standard link syntax, potentially with an extra symbol at the beginning? So {{Test}} means transclude, [[Template:Test]] means link to and [[#Test]] (or [[#Template:Test]] if you like) means link to a special page, showing the rendered template.
Of course, I've now realised that # is not a suitable character for this, as although it is invalid in page names, it is valid in links as an in-page link, so maybe another character would need to be used (how about question mark?) Or perhaps use [[Test#]] instead?
(See my previous post for more details about my suggestion).
This idea is much more concise than <templatelink>Test</templatelink> which is what is currently proposed...
More concise, yes, as '' is more concise than <i>. But <templatelink> is a lot cleaner IMHO. Just imagine the mess we'd be in with the redesign of the reference system if we had used wikisyntax for that...
I expect <templatelink> to be buried in templates anyway, and rarely used directly. Its use only makes sense if you have a single large "form" (template) to fill with lots'o' data sets.
Magnus