Well, on some wikis we use the syntax {{template|day|month}} to include the
template. Then it autocategorizes itself by date at the violations category.
"Steve Bennett" <stevage(a)gmail.com> escribió
en el mensaje
news:f1c3529e0604190045w468bdeaehcf89e50436cfdd5a@mail.gmail.com...
On 19/04/06, Jay R. Ashworth <jra(a)baylink.com>
wrote:
If I correctly understand both a) what you mean,
and b) how it works,
the new INCLUDEONLY/NOINCLUDE stuff will permit that (you can create a
template which causes the page into which you include it to be placed
in a category, that is).
Yep, and that works to an exent. But all it can really store is
membership, and the title of the page as it should appear on the
category page. That's apparently insufficient, because pages like
wp:copyvio still exist. To replace pages like that, it would need at a
minimum the date that the template was added, and a text comment.
INCLUDEONLY/NOINCLUDE is definitely very cool, and I can't believe we
got by without it before ;) It's only a pity that they NOINCLUDE's
cant actually be included...some cute template documentation templates
could be produced otherwise.
And to make this email about three separate things at once, it would
be really nice if MediaWiki could be changed so that special variables
displayed differently on template pages than on the page where the
template is included. For example, if PAGENAME actually rendered as
PAGENAME, rather than fa or welcome or whatever. Similarly, {{{1}}}
could rendered as PARAMETER1... that might make templates a little
easier to use and understand for novices.
Steve
Steve