Beautiful banners are coming to every article and you can help!
Check out our guidelines and learn how to create your own!

Difference between revisions of "Wikitravel:RDF Expedition/Description"

From Wikitravel
Jump to: navigation, search
(update)
m (+WikitravelDoc|expeditions)
 
Line 22: Line 22:
  
 
* If no description element is used, a stock description based on the template at [[MediaWiki:travelguidedescription]] is used. If the article isn't a travel guide, the first text paragraph from an article is used as the HTML description.
 
* If no description element is used, a stock description based on the template at [[MediaWiki:travelguidedescription]] is used. If the article isn't a travel guide, the first text paragraph from an article is used as the HTML description.
 +
 +
 +
{{WikitravelDoc|expeditions}}

Latest revision as of 23:11, 12 August 2010

It can sometimes help automated processes to have a description of a page. We can show these descriptions in, say, the "description" meta tag for an HTML page, or in other metadata for other media.

Representation[edit]

The Dublin Core "description" element clearly fits the bill here.

Examples[edit]

For Toronto, we might have:

 <> dc:description "A travel guide to Toronto, Canada's largest city, including hotels, restaurants, and neighborhoods." .
 

Templates[edit]

The Template:Description can be used to add a description.

{{description|A travel guide to Toronto, Canada's largest city, including hotels, restaurants, and neighborhoods.}}

Other notes[edit]

  • If no description element is used, a stock description based on the template at MediaWiki:travelguidedescription is used. If the article isn't a travel guide, the first text paragraph from an article is used as the HTML description.

Variants

Actions

Destination Docents

In other languages