Difference between revisions of "Template:Cricket graph requests/doc"
Jump to navigation
Jump to search
imported>Benzband m (update) |
imported>Benzband m (+ usage and reason) |
||
| Line 19: | Line 19: | ||
;note | ;note | ||
*{{para|note}} or {{para|3}} for leaving an additional note or signature | *{{para|note}} or {{para|3}} for leaving an additional note or signature | ||
| + | ;usage | ||
| + | *{{para|usage|suspend}} produces {{CGR|usage=suspend}} | ||
| + | **a {{para|reason}} can be specified for this, producing {{CGR|usage=suspend|reason=Example reason.}} | ||
=== Examples === | === Examples === | ||
Revision as of 17:54, 30 May 2012
| This is a documentation subpage for Template:Cricket graph requests. It contains usage information, categories and other content that is not part of the original template page. |
This template is used at WP:CRIC/GR.
Parameters
- name (required)
|name=or|1=for defining the linked name: [[name]]|link=and|name=for defining a link different from name: [[link|name]]
- format
|format=testor|2=testor|format=Testor|2=Testproduces
|format=odior|2=odior|format=ODIor|2=ODIproduces
|format=T20Ior|2=T20Ior|format=T2OIor|2=T2OIproduces
|format=allor|2=allproduces
- two formats can be added, using
|format_2=(except for "all")- say,
{{CGR|name=Example|format=test|format_2=odi}}would produce
- say,
- cricinfo id
|cricinfoid=for defining a cricinfo player id external link: http://www.espncricinfo.com/general/content/player/cricinfoid.html]
- note
|note=or|3=for leaving an additional note or signature
- usage
|usage=suspendproduces
- a
|reason=can be specified for this, producing
- a
Examples
{{CGR|Example|T20I|note}}would produce:
{{CGR|link=Ross Taylor|name=Taylor, Ross|format=Test|format_2=ODI|cricinfoid=38699|note=Note for Taylor}}would produce:
- if no parameters are specified whatsoever, the template produces an error message. thus,
{{CGR}}alone would produce: