Difference between revisions of "Talk:Main Page"

From WikiCU
Jump to: navigation, search
(Option 2: category cloud for all categories with more than "min_count" articles)
 
(58 intermediate revisions by 25 users not shown)
Line 1: Line 1:
== Tag cloud ==
+
This page is for questions, comments and discussion about the [[Main Page]]. Old comments on this page get moved to the [[Talk:Main Page/Archive|archive]] from time to time.
  
* So I was thinking, how do you guys feel about having the categories on the front page, using a cloud format, aka, more frequency/more articles bigger font? [[User:Stephen.wang|wang]] 20:46, 19 March 2007 (EDT)
+
For more general help, questions and discussion, please head over to the [[WikiCU:Community portal|community portal]] or the [[WikiCU:Editors bulletin board|editors bulletin board]].
:* Sounds good. Maybe something like this: http://www.umasswiki.com/wiki/Main_Page. If you want to mess around, head over to [[Main Page 2]]. I'll try it out tonight if no one else has given it a shot by then. [[User:Admin|Admin]] 07:29, 20 March 2007 (EDT)
 
::* I'm trying to figure out how to get a weighted list like on Flickr or last.fm . It could go by number of number of page views, or number of pages under a category, etc. I don't know if we could include a tag cloud with the wikisoftware... hmmm [[User:Stephen.wang|wang]] 23:28, 21 March 2007 (EDT)
 
:::* Looking into it right now. I think it should be possible. [[User:Admin|Admin]] 18:15, 23 March 2007 (EDT)
 
::::* Done! I've found two options. Which is better? I prefer the second one because I don't like the idea of having to categorize stuff into a weird category called CategoryOfTopics. [[User:Admin|Admin]] 18:40, 23 March 2007 (EDT)
 
 
 
=== Option 1: category cloud for all categories in Category:CategoryOfTopics ===
 
<category-cloud category="CategoryOfTopics" minsize="80" maxsize="150"></category-cloud>
 
More parameters:
 
* minsize... The font size, in percentage, that the small category will have. Defaults to 80.
 
* maxsize... The font size, also as a percentage, that the largest category will have. Defaults to 125.
 
* order... The order of the categories. Defaults to "name" but may also be "count".
 
* class... A CSS class to put into the outer div generated.
 
* style... The contents of this optional attribute will be placed in a style attribute of the outermost div tag.
 
 
 
=== Option 2: category cloud for all categories with more than "min_count" articles ===
 
<tagcloud>
 
min_count=15
 
min_size=70
 
increase_factor=80
 
border_color=#808080
 
background_color=#f1f5fc
 
color=#7b88a3
 
exclude=disambiguation
 
</tagcloud>
 
More parameters:
 
* min_count... Only display a tag for the category that contain at least min_count articles. Default value: 0.
 
* min_size... Defines the minimum text size. Default value: 77.
 
* increase_factor... Defines the factor to increase the text size by the number of articles. Default value: 100.
 
* border_color... Defines the border color. Default value: #eeeeee.
 
* color... Defines the tag text color. Default value: #0052cb.
 
* background_color... Defines the cloud background color. Default value: #fdfdfd.
 
* exclude... Defined the categories you do not want to be displayed. Use comma to separate the categories, as follows: exclude=television,celebrities,food,yoga
 
 
 
=== Votes/comments ===
 
* '''Option 2'''. [[User:Admin|Admin]] 18:40, 23 March 2007 (EDT)
 
 
 
== Now with transclusion! ==
 
 
 
* In anticipation of an influx of users, I'm going to increase the protection on the main page so that only admins can edit the layout. The content comes from [[Intro]], [[Links]], and the relevant [[Calendar]] page. For the time being, I'll leave those editable by anyone. [[User:Admin|Admin]] 18:15, 23 March 2007 (EDT)
 
:* You may also have noticed than only registered users can now edit the wiki. This is for two reasons. First, we were getting some spam. Second, I want to encourage people to register. I don't anticipate making it any more stringent than that. I think it would be a great shame and even downright harmful to require columbia.edu email addresses or prevent off-campus people from contributing. I'd welcome any support or criticism on this issue. [[User:Admin|Admin]] 18:15, 23 March 2007 (EDT)
 

Latest revision as of 14:43, 20 April 2014

This page is for questions, comments and discussion about the Main Page. Old comments on this page get moved to the archive from time to time.

For more general help, questions and discussion, please head over to the community portal or the editors bulletin board.