Template:Ohio History Central/sandbox
Appearance
Ohio History Central/sandbox at Ohio History Central
This is the template sandbox page for Template:Ohio History Central (diff). See also the companion subpage for test cases. |
This template generates an external link to an entry at the Ohio History Central website (OhioHistoryCentral.org).
Usage
[edit]Unnamed parameters
[edit]{{Ohio History Central|REC}}
{{Ohio History Central|REC|NAME}}
Named parameters
[edit]{{Ohio History Central|rec=REC}}
{{Ohio History Central|rec=REC|name=NAME}}
{{Ohio History Central|rec=REC|name=NAME|date=DATE}}
{{Ohio History Central|rec=REC|name=NAME|date=DATE|accessdate=DATE}}
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Ohio History Central in articles based on its TemplateData.
TemplateData for Ohio History Central
This template generates an external link to an entry at the Ohio History Central website (OhioHistoryCentral.org).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Record# | 1 rec | The Ohio History Central record number. Example: 293 is the record number in the URL http://www.ohiohistorycentral.org/entry.php?rec=293
| String | required |
Name | 2 name | Name of subject. If not given it defaults to the Wikipedia article name, without any disambiguation such as (politician).
| String | optional |
Date | date | The date of the article at Ohio History Central. | String | optional |
AccessDate | accessdate | The date this citation was added or last updated. | String | optional |
Examples
[edit]Basic example
[edit]{{Ohio History Central | 293 | Ralph Osborn }}
produces:
All parameters, used as reference
[edit]<ref name="OHC">{{Ohio History Central
| rec = 9
| name = Michael Baldwin
| date = 2005-07-01
| accessdate = 2012-09-23
}}
</ref>
produces: [1]
- ^ "Michael Baldwin". Ohio History Central. 2005-07-01. Retrieved 2012-09-23.