Template:Infobox Real Life: Difference between revisions
no edit summary
(Created page with "<includeonly><table class="infobox"> <tr> <th class="infobox-title" colspan=2>{{{irl_name|{{PAGENAME}}}}}</th> </tr> {{#if:{{{name_jp|}}}| <tr> <th class="infobox-subheader" colspan=2>''{{{name_jp}}}''</th> </tr> }} {{#if:{{{image_main|}}}| <tr> <td class="infobox-image" colspan=2>[[Image:{{{image_main}}}|270px]]</td> </tr> }} <td style="text-align: center;" colspan=2>{{{caption|}}}</td> <tr><td colspan=2><hr/></td></tr> {{#if:{{{name_ro|}}}| <tr> <td>'''Romanji'''</td>...") |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
{{#if:{{{name_ro|}}}| | {{#if:{{{name_ro|}}}| | ||
<tr> | <tr> | ||
<td>''' | <td>'''Romaji'''</td> | ||
<td>{{{name_ro|}}}</td> | <td>{{{name_ro|}}}</td> | ||
</tr> | </tr> | ||
Line 24: | Line 24: | ||
<tr> | <tr> | ||
<td>'''Foaled'''</td> | <td>'''Foaled'''</td> | ||
<td>{{{dob|}}}</td> | <td>{{#time:F d, Y|{{{dob|}}}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 30: | Line 30: | ||
<tr> | <tr> | ||
<td>'''Died'''</td> | <td>'''Died'''</td> | ||
<td>{{{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 82: | Line 94: | ||
{{#if:{{{races|}}}| | {{#if:{{{races|}}}| | ||
<tr> | <tr> | ||
<td style="text-align: center;" colspan=2>{{{ | <td style="text-align: center;" colspan=2>{{{races}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
</includeonly><noinclude> | </table></includeonly><noinclude> | ||
{{Infobox Real Life | {{Infobox Real Life | ||
|irl_name=irl_name | |irl_name=irl_name | ||
Line 91: | Line 103: | ||
|caption=caption | |caption=caption | ||
|name_ro=name_ro | |name_ro=name_ro | ||
|dob= | |dob=2000-01-01 | ||
|dod= | |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> |