https://bugzilla.wikimedia.org/show_bug.cgi?id=50512

--- Comment #1 from Helder <[email protected]> ---
Another solution to the problem of the data being associated both to
"Template:Foo" and to "Template:Foo/doc" (although I don't like it as much as a
brand new namespace) would be to have an extra parameter which could be used to
suppress the data on /docs and only get the table there.

Template:Foo/doc could use something like this:
<templatedata <noinclude>TABLEONLY=YES</noinclude> >...JSON...</templatedata>

or even

<templatedata {{#switch: {{FULLPAGENAME}}
                |Template:Foo|Template:Foo2|...|Template:Foo9
                |#default = TABLEONLY=YES
              }} >...JSON...</templatedata>

(when the same /doc is used for more than one template)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to