Templates & Categories

Jump to: navigation, search

Hi - some thoughts. I've added a category to the template, so that all pages which use the Template:BloggingHandbook will be categorised as Category:Blogging Handbook. However, not all pages are listed because of the way the template is being transcluded - it should be {{BloggingHandbook}} not {{BloggingHandbook Page name}}, unless you want to build some parameters for page name into the template, in which case you could use something like {{BloggingHandbook|Page name}}, but I'm not sure that this would be of much use.

Jtneill (talk)14:12, 25 June 2008

...and you don't need Template: at the start of a transclusion or substition when its coming from the Template: namespace, although it does no harm.

Jtneill (talk)00:23, 26 June 2008

Hi James, I'm not entirely sure what you mean.. I'm afraid I don't uunderstand "transclusion" or "substition".. nor why using a category would be useful...? Is it so that anyone can pick up the nav templates and drop them on a page that is seperate to the Handbook? which would be very cool! And in terms of having multiple templates (ie Template and Page Name) this was to get the drop down effect.. Is there a way to get that drop down on the one template?

Leighblackall (talk)12:26, 15 July 2008

I've added brief pages with links to meta for Help:Substitution and Help:Transclusion. By including a category with the template, you won't need to manually categorise each page to be in the BloggingHandbook category, i.e., you just need to add the navigation template. This has several advantages, including that if you want to recategorise the handbook quickly, you can do it with one edit. What do you mean by drop-down effect? PS As you know I'm not a fan of LQT - how about a normal page dedicated for talk about the BH? -- Jtneill - Talk 23:51, 14 July 2008 (UTC)

Jtneill (talk)12:51, 15 July 2008

Hmm, nice idea James. http://wikieducator.org/Create_and_maintain_a_basic_weblog/Talk

There it is..

The drop down.. click one of the links in the nav box on the main page.. notice the sub items that drop down.. see you over on the new talk page :)

Leighblackall (talk)13:46, 15 July 2008