Template:Infobox Real Life: Difference between revisions

no edit summary
mNo edit summary
No edit summary
 
Line 31: Line 31:
<td>'''Died'''</td>
<td>'''Died'''</td>
<td>{{#time:F d, Y|{{{dod|}}}}}</td>
<td>{{#time:F d, Y|{{{dod|}}}}}</td>
</tr>
}}
{{#if:{{{yob|}}}|
<tr>
<td>'''Foaled'''</td>
<td>{{{yob|}}}</td>
</tr>
}}
{{#if:{{{yod|}}}|
<tr>
<td>'''Died'''</td>
<td>{{{yod|}}}</td>
</tr>
</tr>
}}
}}
Line 93: Line 105:
|dob=2000-01-01
|dob=2000-01-01
|dod=2000-01-01
|dod=2000-01-01
|yob=0000
|yod=0000
|sire=sire
|sire=sire
|dam=dam
|dam=dam
Line 103: Line 117:
|races=races
|races=races
}}
}}
</noinclude>
<templatedata>
{
"params": {
"irl_name": {
"type": "string",
"required": true
},
"name_jp": {},
"image_main": {},
"caption": {},
"name_ro": {},
"dob": {},
"dod": {},
"sire": {},
"dam": {},
"sex": {},
"color": {},
"trainer": {},
"record": {},
"earnings": {},
"races": {},
"yob": {
"label": "Year of Birth",
"description": "year of foaling, only applicable if exact date is not found.",
"type": "number"
},
"yod": {
"label": "Year of Death",
"description": "year of death, only applicable if exact date is not found.",
"type": "number"
}
},
"paramOrder": [
"irl_name",
"name_jp",
"image_main",
"caption",
"name_ro",
"dob",
"dod",
"yob",
"yod",
"sire",
"dam",
"sex",
"color",
"trainer",
"record",
"earnings",
"races"
]
}
</templatedata></noinclude>
33

edits