Help Wikitravel grow by contributing to an article! Learn how.
New users, please see Help or go to the Pub to ask questions.

Wikitravel:How to add travel news

From Wikitravel
Revision as of 01:13, 24 March 2009 by JYolkowski (Talk | contribs)

Jump to: navigation, search

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 only the first word and any proper nouns, 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 [http://www.siamparagon.co.th/ Siam Paragon] opposite [[Bangkok/Sukhumvit|Siam Square]], has opened. The mall also features South-East 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