Help Wikitravel grow by contributing to an article! Learn how.

Difference between revisions of "Wikitravel:How to add travel news"

From Wikitravel
Jump to: navigation, search
(updated to use newsitem)
(siam paragon is in Bangkok/Siam Square :-))
(21 intermediate revisions by 15 users not shown)
Line 1: Line 1:
Here are the steps to follow for adding a [[Travel news]] item onto the [[Main Page]].
+
==Adding news to Travel news==
  
* Edit the Main Page's Travel News section by clicking [http://wikitravel.org/wiki/en/index.php?title=Main_Page&action=edit&section=15 here].  The content will look like this:
+
To add a news item to [[Travel news]], please use '''[[:Template:Newsitem]]'''.  The syntax is as follows:
  
<nowiki> ==[[Travel news|Travel News]]==
+
: <nowiki>{{</nowiki>'''newsitem'''|''News Headline''|''Daynumber Monthname Year''|''Content of news item''}}
{{newsleftdivider}}
+
{{newsitem|Headline 1|...}}
+
+
{{newsmiddivider}}
+
{{newsitem|Headline 2|...}}
+
+
{{newsleftdivider}}
+
{{newsitem|Headline 3|...}}</nowiki>
+
  
* Move the first item into the second slot, the second into the third slot, and delete the third one.  Do not move the dividers!  The end result should look like this:
+
Please choose a '''snappy headline''' of around 5 words maximum.  Capitalize like a news headline (all nouns, pronouns and verbs, and all other words of four or more letters), do not add punctuation at the end.
  
<nowiki> ==[[Travel news|Travel News]]==
+
Here is an example of what to enter:
{{newsleftdivider}}
+
+
{{newsmiddivider}}
+
</nowiki><font color="red"><nowiki>{{newsitem|Headline 1|...}}</nowiki></font><nowiki>
+
+
{{newsleftdivider}}
+
</nowiki><font color="red"><nowiki>{{newsitem|Headline 2|...}}</nowiki></font>
+
  
* Now add your own item into the empty slot up top, between <nowiki>{{newsleftdivider}}</nowiki> and <nowiki>{{newsmiddivider}}</nowiki>.  Please keep it short and sweet: use a snappy headline (5 words maximum) and two-three short sentences in the content.
+
: <nowiki>{{newsitem|Paragon Bangkok Opens|9 December 2005|[[Bangkok]]'s largest shopping mall, the immense Siam Paragon [http://www.siamparagon.co.th/] opposite [[Bangkok/Siam Square|Siam Square]], has opened. The mall also features Southeast Asia's largest aquarium.}}</nowiki>
  
  <nowiki> ==[[Travel news|Travel News]]==
+
And this is how it looks after you save:
{{newsleftdivider}}
+
 
</nowiki><font color="red"><nowiki>{{newsitem|My headline|31 February 3131|Really important!}}</nowiki></font><nowiki>
+
{{newsitem|Paragon Bangkok Opens|9 December 2005|[[Bangkok]]'s largest shopping mall, the immense Siam Paragon [http://www.siamparagon.co.th/] opposite [[Bangkok/Siam Square|Siam Square]], has opened. The mall also features Southeast Asia's largest aquarium.}}
+
 
{{newsmiddivider}}
+
Note that the third parameter, the description, will appear when the template is transcluded on [[Travel news]].
{{newsitem|Headline 1|...}}
+
 
+
==Adding news to Main Page==
{{newsleftdivider}}
+
 
{{newsitem|Headline 2|...}}</nowiki>
+
Here are the steps to follow for adding a [[Travel news]] item onto the [[Main Page]].  Not all news items need to be posted there, priority should be given to important, unexpected or urgent events affecting travel.  Please also cut down the item to only 2-3 sentences.
 +
 
 +
* [http://wikitravel.org/wiki/en/index.php?title=Main_Page&action=edit Edit the main page].  The content will look like this:
 +
 
 +
  <nowiki><!-- Please see [[Wikitravel:How to add travel news]] for help on adding news items here. -->
 +
 
 +
{|
 +
|-
 +
| style="height:100%;border:1px solid #de8ca7;background-color:#fcf0f4;" valign="top" |
 +
<!-- Please see [[Wikitravel:How to add travel news]] for help on adding news items here. -->
 +
{| cellpadding="0" cellspacing="0" style="height:100%;width:100%;"
 +
| valign="top" style="padding:7px 7px 7px 7px;background-color:#fcf0f4;" |
 +
<div style="margin:0;background:#f7d4e0;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #de8ca7;text-align:left;color:#000;padding-left:0.4em;padding-top:0.2em;padding-bottom:0.2em;">[[Travel news|Travel alerts]]</div>
 +
{{newsitem|newsitem1|date1|description1}}
 +
{{newsitem|newsitem2|date2|description2}}
 +
{{newsitem|newsitem3|date3|description3}}
 +
...
 +
|-
 +
| valign="top" style="padding:7px 7px 7px 7px;background-color:#fcf0f4;" |
 +
<div style="margin:0;background:#f7d4e0;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #de8ca7;text-align:left;color:#000;padding-left:0.4em;padding-top:0.2em;padding-bottom:0.2em;">[[Travel news|Current and upcoming events]]</div>
 +
{{newsitem|newsitem4|date4|description4}}
 +
{{newsitem|newsitem5|date5|description5}}
 +
{{newsitem|newsitem6|date6|description6}}
 +
...
 +
|}
 +
 
 +
|}
 +
</nowiki>
 +
 
 +
* Determine whether your item fits better into the "Travel alerts" section or the "Current and upcoming events" section.  Add it immediately above the first item in that section and, if there are [[7+2|more than nine]] items in the section, remove the bottom item (also remove any bottom items that are out-of-date, regardless of whether there are nine items yet).  The end result should look like this, if you added a "Current and upcoming event":
 +
 
 +
<nowiki><!-- Please see [[Wikitravel:How to add travel news]] for help on adding news items here. -->
 +
 
 +
{|
 +
|-
 +
| style="height:100%;border:1px solid #de8ca7;background-color:#fcf0f4;" valign="top" |
 +
<!-- Please see [[Wikitravel:How to add travel news]] for help on adding news items here. -->
 +
{| cellpadding="0" cellspacing="0" style="height:100%;width:100%;"
 +
| valign="top" style="padding:7px 7px 7px 7px;background-color:#fcf0f4;" |
 +
<div style="margin:0;background:#f7d4e0;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #de8ca7;text-align:left;color:#000;padding-left:0.4em;padding-top:0.2em;padding-bottom:0.2em;">[[Travel news|Travel alerts]]</div>
 +
{{newsitem|newsitem1|date1|description1}}
 +
{{newsitem|newsitem2|date2|description2}}
 +
{{newsitem|newsitem3|date3|description3}}
 +
...
 +
|-
 +
| valign="top" style="padding:7px 7px 7px 7px;background-color:#fcf0f4;" |
 +
<div style="margin:0;background:#f7d4e0;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #de8ca7;text-align:left;color:#000;padding-left:0.4em;padding-top:0.2em;padding-bottom:0.2em;">[[Travel news|Current and upcoming events]]</div>
 +
{{newsitem|Your-new-item|today's-date|description}}
 +
{{newsitem|newsitem4|date4|description4}}
 +
{{newsitem|newsitem5|date5|description5}}
 +
{{newsitem|newsitem6|date6|description6}}
 +
...
 +
|}
 +
 
 +
|}</nowiki>
  
 
* Hit Save, then copy your news item into the [[Travel news]] page as well.  You're done!
 
* Hit Save, then copy your news item into the [[Travel news]] page as well.  You're done!
 +
 +
{{WikitravelDoc|help}}
 +
 +
[[de:Wikitravel:Reisenachrichten hinzufügen]]
 +
[[it:Wikitravel:Come aggiungere una notizia]]
 +
[[pt:Wikitravel:Como adicionar notícias de viagem]]

Revision as of 20:01, 17 September 2011

Adding news to Travel news

To add a news item to Travel news, please use Template:Newsitem. The syntax is as follows:

{{newsitem|News Headline|Daynumber Monthname Year|Content of news item}}

Please choose a snappy headline of around 5 words maximum. Capitalize like a news headline (all nouns, pronouns and verbs, and all other words of four or more letters), do not add punctuation at the end.

Here is an example of what to enter:

{{newsitem|Paragon Bangkok Opens|9 December 2005|[[Bangkok]]'s largest shopping mall, the immense Siam Paragon [http://www.siamparagon.co.th/] opposite [[Bangkok/Siam Square|Siam Square]], has opened. The mall also features Southeast Asia's largest aquarium.}}

And this is how it looks after you save:



Note that the third parameter, the description, will appear when the template is transcluded on Travel news.

Adding news to Main Page

Here are the steps to follow for adding a Travel news item onto the Main Page. Not all news items need to be posted there, priority should be given to important, unexpected or urgent events affecting travel. Please also cut down the item to only 2-3 sentences.

<!-- Please see [[Wikitravel:How to add travel news]] for help on adding news items here. -->

{|
|-
| style="height:100%;border:1px solid #de8ca7;background-color:#fcf0f4;" valign="top" |
<!-- Please see [[Wikitravel:How to add travel news]] for help on adding news items here. -->
{| cellpadding="0" cellspacing="0" style="height:100%;width:100%;"
| valign="top" style="padding:7px 7px 7px 7px;background-color:#fcf0f4;" |
<div style="margin:0;background:#f7d4e0;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #de8ca7;text-align:left;color:#000;padding-left:0.4em;padding-top:0.2em;padding-bottom:0.2em;">[[Travel news|Travel alerts]]</div>
{{newsitem|newsitem1|date1|description1}}
{{newsitem|newsitem2|date2|description2}}
{{newsitem|newsitem3|date3|description3}}
...
|-
| valign="top" style="padding:7px 7px 7px 7px;background-color:#fcf0f4;" |
<div style="margin:0;background:#f7d4e0;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #de8ca7;text-align:left;color:#000;padding-left:0.4em;padding-top:0.2em;padding-bottom:0.2em;">[[Travel news|Current and upcoming events]]</div>
{{newsitem|newsitem4|date4|description4}}
{{newsitem|newsitem5|date5|description5}}
{{newsitem|newsitem6|date6|description6}}
...
|}

|}

  • Determine whether your item fits better into the "Travel alerts" section or the "Current and upcoming events" section. Add it immediately above the first item in that section and, if there are more than nine items in the section, remove the bottom item (also remove any bottom items that are out-of-date, regardless of whether there are nine items yet). The end result should look like this, if you added a "Current and upcoming event":
<!-- Please see [[Wikitravel:How to add travel news]] for help on adding news items here. -->

{|
|-
| style="height:100%;border:1px solid #de8ca7;background-color:#fcf0f4;" valign="top" |
<!-- Please see [[Wikitravel:How to add travel news]] for help on adding news items here. -->
{| cellpadding="0" cellspacing="0" style="height:100%;width:100%;"
| valign="top" style="padding:7px 7px 7px 7px;background-color:#fcf0f4;" |
<div style="margin:0;background:#f7d4e0;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #de8ca7;text-align:left;color:#000;padding-left:0.4em;padding-top:0.2em;padding-bottom:0.2em;">[[Travel news|Travel alerts]]</div>
{{newsitem|newsitem1|date1|description1}}
{{newsitem|newsitem2|date2|description2}}
{{newsitem|newsitem3|date3|description3}}
...
|-
| valign="top" style="padding:7px 7px 7px 7px;background-color:#fcf0f4;" |
<div style="margin:0;background:#f7d4e0;font-family:sans-serif;font-size:120%;font-weight:bold;border:1px solid #de8ca7;text-align:left;color:#000;padding-left:0.4em;padding-top:0.2em;padding-bottom:0.2em;">[[Travel news|Current and upcoming events]]</div>
{{newsitem|Your-new-item|today's-date|description}}
{{newsitem|newsitem4|date4|description4}}
{{newsitem|newsitem5|date5|description5}}
{{newsitem|newsitem6|date6|description6}}
...
|}

|}
  • Hit Save, then copy your news item into the Travel news page as well. You're done!

Variants

Actions

Destination Docents

In other languages