Wikivoyage:RDF Expedition/Description
Appearance
This page is no longer active and is retained for historical reference. Either the page is no longer relevant or consensus on its purpose has become unclear. Do not assume content on this page is still correct or up-to-date. |
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.