Template:TripAdvisor/doc
< Template:TripAdvisor
Revision as of 21:46, 28 November 2021 by Wikipedia>MJL (→Usage: access-date)
This is a documentation subpage for Template:TripAdvisor. It contains 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: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
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
This 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
{{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
- template with ID
- Category:TripAdvisor same as Wikidata (0)
- Category:TripAdvisor different from Wikidata (0)
- Category:TripAdvisor not in Wikidata (0)
- template missing ID
- Category:TripAdvisor template with no id set (exists in template, not created)
See also
- {{User TripAdvisor}}