Template:ARbox person: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
|- | |- | ||
| colspan="2" align="center" style="position:relative; padding:0; margin:0; width:100%; height:auto; overflow:hidden;" | | | colspan="2" align="center" style="position:relative; padding:0; margin:0; width:100%; height:auto; overflow:hidden;" | | ||
<div style="position:relative; display:block; width:100%; height:auto; margin:0; padding:0;"> | <div style="position:relative; display:inline-block; width:100%; height:auto; margin:0; padding:0; border:none;"> | ||
[[File:{{{image|No_image_available.svg}}}|style="width:100%; height:auto; display:block; margin:0; padding:0; border:none;" alt={{{name}}}]] | [[File:{{{image|No_image_available.svg}}}|style="width:100%; height:auto; display:block; margin:0; padding:0; border:none;" alt={{{name}}}]] | ||
<div style="position:absolute; top:5px; right:5px; color: | <div style="position:absolute; top:5px; right:5px; color:white; font-size:80%; font-weight:bold; background:rgba(0, 0, 0, 0.5); padding:2px 5px; border-radius:3px; z-index:10;"> | ||
Approximate capture date: {{{image_date|N/A}}} | Approximate capture date: {{{image_date|N/A}}} | ||
</div> | </div>{{{nickname|N/A}}} in {{{image_date|N/A}}} | ||
{{{nickname|N/A}}} in {{{image_date|N/A}}} | |||
|- | |- | ||
! colspan="2" style="text-align:center; background:#e5e6fa;" | <span style="color:#3465c5;">{{{office|N/A}}}</span> of the <span style="color:#3465c5;">{{{organization|N/A}}}</span> | ! colspan="2" style="text-align:center; background:#e5e6fa;" | <span style="color:#3465c5;">{{{office|N/A}}}</span> of the <span style="color:#3465c5;">{{{organization|N/A}}}</span> | ||
Revision as of 20:49, 25 February 2025
Usage
To use this template, add the following code:
{{ARbox person
| name = xyz
| native_name = xyz
| native_name_lang = xyz
| image = xyz.jpg
| image_date = xyz
| office = xyz of the [[xyz]]
| term_start = xyz
| birth_date = xyz xyz xyz
| birth_place = xyz, xyz, xyz.
| nationality = xyz
| nickname = xyz
| occupation = xyz, xyz, xyz
| years_active = xyz–xyz
| organization = xyz
| spouse = xyz
| father = xyz
| height = xyz feet xyz inch
| awards = xyz
| website = xyz
| signature = xyz.png
}}
<style>
.responsive-img {
width: 100%; height: auto; max-width: 500px; display: block; margin: 0;
} @media (max-width: 767px) {
.responsive-img {
width: 100%;
max-width: 100%;
}
} </style>