[opensuse-marketing] New Template:Weekly news header
Today we created new template that is meant to create header of weekly news with relative clean way to change content: http://wiki.opensuse.org/Template:Weekly_news_header and http://wiki.opensuse.org/Weekly_news is the first issue that is using new template. As you can see in a documentation section structure is very simple: {{Weekly news header | |issue= | |hottopics= | }} In practice (issue 126) it looks like: {{Weekly news header|issue=126|hottopic= * [http://news.opensuse.org/2010/06/01/opensuse-forums-poised-to-support-the- next-release-11-3/ openSUSE Forums Poised to Support the next Release, 11.3.] * [http://news.opensuse.org/2010/05/31/boosters-umbrella-sprint-summary/ Boosters: Umbrella Sprint Summary] * [http://michal.hrusecky.net/index.php/blog/show/MySQL-in-openSUSE-11.3.html Michal Hrušecký: MySQL in openSUSE 11.3] * [http://tirania.org/blog/archive/2010/Jun-03.html Miguel de Icaza: First Beta of MonoTools 2 for VisualStudio] }} We achieved relative clean header without a lot of formatting characters that can make problems to editors. The main reason for change was extremely large table of content that is created automatically, forcing readers to scroll a lot before they can see actual content. The table was a bigger problem then scrolling, as it mixed almost never changing main sections with article titles that are different in each issue. To avoid this we created relative small content index on the right side pointing to the main Weekly news sections. In effect it is similar to real paper news where we can jump to the content we like by selecting second, middle, or last page without need to read all articles along the way. The new index is actually better then its paper relatives, as it will bring up exact section that we want to read, like newspaper with colored page edge. You select color and you are in wanted section :) -- Regards Rajko, -- To unsubscribe, e-mail: opensuse-marketing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-marketing+help@opensuse.org
On Saturday 05 June 2010 20:57:21 Rajko M. wrote:
As you can see in a documentation section structure is very simple:
{{Weekly news header | |issue= | |hottopics= | }}
As you can see from template in use, it is "hottopic" not "hottopics" like above :D -- Regards Rajko, -- To unsubscribe, e-mail: opensuse-marketing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-marketing+help@opensuse.org
-------- Original Message --------
Subject: [opensuse-marketing] New Template:Weekly news header
From: Rajko M.
Today we created new template that is meant to create header of weekly news with relative clean way to change content: http://wiki.opensuse.org/Template:Weekly_news_header and http://wiki.opensuse.org/Weekly_news is the first issue that is using new template.
Thanks, Rajko. The new template works well also in ja.o.o. However, I needed to add <br /> tags for line breaks in "Contents" info-box. See http://ja.opensuse.org/Template:Weekly_news_header @Translators If you want to update your translations in accordance with this update, you need to: * copy Template:Weekly_news_header (and Template:Weekly_news_header/doc) on wiki.o.o to $YOUR_LANG.o.o and translate some words in them for your $LANG. * update Template:Info on $YOUR_LANG.o.o in accordance with that of wiki.o.o (Note: this will change looks of all the pages, in which the template is used, on $YOUR_LANG.o.o) Best, -- _/_/ Satoru Matsumoto - openSUSE Member - Japan _/_/ _/_/ Marketing/Weekly News/openFATE Screening Team _/_/ _/_/ mail: helios_reds_at_gmx.net / irc: HeliosReds _/_/ _/_/ http://blog.zaq.ne.jp/opensuse/ _/_/ -- To unsubscribe, e-mail: opensuse-marketing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-marketing+help@opensuse.org
On Sunday 06 June 2010 10:21:05 Satoru Matsumoto wrote:
However, I needed to add <br /> tags for line breaks in "Contents" info-box. See http://ja.opensuse.org/Template:Weekly_news_header
The difference is in the syntax. You use * as a part of link name, ie. after vertical bar. [[#Planet SUSE|* Planet SUSE]] ^^^ which is producing plain links that can follow each other in the same line, and you need line break. I use * as a standard wiki markup for list item in a front of the whole expression: * [[#Planet SUSE|Planet SUSE]] Which is translated by MediaWiki in (unordered) list and there is no need for line break <br /> to move next entry in a new line. There is difference in space between lines with manual line break and list, and it comes from MediaWiki CSS. Which spacing works the best depends on size of your screen and how spacing is defined in your browser. On my screen list items are separated by 10px (11px FFox, ), normal lines by 7px (8px FFox). -- Regards Rajko, -- To unsubscribe, e-mail: opensuse-marketing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-marketing+help@opensuse.org
participants (2)
-
Rajko M.
-
Satoru Matsumoto