Difference between revisions of "Template:Infobox notable"
From HodHood
Line 6: | Line 6: | ||
<th>Name</th> | <th>Name</th> | ||
<td>[[Name::{{{name|}}}]]</td> | <td>[[Name::{{{name|}}}]]</td> | ||
− | </tr><tr> | + | </tr>{{#if:{{{nicknames|}}}|<tr> |
<th>Nicknames</th> | <th>Nicknames</th> | ||
− | <td>{{{nicknames | + | <td>{{{nicknames}}}</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{fullname|}}}|<tr> |
<th>Full name</th> | <th>Full name</th> | ||
− | <td>[[Full name::{{{fullname | + | <td>[[Full name::{{{fullname}}}]]</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{father|}}}|<tr> |
<th>Father</th> | <th>Father</th> | ||
− | <td>[[Is son of::{{{father | + | <td>[[Is son of::{{{father}}}]]</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{mother|}}}|<tr> |
<th>Mother</th> | <th>Mother</th> | ||
− | <td>[[Is son of::{{{mother | + | <td>[[Is son of::{{{mother}}}]]</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{siblings|}}}|<tr> |
<th>Siblings</th> | <th>Siblings</th> | ||
− | <td>{{#regex:{{{siblings | + | <td>{{#regex:{{{siblings}}}|%\s*\K([^,]+)%|[[Was sibling of::$1]]}}</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{birth-hijiri|}}}|<tr> |
<th>Birth Hijiri</th> | <th>Birth Hijiri</th> | ||
− | <td>[[Birth Hijiri::{{{birth-hijiri | + | <td>[[Birth Hijiri::{{{birth-hijiri}}}]]</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{miladi|}}}|<tr> |
<th>Birth Miladi</th> | <th>Birth Miladi</th> | ||
− | <td>[[Birth Miladi::{{{birth-miladi | + | <td>[[Birth Miladi::{{{birth-miladi}}}]]</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{birth-place|}}}|<tr> |
<th>Birth place</th> | <th>Birth place</th> | ||
− | <td>[[Birth place::{{{birth-place | + | <td>[[Birth place::{{{birth-place}}}]]</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{death-hijiri|}}}|<tr> |
<th>Death Hijiri</th> | <th>Death Hijiri</th> | ||
− | <td>[[Death Hijiri::{{{death-hijiri | + | <td>[[Death Hijiri::{{{death-hijiri}}}]]</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{death-miladi|}}}|<tr> |
<th>Death Miladi</th> | <th>Death Miladi</th> | ||
− | <td>[[Death Miladi::{{{death-miladi | + | <td>[[Death Miladi::{{{death-miladi}}}]]</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{death-place|}}}|<tr> |
<th>Death place</th> | <th>Death place</th> | ||
− | <td>[[Death place::{{{death-place | + | <td>[[Death place::{{{death-place}}}]]</td> |
− | + | </tr>}}{{#if:{{{death-cause|}}}|<tr> | |
<th>Death cause</th> | <th>Death cause</th> | ||
− | <td>{{#regex:{{{death-cause | + | <td>{{#regex:{{{death-cause}}}|%\s*\K([^,]+)%|[[Has Death cause::$1]]}}</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{places|}}}|<tr> |
<th>Places</th> | <th>Places</th> | ||
− | <td>{{#regex:{{{places | + | <td>{{#regex:{{{places}}}|%\s*\K([^,]+)%|[[Was in::$1]]}}</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{areas|}}}|<tr> |
<th>Areas</th> | <th>Areas</th> | ||
− | <td>{{#regex:{{{areas | + | <td>{{#regex:{{{areas}}}|%\s*\K([^,]+)%|[[Worked in::$1]]}}</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{spouses|}}}|<tr> |
<th>Spouses</th> | <th>Spouses</th> | ||
− | <td>{{#regex:{{{spouses | + | <td>{{#regex:{{{spouses}}}|%\s*\K([^,]+)%|[[Was married to::$1]]}}</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{children|}}}|<tr> |
<th>Children</th> | <th>Children</th> | ||
− | <td>{{#regex:{{{children | + | <td>{{#regex:{{{children}}}|%\s*\K([^,]+)%|[[Was father of::$1]]}}</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{students|}}}|<tr> |
<th>Students</th> | <th>Students</th> | ||
− | <td>{{#regex:{{{students | + | <td>{{#regex:{{{students}}}|%\s*\K([^,]+)%|[[Was teacher of::$1]]}}</td> |
− | </tr><tr> | + | </tr>}}{{#if:{{{teachers|}}}|<tr> |
<th>Teachers</th> | <th>Teachers</th> | ||
− | <td>{{#regex:{{{teachers | + | <td>{{#regex:{{{teachers}}}|%\s*\K([^,]+)%|[[Was student of::$1]]}}</td> |
− | </tr> | + | </tr>}} |
</table> | </table> | ||
− | </div>[[Scholar ID::{{{id | + | </div>{{#if:{{{id|}}}|[[Scholar ID::{{{id}}}| ]]}}[[Is notable::true| ]][[Category:Notables]] |