Jump to content

Template:WikiProject Travel and Tourism/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
remove nested as obsolete
m top: {{High-use}}
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Template shortcut|WPTOUR|WPTOURISM}}


==Usage==
==Usage==
Just add {{tnull|TourismProject|2=class=|3=importance=}} to the talk pages of tourism related articles. Additional parameters include:
Just add {{tnull|WikiProject Travel and Tourism&nbsp;|2=class=&nbsp;|3=importance=&nbsp;}} to the top of the '''talk''' page of any [[travel]] or [[tourism]] related articles, placing them automatically into [[:Category:WikiProject Travel and Tourism articles]].

<pre>
Additional parameters include:
{{TourismProject

|class=
<syntaxhighlight lang="wikitext" style="overflow:auto;">
|importance=
{{WikiProject Travel and Tourism
|attention=
|class=
|needs-infobox=
|importance=
|small =
|attention=
|needs-infobox=
|listas=

<!-- Task forces -->
|hotel=
|hotel-importance=
|vacation=
}}
}}
</syntaxhighlight>
</pre>

===Parameters===
====General====
{{WPBannerDoc|attention|PROJECT=Travel and Tourism}}
{{WPBannerDoc|needs-infobox|PROJECT=Travel and Tourism}}
{{WPBannerDoc|category}}
{{WPBannerDoc|listas|first=John|last=Doe}}

====Assessment====
{{WPBannerDoc|class|PROJECT=Travel and Tourism|QUALITY_SCALE=inline|ASSESSMENT_LINK=Wikipedia:WikiProject Travel and Tourism/Assessment|class_values={{WPBannerDoc/class mask
|FQS=yes
|redirect=yes
|portal=yes
}}}}
{{WPBannerDoc|importance|PROJECT=Travel and Tourism|ASSESSMENT_LINK=Wikipedia:WikiProject Travel and Tourism/Assessment}}

====Task forces====
{{WPBannerDoc/tf|hotel|TF_LINK=Wikipedia:WikiProject Hotels |TF_NAME=WikiProject Hotels |TF_QUALITY= Hotels articles|tf importance=hotel-importance |TF_ASSESSMENT_CAT=Hotels articles |TF_MAIN_CAT=WikiProject Hotels articles }}
{{WPBannerDoc/tf|vacation|TF_LINK=Wikipedia:WikiProject Vacations|TF_NAME=WikiProject Vacations |TF_MAIN_CAT=WikiProject Vacations articles }}

===Aliases===
{{WPBannerDoc/alias|hotel|hotels}}
{{WPBannerDoc/alias|hotel-importance|hotels-importance}}
{{WPBannerDoc/alias|vacation|vacations}}

==See also==
* {{tl|User WPTOUR}}
* {{tl|WikiProject Hotels}}


<includeonly>
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
{{DEFAULTSORT:Wikiproject Travel And Tourism}}
[[Category:WikiProject templates|{{PAGENAME}}]]
[[Category:WikiProject Tourism| ]]
[[Category:Travel and tourism templates]]
[[Category:WikiProject Travel and Tourism|τ]]
</includeonly>
[[Category:Travel WikiProjects|τ]]
}}</includeonly>

Latest revision as of 22:24, 26 December 2023

Usage

[edit]

Just add {{WikiProject Travel and Tourism |class= |importance= }} to the top of the talk page of any travel or tourism related articles, placing them automatically into Category:WikiProject Travel and Tourism articles.

Additional parameters include:

{{WikiProject Travel and Tourism
|class=
|importance=
|attention=
|needs-infobox=
|listas=

<!-- Task forces -->
|hotel=
 |hotel-importance=
|vacation=
}}

Parameters

[edit]

General

[edit]
  • attention – set |attention=yes if the article needs immediate attention from experienced editors. Use only if another parameter does not cover the need for attention; this should be used sparingly. It is strongly encouraged to also add a section to the talk page explaining what needs attention.
  • needs-infobox – set |needs-infobox=yes if the article needs an infobox. Remember that infoboxes are not suitable for all articles, and can overwhelm short articles.
  • category – set |category=no if, and only if, a banner is being used for demonstration or testing purposes, to prevent unnecessary or undesirable categorization. Otherwise, omit this parameter.
  • listas – This parameter, which is the equivalent of the DEFAULTSORT sortkey that should be placed on all biographical articles, is a sortkey for the article talk page (e.g. for John Doe, use |listas=Doe, John so that the talk page will show up in the D's and not the J's of the various assessment and administrative categories). This is important because it is one source used by those who set DEFAULTSORT on the article; consider also setting the DEFAULTSORT for the article when setting this parameter. For more information about this, please see Wikipedia:Categorization of people § Ordering names in a category.
    If the article is using {{WikiProject banner shell}} then it is preferable to add |listas= to that template instead of a project banner template. Putting the parameter on more than one template is not required.

Assessment

[edit]
  • class – valid values are fa, a, ga, b, c, start, stub, fl, list, category, disambig, draft, file, portal, project, redirect, template, na (case-insensitive). See the project's quality scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave |class= blank or omit the parameter.
  • importance – valid values are: top, high, mid, low, na (case-insensitive). See the project's importance scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave |importance= blank or omit the parameter.

Task forces

[edit]

Aliases

[edit]
  • The parameter |hotels= is recognised as an alias for |hotel=. If both |hotel= and |hotels= are present, |hotels= is ignored.
  • The parameter |hotels-importance= is recognised as an alias for |hotel-importance=. If both |hotel-importance= and |hotels-importance= are present, |hotels-importance= is ignored.
  • The parameter |vacations= is recognised as an alias for |vacation=. If both |vacation= and |vacations= are present, |vacations= is ignored.

See also

[edit]