Template:ARbox person: Difference between revisions
Appearance
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 9: | Line 9: | ||
<div style="position:relative; width:100%; height:100%; margin:0; padding:0; border:none; display:inline-block;"> | <div style="position:relative; width:100%; height:100%; margin:0; padding:0; border:none; display:inline-block;"> | ||
[[File:{{{image|No_image_available.svg}}}|style="width:100%; height:100%; display:block; margin:0; padding:0; border:none;" alt={{{name}}}]] | [[File:{{{image|No_image_available.svg}}}|style="width:100%; height:100%; display:block; margin:0; padding:0; border:none;" alt={{{name}}}]] | ||
<div style="position:absolute; top: | <div style="position:absolute; top:10px; right:10px; color:rgba(0, 0, 0, 0.6); font-size:60%; font-weight:bold; z-index:10; pointer-events:none;"> | ||
Approximate capture date: {{{image_date|N/A}}} from {{{nationality|Unknown}}}</div> | Approximate capture date: {{{image_date|N/A}}} from {{{nationality|Unknown}}}</div> | ||
</div> | </div> | ||
| Line 60: | Line 60: | ||
| colspan="2" align="center" | [[File:{{{signature|No_signature.png}}}|100x100px]] | | colspan="2" align="center" | [[File:{{{signature|No_signature.png}}}|100x100px]] | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
Revision as of 21:16, 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>