|
|
| (6 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <includeonly> | | <includeonly> |
| <table role="presentation" style=" | | <div style="float:right; clear:right; margin:0.5em 0 1em 1em; width:320px; border:1px solid rgba(255,255,255,0.15); border-radius:12px; background:rgba(255,255,255,0.02); padding:0.8em;"> |
| float:right; clear:right;
| | <div style="text-align:center; font-size:120%; font-weight:700; margin-bottom:0.6em;"> |
| margin:0.5em 0 1em 1em;
| |
| width:320px;
| |
| border:1px solid rgba(255,255,255,0.15);
| |
| border-radius:12px;
| |
| background:rgba(255,255,255,0.02);
| |
| border-collapse:separate;
| |
| border-spacing:0;
| |
| overflow:hidden;
| |
| font-size:95%;
| |
| line-height:1.35;
| |
| "> | |
| <caption style=" | |
| padding:0.6em 0.7em;
| |
| text-align:center;
| |
| font-size:120%;
| |
| font-weight:700;
| |
| ">
| |
| {{{name|{{PAGENAME}}}}} | | {{{name|{{PAGENAME}}}}} |
| </caption> | | </div> |
|
| |
|
| {{#if:{{{image|}}}|
| | <div style="text-align:center; margin-bottom:0.8em;"> |
| <tr>
| | [[File:{{{image|NoLogo.svg}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]] |
| <td colspan="2" style="padding:0.4em 0.7em 0.7em; text-align:center;"> | | <div style="font-size:90%; opacity:0.85; margin-top:0.3em;">{{{image_caption|}}}</div> |
| <figure style="margin:0; display:inline-block; text-align:center; max-width:100%;">
| | </div> |
| [[File:{{{image}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]]
| |
| {{#if:{{{image_caption|}}}|
| |
| <figcaption style="margin-top:0.35em; font-size:90%; opacity:0.85;">
| |
| {{{image_caption}}}
| |
| </figcaption>
| |
| }}
| |
| </figure>
| |
| </td> | |
| </tr>
| |
| }}
| |
|
| |
|
| <tbody style="display:table-row-group;"> | | {| style="width:100%; border-collapse:collapse; font-size:95%;" |
| <!-- helper: row template pattern -->
| | |- |
| {{#if:{{{birth_name|}}}|
| | | style="padding:0.25em 0; opacity:0.85; width:45%;" | '''Birth Name''' |
| <tr>
| | | style="padding:0.25em 0;" | {{{birth_name|Unknown}}} |
| <th scope="row" style="
| | |- |
| width:35%;
| | | style="padding:0.25em 0; opacity:0.85;" | '''Other Names''' |
| padding:0.45em 0.6em;
| | | style="padding:0.25em 0;" | {{{other_names|None listed}}} |
| text-align:left;
| | |- |
| vertical-align:top;
| | | style="padding:0.25em 0; opacity:0.85;" | '''Pronouns''' |
| font-weight:600;
| | | style="padding:0.25em 0;" | {{{pronouns|Unknown}}} |
| opacity:0.85;
| | |- |
| white-space:nowrap;
| | | style="padding:0.25em 0; opacity:0.85;" | '''Born''' |
| ">Birth Name</th>
| | | style="padding:0.25em 0;" | {{{born|Unknown}}} |
| <td style="
| | |- |
| padding:0.45em 0.6em;
| | | style="padding:0.25em 0; opacity:0.85;" | '''Nationality''' |
| vertical-align:top;
| | | style="padding:0.25em 0;" | {{{nationality|Unknown}}} |
| overflow-wrap:anywhere;
| | |- |
| word-break:normal;
| | | style="padding:0.25em 0; opacity:0.85;" | '''Residence''' |
| ">{{{birth_name}}}</td>
| | | style="padding:0.25em 0;" | {{{residence|Unknown}}} |
| </tr>
| | |- |
| }}
| | | style="padding:0.25em 0; opacity:0.85;" | '''Education''' |
| | | | style="padding:0.25em 0;" | {{{education|Unknown}}} |
| {{#if:{{{other_names|}}}|
| | |- |
| <tr>
| | | style="padding:0.25em 0; opacity:0.85;" | '''Alma Mater''' |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Other Names</th>
| | | style="padding:0.25em 0;" | {{{alma_mater|Unknown}}} |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{other_names}}}</td>
| | |- |
| </tr>
| | | style="padding:0.25em 0; opacity:0.85;" | '''Occupation''' |
| }}
| | | style="padding:0.25em 0;" | {{{occupation|Unknown}}} |
| | | |- |
| {{#if:{{{pronouns|}}}|
| | | style="padding:0.25em 0; opacity:0.85;" | '''Years Active''' |
| <tr>
| | | style="padding:0.25em 0;" | {{{years_active|Unknown}}} |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Pronouns</th>
| | |- |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{pronouns}}}</td>
| | | style="padding:0.25em 0; opacity:0.85;" | '''Known For''' |
| </tr>
| | | style="padding:0.25em 0;" | {{{known_for|Unknown}}} |
| }}
| | |- |
| | | | style="padding:0.25em 0; opacity:0.85;" | '''Notable Works''' |
| {{#if:{{{born|}}}|
| | | style="padding:0.25em 0;" | {{{notable_works|None listed}}} |
| <tr>
| | |- |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Born</th>
| | | style="padding:0.25em 0; opacity:0.85;" | '''Genre''' |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{born}}}</td>
| | | style="padding:0.25em 0;" | {{{genre|Unknown}}} |
| </tr>
| | |- |
| }}
| | | style="padding:0.25em 0; opacity:0.85;" | '''Affiliations''' |
| | | | style="padding:0.25em 0;" | {{{affiliations|Unknown}}} |
| {{#if:{{{nationality|}}}|
| | |- |
| <tr>
| | | style="padding:0.25em 0; opacity:0.85;" | '''Website''' |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Nationality</th>
| | | style="padding:0.25em 0;" | {{{website|None}}} |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{nationality}}}</td>
| | |- |
| </tr>
| | | style="padding:0.25em 0; opacity:0.85;" | '''Notes''' |
| }}
| | | style="padding:0.25em 0;" | {{{notes|}}} |
| | | |} |
| {{#if:{{{residence|}}}|
| | </div> |
| <tr>
| | </includeonly><noinclude> |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Residence</th>
| | {{Documentation}} |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{residence}}}</td>
| |
| </tr>
| |
| }}
| |
| | |
| {{#if:{{{education|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Education</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{education}}}</td>
| |
| </tr>
| |
| }}
| |
| | |
| {{#if:{{{alma_mater|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Alma Mater</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{alma_mater}}}</td>
| |
| </tr>
| |
| }}
| |
| | |
| {{#if:{{{occupation|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Occupation</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{occupation}}}</td>
| |
| </tr>
| |
| }}
| |
|
| |
|
| {{#if:{{{years_active|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Years Active</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{years_active}}}</td>
| |
| </tr>
| |
| }}
| |
|
| |
| {{#if:{{{known_for|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Known For</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{known_for}}}</td>
| |
| </tr>
| |
| }}
| |
|
| |
| {{#if:{{{notable_works|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Notable Works</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{notable_works}}}</td>
| |
| </tr>
| |
| }}
| |
|
| |
| {{#if:{{{genre|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Genre</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{genre}}}</td>
| |
| </tr>
| |
| }}
| |
|
| |
| {{#if:{{{affiliations|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Affiliations</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{affiliations}}}</td>
| |
| </tr>
| |
| }}
| |
|
| |
| {{#if:{{{website|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Website</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{website}}}</td>
| |
| </tr>
| |
| }}
| |
|
| |
| {{#if:{{{notes|}}}|
| |
| <tr>
| |
| <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Notes</th>
| |
| <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{notes}}}</td>
| |
| </tr>
| |
| }}
| |
| </tbody>
| |
| </table>
| |
| </includeonly><noinclude>
| |
| == Usage == | | == Usage == |
| <pre> | | <pre> |
| {{Infobox person | | {{Infobox Person |
| | name = | | | name = |
| | image = | | | image = |
| Line 192: |
Line 90: |
| }} | | }} |
| </pre> | | </pre> |
| | |
| | == Parameters == |
| | * '''image''' should be the file name only (example: <code>Portrait.png</code>) |
| | * '''other_names''' can be a comma/semicolon-separated list |
| | * '''website''' can be plain text or a link (example: <code>[https://example.com example.com]</code>) |
| </noinclude> | | </noinclude> |
Template:Documentation
Usage
{{Infobox Person
| name =
| image =
| image_size = 220px
| image_alt =
| image_caption =
| birth_name =
| other_names =
| pronouns =
| born =
| nationality =
| residence =
| education =
| alma_mater =
| occupation =
| years_active =
| known_for =
| notable_works =
| genre =
| affiliations =
| website =
| notes =
}}
Parameters
- image should be the file name only (example:
Portrait.png)
- other_names can be a comma/semicolon-separated list
- website can be plain text or a link (example:
example.com)