Difference between revisions of "Template:Heisman/doc"
Jump to navigation
Jump to search
imported>Zyxw (created documentation, including categories moved from template) |
imported>Vanisaac m (→Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 56: | Line 56: | ||
#: {{{{BASEPAGENAME}} | id= 116 | name= Johnny Manziel }} | #: {{{{BASEPAGENAME}} | id= 116 | name= Johnny Manziel }} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:American college football templates]] | [[Category:American college football templates]] | ||
Latest revision as of 16:47, 25 April 2020
| 40px | This is a documentation subpage for Template:Heisman. It contains usage information, categories and other content that is not part of the original template page. |
Template:Heisman displays an external link to a player's page at the Heisman Trophy website.
Usage
One parameter:
{{Heisman | ID }}{{Heisman | id= ID }}
Two parameters:
{{Heisman | ID | NAME }}{{Heisman | id= ID | name= NAME }}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Heisman
This template displays an external link to a player's page at the Heisman Trophy website.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | 1 id | ID portion of URL for player's web page. Example: 29 is the ID portion of http://heisman.com/roster.aspx?rp_id=29
| Number | required |
| Name | 2 name | Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (American football).
| String | optional |
Examples
One parameter:
- Roger Staubach:
http://heisman.com/roster.aspx?rp_id=29
{{Heisman | 29 }}- Template:PAGENAMEBASE at the Heisman Trophy official website
{{Heisman | id= 29 }}- Template:PAGENAMEBASE at the Heisman Trophy official website
Two parameters:
- Johnny Manziel:
http://heisman.com/roster.aspx?rp_id=116
{{Heisman | 116 | Johnny Manziel }}- Johnny Manziel at the Heisman Trophy official website
{{Heisman | id= 116 | name= Johnny Manziel }}- Johnny Manziel at the Heisman Trophy official website