Difference between revisions of "Help:Add a news item"

From Heureka Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
<br>1. Create the page. The page name will be the news heading.
 
<br>1. Create the page. The page name will be the news heading.
 
<br>2. Add the following code  
 
<br>2. Add the following code  
  <nowiki>  
+
  <nowiki>[[newsdate::YYYY-MM-YY]].</nowiki>  
[[newsdate::YYYY-MM-YY]].</nowiki>  
 
 
  Your text...
 
  Your text...
 
  <nowiki>[[Category:News]]</nowiki>
 
  <nowiki>[[Category:News]]</nowiki>
 
<br>3. The tag <nowiki>[[newsdate::YYYY-MM-YY]]</nowiki> is the news date, and is important to register the news correctly.
 
<br>3. The tag <nowiki>[[newsdate::YYYY-MM-YY]]</nowiki> is the news date, and is important to register the news correctly.
 
<br>4. After editing, save the page. The main page must be refreshed ("refresh" tab to the right of the "edit" tab or key F5) in order to update the news list with the new item.
 
<br>4. After editing, save the page. The main page must be refreshed ("refresh" tab to the right of the "edit" tab or key F5) in order to update the news list with the new item.

Revision as of 08:50, 23 October 2008

To add a news item which will be displayed automatically under News, do the following:
1. Create the page. The page name will be the news heading.
2. Add the following code

[[newsdate::YYYY-MM-YY]]. 
Your text...
[[Category:News]]


3. The tag [[newsdate::YYYY-MM-YY]] is the news date, and is important to register the news correctly.
4. After editing, save the page. The main page must be refreshed ("refresh" tab to the right of the "edit" tab or key F5) in order to update the news list with the new item.