Jump to content

Template talk:WikiProject Cycling

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by BaldBoris (talk | contribs) at 19:54, 11 October 2016 (Template-protected edit request on 5 October 2016 - Tour de France task force: open). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconCycling Template‑class
WikiProject iconThis template is within the scope of WikiProject Cycling, a collaborative effort to improve the coverage of cycling on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

[The Cycling Icon discussion originally moved here from Portal talk:Cycling has been moved to a more directly relevant talk page at Template talk:Cycling-bio-stub.]

"Category"-class and "list"-class

Some other templates have a List-class (see Category:List-Class_articles), others have a Category-class (see Category:Category-Class_articles). In the cycling project, we don't have them. I would like to have them. All Category-class articles now are rated NA, and list-class articles are 'lost' in the rating process. I looked in the template itself, but it looks really difficult, so I'm afraid to mess something up... --EdgeNavidad (talk) 07:19, 3 April 2008 (UTC)[reply]

Sorry, I didn't see this before. It's not too hard to do, will look at this later. SeveroTC 15:57, 22 July 2008 (UTC)[reply]

{{editprotect}}

{{WPBannerMeta
|PROJECT               = Cycling
 |BANNER_NAME          = {{subst:FULLPAGENAME}}
 |small={{{small|}}}
 |nested={{{nested|}}}
 |category={{{category|μ}}}
 |listas={{{listas|}}}
|IMAGE_LEFT            = Cycling (road) pictogram.svg
 |IMAGE_LEFT_SMALL     = 
 |IMAGE_LEFT_LARGE     = 
|QUALITY_SCALE         = yes
 |class={{{class|}}}
 |FULL_QUALITY_SCALE   =
 |AUTO_ASSESS          = yes
  |auto={{{auto|}}}
|IMPORTANCE_SCALE      = 
 |importance={{{importance|}}}
|ASSESSMENT_CAT        = cycling articles
|ASSESSMENT_LINK       = Wikipedia:WikiProject Cycling/Assessment
|MAIN_TEXT             = 
|MAIN_ARTICLE          = cycling
|PORTAL                = Cycling
|PORTAL_IMG            = 
|MAIN_CAT              = 
|ATTENTION             = yes
 |attention={{{attention|}}}
 |ATTENTION_CAT        = 
|INFOBOX               = yes
 |infobox={{{needs-infobox|}}}
 |INFOBOX_CAT          = 
|NOTE_1                = 
 |note 1={{{**PARAMETER**|}}}
 |NOTE_1_TEXT          = 
 |NOTE_1_IMAGE         = 
  |NOTE_1_SIZE         = 
 |NOTE_1_CAT           = 
 |NOTE_1_FORMAT        = 
|COMMENTS              = 
 |COMMENT_CAT          = 
 |COMMENT_FORCE        = 
|COLLAPSED             = 
 |COLLAPSED_ALWAYS     = 
 |COLLAPSED_HEAD       = 
 |COLLAPSED_TEXT       = 
 |PEER_REVIEW          = 
  |peer review={{{**PARAMETER**|}}}
  |old peer review={{{**PARAMETER**|}}}
  |PR_LINK             = 
  |PR_CAT              = 
  |PR_OLD_CAT          = 
 |C_NOTE_1             = 
  |c note 1={{{**PARAMETER**|}}}
  |C_NOTE_1_TEXT       = 
  |C_NOTE_1_IMAGE      = 
   |C_NOTE_1_SIZE      = 
  |C_NOTE_1_FORMAT     = 
  |C_NOTE_1_CAT        = 
|TF_1                  = 
 |tf 1={{{**PARAMETER**|}}}
 |TF_1_LINK            = 
 |TF_1_NAME            = 
 |TF_1_NESTED          = 
 |TF_1_IMAGE           = 
  |TF_1_SIZE           = 
 |TF_1_TEXT            = 
 |TF_1_QUALITY         = 
 |TF_1_IMPORTANCE      = 
  |tf 1 importance={{{**PARAMETER**|}}}
  |TF_1_ASSESSMENT_CAT = 
 |TF_1_MAIN_CAT        = 
}}

Switch to meta template with greater support for the requested class categories. SeveroTC 08:54, 5 August 2008 (UTC)[reply]

Not done:. The proposed changes would break the template pretty hard. Suggest first doing some sandbox testing to get proper parameter names fixed up. Cheers. lifebaka++ 13:26, 5 August 2008 (UTC)[reply]

{{editprotect}} I'm slightly confused as to how this would "break the template pretty hard". It completely replaces it with the meta template. I wasn't actually completely explicit in what I wanted changed - basically replace the whole code with all the following code. I have tested this and haven't found anything untoward. If you have noticed anything, place be explicit. We can do without all the fields at the bottom though.

{{WPBannerMeta
|PROJECT               = Cycling
 |BANNER_NAME          = {{subst:FULLPAGENAME}}
 |small={{{small|}}}
 |nested={{{nested|}}}
 |category={{{category|μ}}}
 |listas={{{listas|}}}
|IMAGE_LEFT            = Cycling (road) pictogram.svg
 |IMAGE_LEFT_SMALL     = 
 |IMAGE_LEFT_LARGE     = 
|QUALITY_SCALE         = yes
 |class={{{class|}}}
 |FULL_QUALITY_SCALE   = yes
 |AUTO_ASSESS          = yes
  |auto={{{auto|}}}
|IMPORTANCE_SCALE      = 
 |importance={{{importance|}}}
|ASSESSMENT_CAT        = cycling articles
|ASSESSMENT_LINK       = Wikipedia:WikiProject Cycling/Assessment
|MAIN_TEXT             = 
|MAIN_ARTICLE          = cycling
|PORTAL                = Cycling
|PORTAL_IMG            = 
|MAIN_CAT              = 
|ATTENTION             = yes
 |attention={{{attention|}}}
 |ATTENTION_CAT        = 
|INFOBOX               = yes
 |infobox={{{needs-infobox|}}}
 |INFOBOX_CAT          = 
}}<noinclude>
[[Category:WikiProject Cycling templates|{{PAGENAME}}]]
</noinclude>

SeveroTC 16:45, 5 August 2008 (UTC)[reply]

Done Happymelon 18:06, 5 August 2008 (UTC)[reply]

Future Class

{{editprotect}}

Same deal. I'm trying to create Category:Future-Class Cycling articles. There are more than 50 subcategories to Category:Future-Class articles, and I really think a cycling subcat is a fitting one. But I can't get articles to get into the category through the use of this template, so I think an edit is necessary. I'm not sure what that edit is, though, so hopefully someone can help me. Nosleep break my slumber 06:03, 8 May 2009 (UTC)[reply]

 Done Edit was needed to {{WikiProject Cycling/class}}. SeveroTC 08:46, 8 May 2009 (UTC)[reply]

Gee...thanks. And here I was hoping to get one of the people who came by previously to help you face_palm. No, seriously, thanks. Nosleep break my slumber 09:13, 8 May 2009 (UTC)[reply]

Subst check

{{editprotect}} Can we please add

|substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>

as per Template:WPBannerMeta/doc#Simple options to guard against substitutions rather than transclusions. The documentation has it just under

|BANNER_NAME = Template:WikiProject Cycling

Thanks, SeveroTC 16:50, 10 May 2009 (UTC)[reply]

 Done, banner all up to date :) — Martin (MSGJ · talk) 17:05, 10 May 2009 (UTC)[reply]

Mountain Biking task force support

{{editprotect}} I propose adding the following the cycling template. I added the |tf group on, which provides support for the Mountain Biking task force within the Cycling Project. This will allow that task force to group and categorize its articles within Cycling. See the Cardiology task force's use of WP:MED's template for an example of how this will work. The parent wikiproject's banner (Cycling) will not change, except that for mountain biking articles there will be an additional line of text stating that it is supported by the mtn. biking task force. The extra lines below allow the mountain biking task force to use the same bot Cycling does to group articles based on quality and importance.

Andyo2000 (talk) 18:03, 20 May 2009 (UTC)[reply]

I've moved your code to the sandbox version. The syntax is fine. Are you sure you want to use the MAIN_CAT as well as the separate quality/importance categories? This version might help you to create all the necessary categories. Struck because I realise that you have the categories, so I have fixed your code to use an assessment category of "Mountain Biking articles" rather than "mountain biking articles" — Martin (MSGJ · talk) 20:48, 20 May 2009 (UTC)[reply]
Furthermore, I might suggest that a parameter of "mtnbk" might be hard to remember. What about "mountain"? — Martin (MSGJ · talk) 20:51, 20 May 2009 (UTC)[reply]

As you didn't reply I used my initiative. The parameter is mtb - let me know if you want this changed. The {{WPMB}} is now using this template, so you can continue to use that one as a shortcut. (But the needs-photo note will no longer work because this one doesn't have such a note.) — Martin (MSGJ · talk) 09:49, 21 May 2009 (UTC)[reply]

Looks pretty good, and yes, the mtb parameter is fine. Thank you. Andyo2000 (talk) 13:54, 21 May 2009 (UTC)[reply]

Trying to add importance assessment

{{editprotect}}

As we're one of the only Projects that doesn't have one. As suggested here, the edit seems to be

|QUALITY_SCALE         = extended
|class=

to

|QUALITY_SCALE         = extended 
|class= 
|importance=

Hopefully it can be figured out what needs to be done. Alex finds herself awake at night (Talk · What keeps her up) 08:57, 9 October 2009 (UTC)[reply]

Trial and error on widely-used templates is not a good idea. Try reading the documentation at {{WPBannerMeta}} to figure out how to add importance support, then update and test the sandbox accordingly. Once you're sure the sandbox works as intended, then we can change the template.  Skomorokh, barbarian  15:41, 9 October 2009 (UTC)[reply]
I have no idea how to read the absolute schlock of code in this template. None. Thanks anyway. Alex finds herself awake at night (Talk · What keeps her up) 07:09, 11 October 2009 (UTC)[reply]

Missing Picture

The image for the MB task force has been taken offline. I found this image to change it to: File:Cycling hardtail sil.gif.

Thanks. Andyo2000 (talk) 14:25, 30 January 2010 (UTC)[reply]

An alternate is the mountain biking version of the main picture: File:Cycling (mountain biking) pictogram.svg SeveroTC 22:55, 30 January 2010 (UTC)[reply]

Edit request

Per this request at WP:VPT. I'm unsure how to code this to allow the parameters to become live. Any help would be grateful. The Cricket Project's template might help with the syntax - {{WikiProject Cricket}}. Thanks. Lugnuts Dick Laurent is dead 20:04, 20 January 2015 (UTC)[reply]

 Done There are a few importance categories that need creating, as you'll see in the message on the template page. -- WOSlinker (talk) 20:34, 20 January 2015 (UTC)[reply]
Thanks! Lugnuts Dick Laurent is dead 07:40, 21 January 2015 (UTC)[reply]

Template-protected edit request on 5 October 2016 - Tour de France task force

|tf 2={{{tdf|}}}
 |TF_2_LINK            = Wikipedia:WikiProject Cycling/Tour de France task force
 |TF_2_NAME            = Tour de France task force
 |TF_2_NESTED          = Tour de France
 |TF_2_IMAGE           = Jersey yellow.svg
 |TF_2_QUALITY         = yes
 |tf 2 importance={{{tdf-imp|}}}
 |TF_2_ASSESSMENT_CAT  = Tour de France articles

BaldBoris 19:11, 5 October 2016 (UTC)[reply]

@BaldBoris: Several things, |tf 1= already is hooked, so you're requesting |tf 2=. Are you certain that you want quality and importance assessments separate from the project-wide |importance= and |class=? Unless you forsee your task force needing a secondary assessment separate from the WikiProject, you don't need importance/assessment cats. If you would like all pages tagged with |tdf=yes to be categorized into one category, you need a |TF_2_MAIN_CAT=. — Andy W. (talk ·ctb) 19:22, 5 October 2016 (UTC)[reply]
If Wikipedia:WikiProject Cycling/Mountain Biking task force is using it, why wouldn't this? BaldBoris 19:32, 5 October 2016 (UTC)[reply]
@BaldBoris: Basically, you're requesting something similar to the subcategories of Category:Mountain Biking articles by importance and Category:Mountain Biking articles by quality, but for your own taskforce. Just wanted to verify if that's what you intend, rather than one main go-to category. — Andy W. (talk ·ctb) 19:35, 5 October 2016 (UTC)[reply]
Yes of course I understand? One category won't suffice. BaldBoris 19:40, 5 October 2016 (UTC)[reply]
@BaldBoris: Also, File:Yellow jersey.svg doesn't seem to exist. — Andy W. (talk ·ctb) 19:26, 5 October 2016 (UTC)[reply]
File:Jersey yellow.svg... BaldBoris 19:32, 5 October 2016 (UTC)[reply]
Done Re-open if there are any issues — Andy W. (talk ·ctb) 20:17, 5 October 2016 (UTC)[reply]
@Andy M. Wang: Why have all of the articles gone in Category:Unknown-importance Tour de France articles? I only intend to use |tdf-imp= if any are low for WikiProject Cycling, but aren't for the Tour. BaldBoris 19:54, 11 October 2016 (UTC)[reply]