On 05/25/2010 10:20 PM, Christoph Noack wrote: > Hi everyone, > > I've started a Community Council template to better structure our pages. > Unfortunately, I have very few experience with templates and so I would > like to ask you for some help. Could (at least *g*) one of you have a > look on the source code of the page below? That would be truly great. > > http://wiki.services.openoffice.org/wiki/Template:Community_Council > > Basically, I picked one of our UX templates and replaced the strings > referring to User Experience with Community Council. Then I've changed > the "box" at the right side ... but I still have a strange feeling that > something might be wrong. For example, the section "usage" doesn't help > me much :-) > > Please tell me if there is something wrong / sub-optimal - in the best > of all cases along with some proposal how to improve it. I am also happy > about content related proposals. > > If this page is okay, then it would be great if you could tell me if I > can apply this template to all pages currently marked with the category > "Community Council". At least, I would like to make use of this template > for the new council elections that are planned to start next week. > > Thanks a lot in advance!
One thing I've noticed is that you're using the Template to add a Category to the page the Template is used on. This has some minor issues that are related to one of the oddities of how MediaWiki works. See: http://meta.wikimedia.org/wiki/Help:Category#Adding_a_category_by_using_a_template The short form is.. you can use a Template to add a Category to your Wiki pages, but... you're not always guaranteed that the page will be properly indexed into that Category right away - particularly when you change the Category in the Template after it's been used in a Wiki page. It might show up immediately Category index, or it could take hours or days for the Wiki page to be indexed correctly into the Category. This is due to a design quirk in how MediaWiki processes the job queue. This is not a killer issue.. just something everyone needs to be aware of when they are using Templates to add Categories... you might not get the Wiki behavior you're expecting. The section "Usage" is in the <noinclude> section. This means it is not included when the Template is transcluded into a Wiki page. Anything between the <noinclude> tags is treated as documentation for the Template.. it's information for people who are interested in how the template works.. what variables can be passed, examples of how it works etc. For example, if you look at this Template: http://wiki.services.openoffice.org/wiki/Template:Documentation/MasterTOC you see it has quite a lot of text explaining how it works. C. -- Clayton Cornell [email protected] OpenOffice.org Documentation Project co-lead --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
