Help talk:Labeled section transclusion
Appearance
Documenting use of this neat new feature
This is great; I'm really surprised that I've not heard of it before. As its use in the wild may not be immediately obvious to an editor encountering it, should we make it good practice to accompany it with a comment, something along the lines of <!-- See Help:LST -->
? — Scott • talk 16:49, 14 February 2014 (UTC)
- @Gadget850: Actually, come to think of it - rather than using the
<section>
tag directly, it would be better to use templates generating the tag - say, {{section begin}} and {{section end}}. That way, anyone encountering them in the code would be able to go immediately to the template for documentation. It's hard to find a help page for a raw tag. What do you think? — Scott • talk 00:38, 15 February 2014 (UTC)- Because parser tags must use #tag to include variables and #tag does not work with
<section>
. See the Templates section and {{section}}. -- Gadget850 talk 01:18, 15 February 2014 (UTC)- How annoying. I've subscribed to Template:Bug - thanks. — Scott • talk 22:46, 15 February 2014 (UTC)
- Because parser tags must use #tag to include variables and #tag does not work with
- @Scott: Good idea. I just encountered Template:Latest tech news "in the wild" and did just that. Now, I see your comment here confirming the rationale for my edit. My initial guess was that #lst: meant "last section", so I changed that to #section: as well. Regards, Wbm1058 (talk) 11:35, 24 July 2014 (UTC)