Template:Style.com

From Wikipedia, the free encyclopedia

Style.com collections at style.com

Please edit this template with care! This template takes content from the page title, so it's okay that the example above says style.com collections at style.com.

Use[edit]

This template can be used to generate several different types of links to style.com:

Instructions[edit]

Step one: determine what "id" should be[edit]

To figure out what "id" should be for a given designer, go to style.com's designer directory and select the label you want. Once you're there, the URL should look like http://www.style.com/fashionshows/designerdirectory/LABEL/seasons/, where "LABEL" is a the label's or designer's name (sometimes shortened). Copy ONLY that name, because that will be your "id" parameter.

Step two: plug "id" and other parameters into the template[edit]

See below for relevant examples.

Examples[edit]

Directory of all a designer's collections[edit]

{{style.com
| id          = 
}}

{{style.com|id=GUCCI}} generates Gucci collections at style.com.

Thumbnails from one specific collection[edit]

{{style.com
| id          = 
| season      = 
| year        = 
| collection  =
}}

{{style.com|id=GUCCI|season=spring|year=2007}} generates Spring 2007 Gucci collection at style.com.

{{style.com|id=cdior|season=spring|year=2007|collection=rtw}} generates Spring 2007 Dior ready-to-wear collection at style.com.

{{style.com|id=cdior|season=spring|year=2007|collection=couture}} generates Spring 2007 Dior couture collection at style.com.

Review of one specific collection[edit]

{{style.com
| id          = 
| season      = 
| year        = 
| collection  =
| type        = review
}}

{{style.com|id=GUCCI|season=spring|year=2007|type=review}} generates "Gucci Runway Review (Spring 2007)." Style.com.

{{style.com|id=cdior|season=spring|year=2007|collection=rtw|type=review}} generates "Dior Runway Review (Spring 2007 ready-to-wear)." Style.com.

{{style.com|id=cdior|season=spring|year=2007|collection=couture|type=review}} generates "Dior Runway Review (Spring 2007 couture)." Style.com.

Parameters[edit]

{{style.com
| id          = 
| title       = 
| season      = 
| year        = 
| collection  =
| type        = 
}}

The only mandatory parameter is "id"; the rest are optional.

id[edit]

This is an abbreviation of the designers name used by style.com URLs. To determine what "id" should be, see above.

title[edit]

Normally, the template takes the name of the article page and uses it as the label's name. For the occasional cases where the label or designer name is not the same as the title of the article, there is an optional "title" parameter that forces the inclusion of other text in the template output.

For example, on the page Bill Blass Limited, {{style.com|id=BILBLASS}} would generate Bill Blass Limited collections at style.com Instead, you should write {{style.com|id=BILBLASS|title=Bill Blass}}, which generates Bill Blass collections at style.com

season[edit]

This can be either "spring" or "fall" (no quotes when you're using it in the template). It is used if you are generating links to thumbnails from or a review of a specific collection.

year[edit]

This is a four-digit year. It is used if you are generating links to thumbnails from or a review of a specific collection.

collection[edit]

This parameter may be used if you are generating links to thumbnails from or a review of a specific collection. It is either "couture" or "rtw" (no quotes when you're using it in the template). If it is left empty, it links to the ready-to-wear collection, but does not include the "ready-to-wear" designation in its text. This would probably be appropriate for the majority of designers, since they produce only a ready-to-wear line.

type[edit]

This is only used when you are generating a link to a review of a specific collection, and then should be "review" (no quotes when you're using it in the template).