Template:WikiProject Trains/doc: Difference between revisions
update to include refimprove parameter |
→Aliases: document all recognised aliases, and show correct precedence |
||
(20 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{High-use}} |
|||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
|||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
|||
{{esoteric}} |
|||
{{Lua|Module:Check for unknown parameters}} |
|||
{{Wikipedia:WikiProject Trains/nav}} |
{{Wikipedia:WikiProject Trains/nav}} |
||
== Usage == |
== Usage == |
||
The '''{{tl|WikiProject Trains}}''' project banner template should be added (''not'' [[WP:SUBST|subst:ed]]) to the talk page of every article within the scope of the project. While the template does not require any additional parameters, it has a number of optional ones that add various extra features to the banner. The full syntax is as follows: |
The '''{{tl|WikiProject Trains}}''' project banner template should be added (''not'' [[WP:SUBST|subst:ed]]) to the talk page of every article within the scope of the project. While the template does not require any additional parameters, it has a number of optional ones that add various extra features to the banner. To avoid needlessly cluttering up talk pages, it is usually appropriate to remove any unused parameters from the template. The full syntax is as follows: |
||
<div style="width: 300px; background: #dddddd; border: 1px solid black; padding:0.5em 1em 0.5em 1em;">< |
<div style="width: 300px; background: #dddddd; border: 1px solid black; padding:0.5em 1em 0.5em 1em;"><syntaxhighlight lang="wikitext"> |
||
{{WikiProject Trains |
{{WikiProject Trains |
||
| small = |
|||
| class = |
| class = |
||
| importance = |
| importance = |
||
| listas = |
|||
| portaldykdate = |
| portaldykdate = |
||
| portalSAweek = |
| portalSAweek = |
||
| portalSIweek = |
| portalSIweek = |
||
| needs-infobox = |
|||
| unref = |
| unref = |
||
| mapneeded = |
|||
| mapdetails = |
|||
| imageneeded = |
|||
| imagedetails = |
|||
| refimprove = |
| refimprove = |
||
| pr = |
|||
| oldpr = |
|||
| stations = |
| stations = |
||
| streetcars = |
|||
| streetcars-importance = |
|||
| subway = |
| subway = |
||
| subway-importance = |
| subway-importance = |
||
Line 33: | Line 35: | ||
| Scotland = |
| Scotland = |
||
| Scotland-importance = |
| Scotland-importance = |
||
| Underground = |
|||
| LUL-importance = |
|||
| NZR = |
| NZR = |
||
| NZR-importance = |
| NZR-importance = |
||
| WashingtonMetro = |
| WashingtonMetro = |
||
| WashingtonMetro-importance = |
|||
| Underground = |
|||
| |
| India = |
||
| India-importance = |
|||
| streetcars = |
|||
| streetcars-importance = |
|||
| SovMetro = |
| SovMetro = |
||
| Thomas = |
| Thomas = |
||
| Thomas-importance = |
| Thomas-importance = |
||
| Jamaica = |
|||
| Jamaica-importance = |
|||
| DE = |
| DE = |
||
| DE-importance = |
| DE-importance = |
||
| |
| maint = |
||
| India-importance = |
|||
| bycountry = |
| bycountry = |
||
| images = |
| images = |
||
| locos = |
| locos = |
||
| maint = |
|||
| maps = |
| maps = |
||
| model = |
|||
| monorail = |
| monorail = |
||
| operations = |
| operations = |
||
| passenger = |
| passenger = |
||
| portal = |
|||
| timelines = |
| timelines = |
||
| |
| portal = |
||
| |
| model = |
||
| imageneeded = |
|||
| Imagedetails = |
|||
| infoboxneeded = |
|||
| listas = |
|||
}} |
}} |
||
</ |
</syntaxhighlight></div> |
||
It is important that the capitalisation shown above be used. For example, using {{para|Streetcars|yes}} by mistake for {{para|streetcars|yes}} will fail to place the article within [[Wikipedia:WikiProject Streetcars|WikiProject Streetcars]]; similarly, using {{para|underground|yes}} instead of {{para|Underground|yes}} will not add the article to [[Wikipedia:WikiProject London Transport|WikiProject London Transport]]. |
It is important that the capitalisation shown above be used. For example, using {{para|Streetcars|yes}} by mistake for {{para|streetcars|yes}} will fail to place the article within [[Wikipedia:WikiProject Streetcars|WikiProject Streetcars]]; similarly, using {{para|underground|yes}} instead of {{para|Underground|yes}} will not add the article to [[Wikipedia:WikiProject London Transport|WikiProject London Transport]]. |
||
<!-- Alternate capitalisation recognised: Locos; Timelines; Mapneeded; Imageneeded; Stations; and as detailed under "Aliases" --> |
<!-- Alternate capitalisation recognised: Locos; Timelines; Mapneeded; Imageneeded; Stations; and as detailed under "Aliases" --> |
||
Line 71: | Line 69: | ||
<!-- Deprecated (synonyms exist): LT; LT-importance; needs-infobox; NYCS; NYCS-importance --> |
<!-- Deprecated (synonyms exist): LT; LT-importance; needs-infobox; NYCS; NYCS-importance --> |
||
==Assessment== |
|||
Template display formatting parameters: |
|||
{{hatnote|See [[Wikipedia:WikiProject Trains/Assessment|WikiProject Trains/Assessment]] for further instructions}} |
|||
* '''small''' - show the normal or reduced size template; shows the reduced size template if <code>small=yes</code>. |
|||
* '''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 Richard Trevithick, {{para|listas|Trevithick, Richard}}, so that the talk page will show up in the T's and not the R'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]].<br />It is not required if an earlier WikiProject template on the same page has its own {{para|listas}} set. |
|||
[[Wikipedia:WikiProject Trains/Assessment|Article assessment]] parameters: |
|||
* '''class''': |
|||
{{Assessment Class Summary |
|||
|banner = WikiProject Trains |
|||
|topic = rail transport |
|||
}} |
|||
==Parameters== |
|||
* '''importance''': |
|||
;General |
|||
{{Assessment Importance Summary |
|||
{{WPBannerDoc|class|PROJECT=Trains|ASSESSMENT_LINK=Wikipedia:WikiProject Trains/Assessment|QUALITY_SCALE=subpage}} |
|||
|banner = WikiProject Trains |
|||
{{WPBannerDoc|importance|PROJECT=Trains|ASSESSMENT_LINK=Wikipedia:WikiProject Trains/Assessment}} |
|||
|topic = rail transport |
|||
{{WPBannerDoc|listas|first=Richard|last=Trevithick}} |
|||
}} |
|||
{{WPBannerDoc|needs-infobox|PROJECT=Trains|INFOBOX_CAT=Rail transport articles needing infoboxes}} |
|||
{{WPBannerDoc/note|unref|NOTE_TEXT=if the article lacks [[Wikipedia:Citing sources|references]]|NOTE_CAT=Unreferenced rail transport articles}} |
|||
Portal appearance parameters: |
|||
{{WPBannerDoc/note|mapneeded|NOTE_TEXT=if the article needs a map. |
|||
* '''portaldykdate''' - the date when a fact from the associated article appeared in the "Did you know" section of [[Portal:Trains]]. |
|||
**'''mapdetails''' (appears only if mapneeded is set to yes) - Additional details to specify the kind of map information that is needed. |
|||
* '''portalSAweek''' - the week number and year when the article appeared in the "Selected article" section |
|||
|NOTE_CAT=Rail transport articles needing maps}} |
|||
* '''portalSIweek''' - the week number and year when the image appeared in the "Selected picture" section |
|||
{{WPBannerDoc/note|imageneeded|NOTE_TEXT=The article needs an image (other than a map). When any one or more of the following five are true: |
|||
Project work parameters (set them to "yes" to include them): |
|||
* '''unref''' - the article lacks [[Wikipedia:Citing sources|references]]; adds articles to [[:Category:Unreferenced rail transport articles]] |
|||
* '''refimprove''' - the article has some references, but does not have enough, or lacks sufficient footnotes to bibliographical citations; adds articles to [[:Category:Rail transport articles needing additional references]] (and to [[:Category:New York City public transportation articles needing additional references]] if {{para|NYPT|yes}}, and to [[:Category:Scotland Transport articles needing additional references]] if {{para|Scotland|yes}}) |
|||
* [[Wikipedia:WikiProject Trains/Peer review|Peer review]]: |
|||
** '''pr''' - Request a peer review; adds articles to [[:Category:Requests for rail transport peer review]] |
|||
** '''oldpr''' - Archived peer review; adds articles to [[:Category:Old requests for rail transport peer review]] |
|||
Subproject maintenance parameters (set them to "yes" to include them; note that these are ''not'' mutually exclusive): |
|||
* '''stations''' - [[Wikipedia:WikiProject Stations|WikiProject Stations]]; adds articles to {{cl|WikiProject Stations articles}} |
|||
{{WPBannerDoc/tf|streetcars|TF_LINK=Wikipedia:WikiProject Streetcars |TF_NAME=WikiProject Streetcars |TF_MAIN_CAT=WikiProject Streetcars articles |TF_QUALITY=yes |tf importance=streetcars-importance |TF_ASSESSMENT_CAT=Streetcars articles }} |
|||
{{WPBannerDoc/tf|subway|TF_LINK=Wikipedia:WikiProject Rapid transit |TF_NAME=WikiProject Rapid transit |TF_QUALITY=yes |tf importance=subway-importance |TF_ASSESSMENT_CAT=Rapid transit articles |TF_MAIN_CAT=WikiProject Rapid transit }} |
|||
* '''NYCS''' or '''NYPT''' - [[Wikipedia:WikiProject New York City Public Transportation|WikiProject New York City Public Transportation]] |
|||
** '''NYCS-importance''' or '''NYPT-importance''' (only used if <code>NYCS=yes</code> or <code>NYPT=yes</code> is set; uses the same values as <code>importance</code>) - Importance ratings within [[Wikipedia:WikiProject New York City Public Transportation|WikiProject New York City Public Transportation]] |
|||
* '''Japan''' - [[Wikipedia:WikiProject Trains in Japan|WikiProject Trains in Japan]]; adds articles to the appropriate subcategory of [[:Category:WikiProject Trains in Japan articles by quality]] |
|||
* '''UK''' - [[Wikipedia:WikiProject UK Railways|WikiProject UK Railways]] |
|||
** '''UK-importance''' (only used if <code>UK=yes</code> is set; uses the same values as <code>importance</code>) - Importance ratings within [[Wikipedia:WikiProject UK Railways|WikiProject UK Railways]] |
|||
* '''UKTrams''' - [[Wikipedia:WikiProject UK Trams|WikiProject UK Trams]] |
|||
** '''UKTrams-importance''' (only used if <code>UKTrams=yes</code> is set; uses the same values as <code>importance</code>) - Importance ratings within [[Wikipedia:WikiProject UK Trams|WikiProject UK Trams]] |
|||
* '''Scotland''' - [[Wikipedia:WikiProject Transport in Scotland|WikiProject Transport in Scotland]]; adds articles to [[:Category:WikiProject Transport in Scotland]] |
|||
** '''Scotland-importance''' (only used if <code>Scotland=yes</code> is set; uses the same values as <code>importance</code>) - Importance ratings within [[Wikipedia:WikiProject Transport in Scotland|WikiProject Transport in Scotland]] |
|||
* '''NZR''' - [[Wikipedia:WikiProject NZR|WikiProject New Zealand Railways]] |
|||
** '''NZR-importance''' (only used if <code>NZR=yes</code> is set; uses the same values as <code>importance</code>) - Importance ratings within [[Wikipedia:WikiProject NZR|WikiProject New Zealand Railways]] |
|||
* '''WashingtonMetro''' - [[Wikipedia:WikiProject Washington Metro|WikiProject Washington Metro]] |
|||
* '''Underground''' - [[Wikipedia:WikiProject London Transport|WikiProject London Transport]]; adds articles to [[:Category:WikiProject London Transport articles]] and also to the appropriate subcategory of [[:Category:London Transport articles by quality]] based on the <code>class</code> parameter |
|||
** '''LUL-importance''' (only used if <code>Underground=yes</code> is set; uses the same values as <code>importance</code>) - Importance ratings within [[Wikipedia:WikiProject London Transport|WikiProject London Transport]]; adds pages to the appropriate subcategory of [[:Category:London Transport articles by importance]] |
|||
* '''SovMetro''' - [[Wikipedia:WikiProject Metros of the former Soviet Union|WikiProject Metros of the former Soviet Union]]; adds articles to the appropriate subcategory of [[:Category:Metros of the former Soviet Union articles by quality]] |
|||
{{WPBannerDoc/tf|Thomas|TF_LINK=Wikipedia:WikiProject Thomas |TF_NAME=WikiProject Thomas |TF_QUALITY=yes |tf importance=Thomas-importance |TF_ASSESSMENT_CAT=Thomas articles }} |
|||
* '''Jamaica''' - [[Wikipedia:WikiProject Rail transport in Jamaica|WikiProject Rail transport in Jamaica]]; adds articles to the appropriate subcategory of [[:Category:Rail transport in Jamaica articles by quality]] |
|||
** '''Jamaica-importance''' (only used if <code>Jamaica=yes</code> is set; uses the same values as <code>importance</code>) - Importance ratings within [[Wikipedia:WikiProject Rail transport in Jamaica|WikiProject Rail transport in Jamaica]]; adds pages to the appropriate subcategory of [[:Category:Rail transport in Jamaica articles by importance]] |
|||
* '''India''' - [[Wikipedia:WikiProject Indian railways|WikiProject Indian railways]]; adds articles to the appropriate subcategory of [[:Category:Indian railways articles by quality]] |
|||
** '''India-importance''' (only used if <code>India=yes</code> is set; uses same values as <code>importance</code>) - Importance ratings within [[Wikipedia:WikiProject Indian railways|WikiProject Indian railways]]; adds pages to the appropriate subcategory of [[:Category:Indian railways articles by importance]] |
|||
Task force maintenance parameters (set them to "yes" to include them): |
|||
* '''DE''' - [[Wikipedia:WikiProject Trains/Rail transport in Germany task force|Rail transport in Germany task force]]; adds articles to [[:Category:Rail transport in Germany task force articles]] |
|||
** '''DE-importance''' - Importance within the Rail transport in Germany task force; |
|||
* '''bycountry''' - [[Wikipedia:WikiProject Trains/By country series task force|By country series task force]]; adds articles to [[:Category:Rail transport by country series task force articles]] |
|||
* '''images''' - [[Wikipedia:WikiProject Trains/Images task force|Images task force]] |
|||
* '''locos''' - [[Wikipedia:WikiProject Trains/Locomotives task force|Locomotives task force]]; adds articles to [[:Category:Locomotives task force articles]] |
|||
* '''maint''' - [[Wikipedia:WikiProject Trains/Article maintenance task force|Article maintenance task force]]; adds articles to [[:Category:Article maintenance task force articles]] |
|||
* '''maps''' - [[Wikipedia:WikiProject Trains/Maps task force|Maps task force]]; adds articles to [[:Category:Trains project maps task force articles]]. |
|||
* '''model''' - [[Wikipedia:WikiProject Trains/Rail transport modelling task force|Rail transport modelling task force]]; adds articles to [[:Category:Rail transport modelling task force articles]]. |
|||
* '''monorail''' - [[Wikipedia:WikiProject Trains/Monorail task force|Monorail task force]]; adds articles to [[:Category:Monorail task force articles]] |
|||
* '''operations''' - [[Wikipedia:WikiProject Trains/Operations task force|Operations task force]]; adds articles to [[:Category:Operations task force articles]] |
|||
* '''passenger''' - [[Wikipedia:WikiProject Trains/Passenger trains task force|Passenger trains task force]]; adds articles to [[:Category:Passenger trains task force articles]] |
|||
* '''portal''' - [[Wikipedia:WikiProject Trains/Portal task force|Portal task force]]; adds articles to [[:Category:Trains portal task force articles]] |
|||
* '''timelines''' - [[Wikipedia:WikiProject Trains/Timelines task force|Timelines task force]]; adds articles to [[:Category:Rail transport timelines task force articles]] |
|||
Miscellaneous maintenance parameters (set them to "yes" to include them): |
|||
* '''mapneeded''' - The article needs a map; adds articles to {{cl|Rail transport articles needing maps}}. |
|||
** '''Mapdetails''' (appears only if Mapneeded is set to yes) - Additional details to specify the kind of map information that is needed. |
|||
* '''imageneeded''' - The article needs an image (other than a map); adds articles to [[:Category:Wikipedia requested images of rail transport]], except when any one or more of the following five are true: |
|||
*: when {{para|DE|yes}} is set, adds articles to {{cl|Wikipedia requested images of rail transport in Germany}}; |
*: when {{para|DE|yes}} is set, adds articles to {{cl|Wikipedia requested images of rail transport in Germany}}; |
||
*: when {{para|locos|yes}} is set, adds articles to {{cl|Wikipedia requested images of locomotives}}; |
*: when {{para|locos|yes}} is set, adds articles to {{cl|Wikipedia requested images of locomotives}}; |
||
Line 144: | Line 88: | ||
*: when {{para|stations|yes}} is set, adds articles to {{cl|Wikipedia requested images of train stations}}; |
*: when {{para|stations|yes}} is set, adds articles to {{cl|Wikipedia requested images of train stations}}; |
||
*: when {{para|UK|yes}} is set, adds articles to {{cl|Wikipedia requested images of rail transport in the United Kingdom}}. |
*: when {{para|UK|yes}} is set, adds articles to {{cl|Wikipedia requested images of rail transport in the United Kingdom}}. |
||
** ''' |
** '''imagedetails''' (appears only if imageneeded is set to yes) - Additional details to describe the image that is requested.|NOTE_CAT=Wikipedia requested images of rail transport}} |
||
{{WPBannerDoc/note|refimprove|NOTE_TEXT=if the article has some references, but does not have enough, or lacks sufficient footnotes to bibliographical citations. Adds articles to [[:Category:New York City public transportation articles needing additional references]] if {{para|NYPT|yes}}, and to [[:Category:Scotland Transport articles needing additional references]] if {{para|Scotland|yes}}.|NOTE_CAT=Rail transport articles needing additional references}} |
|||
* '''infoboxneeded''' - The article needed an infobox; adds articles to [[:Category:Rail transport articles needing infoboxes]]. |
|||
{{WPBannerDoc|category}} |
|||
To avoid needlessly cluttering up talk pages, it is usually appropriate to remove any unused parameters from the template. |
|||
;Portal appearance |
|||
* '''portaldykdate''' - the date when a fact from the associated article appeared in the "Did you know" section of [[Portal:Trains]]. |
|||
* '''portalSAweek''' - the week number and year when the article appeared in the "Selected article" section |
|||
* '''portalSIweek''' - the week number and year when the image appeared in the "Selected picture" section |
|||
;Task forces |
|||
Subproject maintenance parameters (set them to "yes" to include them; note that these are ''not'' mutually exclusive): |
|||
{{WPBannerDoc/tf|stations|TF_LINK=Wikipedia:WikiProject Stations |TF_NAME=WikiProject Stations|TF_QUALITY=yes |TF_ASSESSMENT_CAT=Stations articles |TF_MAIN_CAT=WikiProject Stations articles}} |
|||
{{WPBannerDoc/tf|subway|TF_LINK=Wikipedia:WikiProject Rapid transit |TF_NAME=WikiProject Rapid transit |TF_QUALITY=yes |tf importance=subway-importance |TF_ASSESSMENT_CAT=Rapid transit articles |TF_MAIN_CAT=WikiProject Rapid transit articles}} |
|||
{{WPBannerDoc/tf|NYPT|TF_LINK=Wikipedia:WikiProject New York City Public Transportation |TF_NAME=WikiProject New York City Public Transportation|TF_QUALITY=yes |tf importance=NYPT-importance|TF_ASSESSMENT_CAT=New York City public transportation articles |TF_MAIN_CAT=All New York City public transportation articles}} |
|||
{{WPBannerDoc/tf|Japan|TF_LINK=Wikipedia:WikiProject Trains in Japan |TF_NAME=WikiProject Trains in Japan |TF_QUALITY=yes |TF_ASSESSMENT_CAT=WikiProject Trains in Japan articles}} |
|||
{{WPBannerDoc/tf|UK|TF_LINK=Wikipedia:WikiProject UK Railways |TF_NAME=WikiProject UK Railways |TF_QUALITY=yes |tf importance=UK-importance |TF_ASSESSMENT_CAT=UK Railways articles |TF_MAIN_CAT= }} |
|||
{{WPBannerDoc/tf|UKTrams|TF_LINK=Wikipedia:WikiProject UK Trams |TF_NAME=WikiProject UK Trams |TF_QUALITY=yes |tf importance=UKTrams-importance |TF_ASSESSMENT_CAT=UK Trams articles |TF_MAIN_CAT= }} |
|||
{{WPBannerDoc/tf|Scotland|TF_LINK=Wikipedia:WikiProject Transport in Scotland |TF_NAME=WikiProject Transport in Scotland |TF_QUALITY=yes |tf importance=Scotland-importance|TF_ASSESSMENT_CAT= Scotland Transport articles|TF_MAIN_CAT= }} |
|||
{{WPBannerDoc/tf|Underground|TF_LINK=Wikipedia:WikiProject London Transport|TF_NAME=WikiProject London Transport |TF_QUALITY=yes |tf importance=LUL-importance|TF_ASSESSMENT_CAT= London Transport articles|TF_MAIN_CAT=WikiProject London Transport articles}} |
|||
{{WPBannerDoc/tf|NZR|TF_LINK=Wikipedia:WikiProject New Zealand Railways|TF_NAME=WikiProject New Zealand Railways |TF_QUALITY=yes |tf importance=NZR-importance|TF_ASSESSMENT_CAT=New Zealand Railways articles|TF_MAIN_CAT=}} |
|||
{{WPBannerDoc/tf|WashingtonMetro|TF_LINK=Wikipedia:WikiProject Washington Metro|TF_NAME=WikiProject Washington Metro |TF_QUALITY=yes |tf importance=WashingtonMetro-importance|TF_ASSESSMENT_CAT=Washington Metro articles|TF_MAIN_CAT=WikiProject Washington Metro articles}} |
|||
{{WPBannerDoc/tf|India|TF_LINK=Wikipedia:WikiProject Indian railways|TF_NAME=WikiProject Indian railways |TF_QUALITY=yes |tf importance=India-importance|TF_ASSESSMENT_CAT=Indian railways articles|TF_MAIN_CAT=WikiProject Indian railways articles}} |
|||
{{WPBannerDoc/tf|streetcars|TF_LINK=Wikipedia:WikiProject Streetcars |TF_NAME=WikiProject Streetcars |TF_MAIN_CAT=WikiProject Streetcars articles |TF_QUALITY=yes |tf importance=streetcars-importance |TF_ASSESSMENT_CAT=Streetcars articles}} |
|||
{{WPBannerDoc/tf|SovMetro|TF_LINK=Wikipedia:WikiProject Metros of the former Soviet Union|TF_NAME=WikiProject Metros of the former Soviet Union |TF_QUALITY=yes |tf importance=|TF_ASSESSMENT_CAT=Metros of the former Soviet Union articles|TF_MAIN_CAT=}} |
|||
{{WPBannerDoc/tf|Thomas|TF_LINK=Wikipedia:WikiProject Animation/Thomas & Friends task force|TF_NAME=WikiProject Thomas |TF_QUALITY=yes |tf importance=Thomas-importance |TF_ASSESSMENT_CAT=Thomas articles}} |
|||
{{WPBannerDoc/tf|DE|TF_LINK=Wikipedia:WikiProject Trains/Rail transport in Germany task force|TF_NAME=the Rail transport in Germany task force |TF_QUALITY=yes |tf importance=DE-importance|TF_ASSESSMENT_CAT=Rail transport in Germany articles|TF_MAIN_CAT=Rail transport in Germany task force articles}} |
|||
;Task force maintenance |
|||
{{WPBannerDoc/tf|maint|TF_LINK=Wikipedia:WikiProject Trains/Article maintenance task force|TF_NAME=the Article maintenance task force|TF_MAIN_CAT=Article maintenance task force articles}} |
|||
{{WPBannerDoc/tf|bycountry|TF_LINK=Wikipedia:WikiProject Trains/By country series task force|TF_NAME=the By country series task force|TF_MAIN_CAT=Rail transport by country series task force articles}} |
|||
{{WPBannerDoc/tf|images|TF_LINK=Wikipedia:WikiProject Trains/Images task force|TF_NAME=the Images task force}} |
|||
{{WPBannerDoc/tf|locos|TF_LINK=Wikipedia:WikiProject Trains/Locomotives task force|TF_NAME=the Locomotives task force|TF_MAIN_CAT=Locomotives task force articles}} |
|||
{{WPBannerDoc/tf|maps|TF_LINK=Wikipedia:WikiProject Trains/Maps task force|TF_NAME=the Maps task force|TF_MAIN_CAT=Trains project maps task force articles}} |
|||
{{WPBannerDoc/tf|monorail|TF_LINK=Wikipedia:WikiProject Trains/Monorail task force|TF_NAME=the Monorail task force|TF_MAIN_CAT=Monorail task force articles}} |
|||
{{WPBannerDoc/tf|operations|TF_LINK=Wikipedia:WikiProject Trains/Operations task force|TF_NAME=the Operations task force|TF_MAIN_CAT=Operations task force articles}} |
|||
{{WPBannerDoc/tf|passenger|TF_LINK=Wikipedia:WikiProject Trains/Passenger trains task force|TF_NAME=the Passenger trains task force|TF_MAIN_CAT=Passenger trains task force articles}} |
|||
{{WPBannerDoc/tf|timelines|TF_LINK=Wikipedia:WikiProject Trains/Timelines task force|TF_NAME=the Timelines task force|TF_MAIN_CAT=Rail transport timelines task force articles}} |
|||
{{WPBannerDoc/tf|portal|TF_LINK=Wikipedia:WikiProject Trains/Portal task force|TF_NAME=the Portal task force|TF_MAIN_CAT=Trains portal task force articles}} |
|||
{{WPBannerDoc/tf|model|TF_LINK=Wikipedia:WikiProject Trains/Rail transport modelling task force|TF_NAME=the Rail transport modelling task force|TF_MAIN_CAT=Rail transport modelling task force articles}} |
|||
===Aliases=== |
===Aliases=== |
||
{{WPBannerDoc/alias| |
{{WPBannerDoc/alias|Imagedetails|imagedetails}} |
||
{{WPBannerDoc/alias| |
{{WPBannerDoc/alias|infoboxneeded|needs-infobox}} |
||
{{WPBannerDoc/alias|locos|Locos}} |
|||
{{WPBannerDoc/alias|LT|Underground}} |
|||
{{WPBannerDoc/alias|LT-importance|LUL-importance}} |
|||
{{WPBannerDoc/alias|Mapdetails|mapdetails}} |
|||
{{WPBannerDoc/alias|needs-map|map-needed|map-requested|map|Mapneeded|mapneeded|multi=yes}} |
|||
{{WPBannerDoc/alias|needs-photo|needs-image|image-needed|photo-needed|image-requested|Imageneeded|imageneeded|multi=yes}} |
|||
{{WPBannerDoc/alias|NYPT|NYCS}} |
|||
{{WPBannerDoc/alias|NYPT-importance|NYCS-importance}} |
|||
{{WPBannerDoc/alias|passenger|Passenger}} |
|||
{{WPBannerDoc/alias|stations|Stations}} |
|||
{{WPBannerDoc/alias|subway|Subway}} |
|||
{{WPBannerDoc/alias|Subway-importance|subway-importance}} |
|||
{{WPBannerDoc/alias|timelines|Timelines}} |
|||
{{WPBannerDoc/alias|UK|uk}} |
|||
{{WPBannerDoc/alias|UK-importance|uk-importance}} |
|||
== Tracking category == |
|||
<includeonly> |
|||
* {{clc|Pages using WikiProject Trains with unknown parameters}} |
|||
<!-- ADD CATEGORIES BELOW THIS LINE --> |
|||
[[Category:WikiProject Trains| {{PAGENAME}}]] |
|||
<!-- ADD INTERWIKIS BELOW THIS LINE --> |
|||
< |
<includeonly>{{Sandbox other|| |
||
<!-- Categories below this line; interwikis at Wikidata --> |
|||
[[Category:WikiProject Trains| {{PAGENAME}}]] |
|||
[[Category:Templates that add a tracking category]] |
|||
}}</includeonly> |
Latest revision as of 17:18, 6 June 2024
This is a documentation subpage for Template:WikiProject Trains. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 148,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
[edit]The {{WikiProject Trains}} project banner template should be added (not subst:ed) to the talk page of every article within the scope of the project. While the template does not require any additional parameters, it has a number of optional ones that add various extra features to the banner. To avoid needlessly cluttering up talk pages, it is usually appropriate to remove any unused parameters from the template. The full syntax is as follows:
{{WikiProject Trains
| class =
| importance =
| listas =
| portaldykdate =
| portalSAweek =
| portalSIweek =
| needs-infobox =
| unref =
| mapneeded =
| mapdetails =
| imageneeded =
| imagedetails =
| refimprove =
| stations =
| subway =
| subway-importance =
| NYPT =
| NYPT-importance =
| Japan =
| UK =
| UK-importance =
| UKTrams =
| UKTrams-importance =
| Scotland =
| Scotland-importance =
| Underground =
| LUL-importance =
| NZR =
| NZR-importance =
| WashingtonMetro =
| WashingtonMetro-importance =
| India =
| India-importance =
| streetcars =
| streetcars-importance =
| SovMetro =
| Thomas =
| Thomas-importance =
| DE =
| DE-importance =
| maint =
| bycountry =
| images =
| locos =
| maps =
| monorail =
| operations =
| passenger =
| timelines =
| portal =
| model =
}}
It is important that the capitalisation shown above be used. For example, using |Streetcars=yes
by mistake for |streetcars=yes
will fail to place the article within WikiProject Streetcars; similarly, using |underground=yes
instead of |Underground=yes
will not add the article to WikiProject London Transport.
Assessment
[edit]Parameters
[edit]- General
- class – valid values are listed in the custom class mask. 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. - 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 Richard Trevithick, use
|listas=Trevithick, Richard
so that the talk page will show up in the T's and not the R'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. - 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.- This parameter populates Category:Rail transport articles needing infoboxes.
- unref – set
|unref=yes
if the article lacks references- This parameter populates Category:Unreferenced rail transport articles.
- mapneeded – set
|mapneeded=yes
if the article needs a map.- mapdetails (appears only if mapneeded is set to yes) - Additional details to specify the kind of map information that is needed.
- This parameter populates Category:Rail transport articles needing maps.
- imageneeded – set
|imageneeded=yes
The article needs an image (other than a map). When any one or more of the following five are true:- when
|DE=yes
is set, adds articles to Category:Wikipedia requested images of rail transport in Germany; - when
|locos=yes
is set, adds articles to Category:Wikipedia requested images of locomotives; - when
|NYCS=yes
or|NYPT=yes
is set, adds articles to Category:Wikipedia requested images of New York City public transportation; - when
|stations=yes
is set, adds articles to Category:Wikipedia requested images of train stations; - when
|UK=yes
is set, adds articles to Category:Wikipedia requested images of rail transport in the United Kingdom.
- imagedetails (appears only if imageneeded is set to yes) - Additional details to describe the image that is requested.
- This parameter populates Category:Wikipedia requested images of rail transport.
- when
- refimprove – set
|refimprove=yes
if the article has some references, but does not have enough, or lacks sufficient footnotes to bibliographical citations. Adds articles to Category:New York City public transportation articles needing additional references if|NYPT=yes
, and to Category:Scotland Transport articles needing additional references if|Scotland=yes
.- This parameter populates Category:Rail transport articles needing additional references.
- 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.
- Portal appearance
- portaldykdate - the date when a fact from the associated article appeared in the "Did you know" section of Portal:Trains.
- portalSAweek - the week number and year when the article appeared in the "Selected article" section
- portalSIweek - the week number and year when the image appeared in the "Selected picture" section
- Task forces
Subproject maintenance parameters (set them to "yes" to include them; note that these are not mutually exclusive):
- stations – set
|stations=yes
if the article is supported by WikiProject Stations.- This parameter populates Category:WikiProject Stations articles, and the relevant subcategory of Category:Stations articles by quality based upon the
|class=
parameter.
- This parameter populates Category:WikiProject Stations articles, and the relevant subcategory of Category:Stations articles by quality based upon the
- subway – set
|subway=yes
if the article is supported by WikiProject Rapid transit.- This parameter populates Category:WikiProject Rapid transit articles, and the relevant subcategory of Category:Rapid transit articles by quality based upon the
|class=
parameter. - subway-importance (only used if
|subway=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Rapid transit- This importance rating populates the relevant subcategory of Category:Rapid transit articles by importance.
- This parameter populates Category:WikiProject Rapid transit articles, and the relevant subcategory of Category:Rapid transit articles by quality based upon the
- NYPT – set
|NYPT=yes
if the article is supported by WikiProject New York City Public Transportation.- This parameter populates Category:All New York City public transportation articles, and the relevant subcategory of Category:New York City public transportation articles by quality based upon the
|class=
parameter. - NYPT-importance (only used if
|NYPT=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject New York City Public Transportation- This importance rating populates the relevant subcategory of Category:New York City public transportation articles by importance.
- This parameter populates Category:All New York City public transportation articles, and the relevant subcategory of Category:New York City public transportation articles by quality based upon the
- Japan – set
|Japan=yes
if the article is supported by WikiProject Trains in Japan.- This parameter populates the relevant subcategory of Category:WikiProject Trains in Japan articles by quality based upon the
|class=
parameter.
- This parameter populates the relevant subcategory of Category:WikiProject Trains in Japan articles by quality based upon the
- UK – set
|UK=yes
if the article is supported by WikiProject UK Railways.- This parameter populates the relevant subcategory of Category:UK Railways articles by quality based upon the
|class=
parameter. - UK-importance (only used if
|UK=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject UK Railways- This importance rating populates the relevant subcategory of Category:UK Railways articles by importance.
- This parameter populates the relevant subcategory of Category:UK Railways articles by quality based upon the
- UKTrams – set
|UKTrams=yes
if the article is supported by WikiProject UK Trams.- This parameter populates the relevant subcategory of Category:UK Trams articles by quality based upon the
|class=
parameter. - UKTrams-importance (only used if
|UKTrams=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject UK Trams- This importance rating populates the relevant subcategory of Category:UK Trams articles by importance.
- This parameter populates the relevant subcategory of Category:UK Trams articles by quality based upon the
- Scotland – set
|Scotland=yes
if the article is supported by WikiProject Transport in Scotland.- This parameter populates the relevant subcategory of Category:Scotland Transport articles by quality based upon the
|class=
parameter. - Scotland-importance (only used if
|Scotland=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Transport in Scotland- This importance rating populates the relevant subcategory of Category:Scotland Transport articles by importance.
- This parameter populates the relevant subcategory of Category:Scotland Transport articles by quality based upon the
- Underground – set
|Underground=yes
if the article is supported by WikiProject London Transport.- This parameter populates Category:WikiProject London Transport articles, and the relevant subcategory of Category:London Transport articles by quality based upon the
|class=
parameter. - LUL-importance (only used if
|Underground=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject London Transport- This importance rating populates the relevant subcategory of Category:London Transport articles by importance.
- This parameter populates Category:WikiProject London Transport articles, and the relevant subcategory of Category:London Transport articles by quality based upon the
- NZR – set
|NZR=yes
if the article is supported by WikiProject New Zealand Railways.- This parameter populates the relevant subcategory of Category:New Zealand Railways articles by quality based upon the
|class=
parameter. - NZR-importance (only used if
|NZR=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject New Zealand Railways- This importance rating populates the relevant subcategory of Category:New Zealand Railways articles by importance.
- This parameter populates the relevant subcategory of Category:New Zealand Railways articles by quality based upon the
- WashingtonMetro – set
|WashingtonMetro=yes
if the article is supported by WikiProject Washington Metro.- This parameter populates Category:WikiProject Washington Metro articles, and the relevant subcategory of Category:Washington Metro articles by quality based upon the
|class=
parameter. - WashingtonMetro-importance (only used if
|WashingtonMetro=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Washington Metro- This importance rating populates the relevant subcategory of Category:Washington Metro articles by importance.
- This parameter populates Category:WikiProject Washington Metro articles, and the relevant subcategory of Category:Washington Metro articles by quality based upon the
- India – set
|India=yes
if the article is supported by WikiProject Indian railways.- This parameter populates Category:WikiProject Indian railways articles, and the relevant subcategory of Category:Indian railways articles by quality based upon the
|class=
parameter. - India-importance (only used if
|India=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Indian railways- This importance rating populates the relevant subcategory of Category:Indian railways articles by importance.
- This parameter populates Category:WikiProject Indian railways articles, and the relevant subcategory of Category:Indian railways articles by quality based upon the
- streetcars – set
|streetcars=yes
if the article is supported by WikiProject Streetcars.- This parameter populates Category:WikiProject Streetcars articles, and the relevant subcategory of Category:Streetcars articles by quality based upon the
|class=
parameter. - streetcars-importance (only used if
|streetcars=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Streetcars- This importance rating populates the relevant subcategory of Category:Streetcars articles by importance.
- This parameter populates Category:WikiProject Streetcars articles, and the relevant subcategory of Category:Streetcars articles by quality based upon the
- SovMetro – set
|SovMetro=yes
if the article is supported by WikiProject Metros of the former Soviet Union.- This parameter populates the relevant subcategory of Category:Metros of the former Soviet Union articles by quality based upon the
|class=
parameter.
- This parameter populates the relevant subcategory of Category:Metros of the former Soviet Union articles by quality based upon the
- Thomas – set
|Thomas=yes
if the article is supported by WikiProject Thomas.- This parameter populates the relevant subcategory of Category:Thomas articles by quality based upon the
|class=
parameter. - Thomas-importance (only used if
|Thomas=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Thomas- This importance rating populates the relevant subcategory of Category:Thomas articles by importance.
- This parameter populates the relevant subcategory of Category:Thomas articles by quality based upon the
- DE – set
|DE=yes
if the article is supported by the Rail transport in Germany task force.- This parameter populates Category:Rail transport in Germany task force articles, and the relevant subcategory of Category:Rail transport in Germany articles by quality based upon the
|class=
parameter. - DE-importance (only used if
|DE=yes
is set; uses the same values as|importance=
) – Importance rating within the Rail transport in Germany task force- This importance rating populates the relevant subcategory of Category:Rail transport in Germany articles by importance.
- This parameter populates Category:Rail transport in Germany task force articles, and the relevant subcategory of Category:Rail transport in Germany articles by quality based upon the
- Task force maintenance
- maint – set
|maint=yes
if the article is supported by the Article maintenance task force.- This parameter populates Category:Article maintenance task force articles.
- bycountry – set
|bycountry=yes
if the article is supported by the By country series task force.- This parameter populates Category:Rail transport by country series task force articles.
- images – set
|images=yes
if the article is supported by the Images task force. - locos – set
|locos=yes
if the article is supported by the Locomotives task force.- This parameter populates Category:Locomotives task force articles.
- maps – set
|maps=yes
if the article is supported by the Maps task force.- This parameter populates Category:Trains project maps task force articles.
- monorail – set
|monorail=yes
if the article is supported by the Monorail task force.- This parameter populates Category:Monorail task force articles.
- operations – set
|operations=yes
if the article is supported by the Operations task force.- This parameter populates Category:Operations task force articles.
- passenger – set
|passenger=yes
if the article is supported by the Passenger trains task force.- This parameter populates Category:Passenger trains task force articles.
- timelines – set
|timelines=yes
if the article is supported by the Timelines task force.- This parameter populates Category:Rail transport timelines task force articles.
- portal – set
|portal=yes
if the article is supported by the Portal task force.- This parameter populates Category:Trains portal task force articles.
- model – set
|model=yes
if the article is supported by the Rail transport modelling task force.- This parameter populates Category:Rail transport modelling task force articles.
Aliases
[edit]- The parameter
|imagedetails=
is recognised as an alias for|Imagedetails=
. If both|Imagedetails=
and|imagedetails=
are present,|imagedetails=
is ignored.
- The parameter
|needs-infobox=
is recognised as an alias for|infoboxneeded=
. If both|infoboxneeded=
and|needs-infobox=
are present,|needs-infobox=
is ignored.
- The parameter
|Locos=
is recognised as an alias for|locos=
. If both|locos=
and|Locos=
are present,|Locos=
is ignored.
- The parameter
|Underground=
is recognised as an alias for|LT=
. If both|LT=
and|Underground=
are present,|Underground=
is ignored.
- The parameter
|LUL-importance=
is recognised as an alias for|LT-importance=
. If both|LT-importance=
and|LUL-importance=
are present,|LUL-importance=
is ignored.
- The parameter
|mapdetails=
is recognised as an alias for|Mapdetails=
. If both|Mapdetails=
and|mapdetails=
are present,|mapdetails=
is ignored.
- The parameters
|map-needed=
,|map-requested=
,|map=
and|Mapneeded=
are recognised as aliases for|needs-map=
. If more than one is present, the order of precedence, from highest to lowest, is:|needs-map=
→|map-needed=
→|map-requested=
→|map=
→|Mapneeded=
→|mapneeded=
. Parameters with lower precedence are ignored.
- The parameters
|needs-image=
,|image-needed=
,|photo-needed=
and|image-requested=
are recognised as aliases for|needs-photo=
. If more than one is present, the order of precedence, from highest to lowest, is:|needs-photo=
→|needs-image=
→|image-needed=
→|photo-needed=
→|image-requested=
→|Imageneeded=
. Parameters with lower precedence are ignored.
- The parameter
|NYCS=
is recognised as an alias for|NYPT=
. If both|NYPT=
and|NYCS=
are present,|NYCS=
is ignored.
- The parameter
|NYCS-importance=
is recognised as an alias for|NYPT-importance=
. If both|NYPT-importance=
and|NYCS-importance=
are present,|NYCS-importance=
is ignored.
- The parameter
|Passenger=
is recognised as an alias for|passenger=
. If both|passenger=
and|Passenger=
are present,|Passenger=
is ignored.
- The parameter
|Stations=
is recognised as an alias for|stations=
. If both|stations=
and|Stations=
are present,|Stations=
is ignored.
- The parameter
|Subway=
is recognised as an alias for|subway=
. If both|subway=
and|Subway=
are present,|Subway=
is ignored.
- The parameter
|subway-importance=
is recognised as an alias for|Subway-importance=
. If both|Subway-importance=
and|subway-importance=
are present,|subway-importance=
is ignored.
- The parameter
|Timelines=
is recognised as an alias for|timelines=
. If both|timelines=
and|Timelines=
are present,|Timelines=
is ignored.
- The parameter
|uk=
is recognised as an alias for|UK=
. If both|UK=
and|uk=
are present,|uk=
is ignored.
- The parameter
|uk-importance=
is recognised as an alias for|UK-importance=
. If both|UK-importance=
and|uk-importance=
are present,|uk-importance=
is ignored.
Tracking category
[edit]