This is a documentation subpage for Template:TripAdvisor. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template uses the Wikidata property:
- TripAdvisor ID (P3134) (see uses)
This template uses Lua: |
This external link template is underused, compared to the number of links to the site it represents (check here). Please help convert those links to make use of this template, for ease of tracking, and ease of interoperability with Wikidata. |
Usage
editThis template is for linking to Tripadvisor.
For a URL like https://www.tripadvisor.com/g670770-d4037786 the id is g670770-d4037786
All parameters are optional:
|id=
- ID from TripAdvisor URL. If no value is provided, the template will attempt to fetch one from Wikidata|title=
- text to display; defaults to page name|access-date=
- for use in citations (note: TripAdvisor may not be a reliable source)
Examples
edit{{TripAdvisor|g670770-d4037786|Saint Paul hermitage}}
- "Saint Paul hermitage". Tripadvisor.
{{TripAdvisor|g670770-d4037786|Saint Paul hermitage|2 September 2016}}
- "Saint Paul hermitage". Tripadvisor. Retrieved 2 September 2016.
{{TripAdvisor|id=g670770-d4037786|title=Saint Paul hermitage|accessdate=2 September 2016}}
- "Saint Paul hermitage". Tripadvisor. Retrieved 2 September 2016.
{{TripAdvisor}}
- rendering depends on page on which the template appears
Tracking categories
edit- template with ID
- Category:TripAdvisor same as Wikidata (14)
- Category:TripAdvisor different from Wikidata (0)
- Category:TripAdvisor not in Wikidata (233)
- template missing ID
- Category:TripAdvisor template with no id set (exists in template, not created)
See also
edit- {{User TripAdvisor}}