History
Forum Edit this page Discussion

Forum:Template for category info

From Vim Tips Wiki

Jump to: navigation, search
Forums: Index > Help desk > Template for category info


I'm moving towards trying to clean up tips on searching, so the first job is to make a category for searching. I think I've got my brain around it, but now I've got the urge to make a template to standardise category descriptions.

What do you think of the following? Will it work? Is it worthwhile?

Create Template:CatInfo with wikitext:

 [[Category:{{{parent}}}]]
 '''This [[m:Help:Category|category]] is for tips about {{{name}}}.'''
 
 {{ #if: {{{help|}}}
 |== References ==
 *{{help|{{{help}}}}}
 

Example usage – create Category:Searching with wikitext:

 {{CatInfo|name=searching|parent=Usage|help=pattern.txt}}
 

This would display (I hope):

This category is for tips about searching.

[edit] References

--JohnBeckett 10:22, 13 July 2007 (UTC)



If I understandard correctly, this {{CatInfo}} template would serve to write category pages.

Somewhere this is a good idea as it would help have an uniform look accross all category pages. This is useful: everytime I open another category page because I can't never remember whether I've filled them with tips related to xxxx or xxx related tips.

However, I'm afraid some categories are quite unique and may:

  • be tied to several help topics,
  • have a more complex description ; see Category:Brackets

If it could help people define new (missing and pertinent) categories, why not.

--Luc Hermitte 12:23, 13 July 2007 (UTC)


OK. I've created Template:CatInfo and have tried it on a couple of categories. See Category:Brackets and Category:Searching.

If there were several help references, you could just add them below the template. However I'm sure you're right and some categories will need custom editing.

--JohnBeckett 05:16, 14 July 2007 (UTC)

Hubs Highlights International Sites Wikia messages
Entertainment
Gaming
Cartoons & Comics
Science Fiction
Hobbies
Sports
See all...
Grand Theft Auto
Pixar
Legend of Zelda Wiki
Terminator Wiki
Everquest II Wiki
Dark Shadows
German
Spanish
Chinese
Japanese
More...
Wikia is hiring for several open positions


Vote for collaboration of the month.

Send this article to a friend
"Template for category info"
 
 
Hi!

I thought you'd like this page from Wikia!

http://vim.wikia.com

Come check it out!
Send confirmation