Help Wikitravel grow by contributing to an article! Learn how.
Difference between revisions of "Wikitravel:RDF Expedition/Description"
From Wikitravel
(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
Contents |
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.
[edit] Representation
The Dublin Core "description" element clearly fits the bill here.
[edit] Examples
For Toronto, we might have:
<> dc:description "A travel guide to Toronto, Canada's largest city, including hotels, restaurants, and neighborhoods." .
[edit] Templates
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.}}
[edit] Other notes
- 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.