|
|
| Line 2: |
Line 2: |
| == Template:Infobox person == | | == Template:Infobox person == |
| Yeh template Wikipedia-style infobox banata hai — right side mein float karta hai, left mein article text rehta hai. | | Yeh template Wikipedia-style infobox banata hai — right side mein float karta hai, left mein article text rehta hai. |
|
| |
| === Usage ===
| |
| <pre>
| |
| {{Infobox person
| |
| | name =
| |
| | image =
| |
| | caption =
| |
| | nationality =
| |
| | hometown =
| |
| | occupation =
| |
| | known_for =
| |
| | company =
| |
| | founded =
| |
| | cin =
| |
| | startup_india =
| |
| | branches =
| |
| | team =
| |
| | clients =
| |
| | global_reach =
| |
| | website =
| |
| | awards =
| |
| }}
| |
| </pre>
| |
| </noinclude><includeonly><table style="float: right; clear: right; margin: 0 0 1em 1em; background: #f8f9fa; border: 1px solid #a2a9b1; border-collapse: collapse; font-size: 88%; line-height: 1.5em; width: 22em;">
| |
| <tr>
| |
| <th colspan="2" style="background: #cee0f2; text-align: center; font-size: 1.1em; padding: 6px 4px; border-bottom: 1px solid #a2a9b1;">{{#if:{{{name|}}}|{{{name}}}| }}</th>
| |
| </tr>
| |
| {{#if:{{{image|}}}|
| |
| <tr>
| |
| <td colspan="2" style="text-align: center; padding: 8px; background: #fff; border-bottom: 1px solid #a2a9b1;">
| |
| [[File:{{{image}}}|200px|center|{{{name|}}}]]
| |
| {{#if:{{{caption|}}}|<br /><small style="color:#555;">{{{caption}}}</small>|}}
| |
| </td>
| |
| </tr>
| |
| |}}
| |
| <tr>
| |
| <th colspan="2" style="background: #cee0f2; text-align: center; font-size: 0.9em; padding: 3px; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;">Personal Information</th>
| |
| </tr>
| |
| {{#if:{{{nationality|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Nationality</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{nationality}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{hometown|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Hometown</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{hometown}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{occupation|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Occupation</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{occupation}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{known_for|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Known for</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{known_for}}}</td>
| |
| </tr>
| |
| |}}
| |
| <tr>
| |
| <th colspan="2" style="background: #cee0f2; text-align: center; font-size: 0.9em; padding: 3px; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;">Company Details</th>
| |
| </tr>
| |
| {{#if:{{{company|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Company</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{company}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{founded|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Founded</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{founded}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{cin|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">CIN</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0; font-size: 0.85em;">{{{cin}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{startup_india|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Startup India</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{startup_india}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{branches|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Branches</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{branches}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{team|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Team</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{team}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{clients|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Clients Served</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{clients}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{global_reach|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Global Reach</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{global_reach}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{website|}}}|
| |
| <tr>
| |
| <th style="background: #f8f9fa; padding: 4px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid #eaecf0;">Website</th>
| |
| <td style="padding: 4px 8px; border-bottom: 1px solid #eaecf0;">{{{website}}}</td>
| |
| </tr>
| |
| |}}
| |
| {{#if:{{{awards|}}}|
| |
| <tr>
| |
| <th colspan="2" style="background: #cee0f2; text-align: center; font-size: 0.9em; padding: 3px; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1;">Key Awards</th>
| |
| </tr>
| |
| <tr>
| |
| <td colspan="2" style="padding: 8px 10px; font-size: 0.9em; line-height: 1.9; background: #fff;">{{{awards}}}</td>
| |
| </tr>
| |
| |}}
| |
| </table></includeonly>
| |
Template:Infobox person
Yeh template Wikipedia-style infobox banata hai — right side mein float karta hai, left mein article text rehta hai.