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 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="wikitable" style="width:100%; max-width:500px; background:#f9f9f9; border:1px solid #aaa; padding:5px; font-size:90%;" | {| class="wikitable" style="width:100%; max-width:500px; background:#f9f9f9; border:1px solid #aaa; padding:5px; font-size:90%; position:relative;" | ||
|- | |- | ||
! colspan="2" style="text-align:center; font-size:125%; background:#ebecf0;" | {{{name|''No name provided''}}} [[File:{{{verified_icon|No_image_available.svg}}}|baseline|15x15px]] | ! colspan="2" style="text-align:center; font-size:125%; background:#ebecf0;" | {{{name|''No name provided''}}} [[File:{{{verified_icon|No_image_available.svg}}}|baseline|15x15px]] | ||
| Line 6: | Line 6: | ||
! colspan="2" style="text-align:center; font-size:110%; background:#F8F9FA;" | {{{native_name|N/A}}} | ! colspan="2" style="text-align:center; font-size:110%; background:#F8F9FA;" | {{{native_name|N/A}}} | ||
|- | |- | ||
| colspan="2" align="center" | [[File:{{{image|No_image_available.svg}}}|class="responsive-img" alt={{{name}}}]] | | colspan="2" align="center" style="position:relative;" | | ||
<div style="position:relative; display:inline-block;"> | |||
[[File:{{{image|No_image_available.svg}}}|class="responsive-img" alt={{{name}}}]] | |||
<div style="position:absolute; top:5px; right:5px; background:rgba(0,0,0,0.7); color:#fff; padding:2px 5px; font-size:80%; border-radius:3px;"> | |||
{{{image_date|N/A}}} | |||
</div> | |||
</div> | |||
|- | |- | ||
| colspan="2" align="center" | <small>{{{nickname|N/A}}} in {{{image_date|N/A}}}</small> | | colspan="2" align="center" | <small>{{{nickname|N/A}}} in {{{image_date|N/A}}}</small> | ||
|- | |- | ||
! 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> | ||
| Line 60: | Line 64: | ||
<noinclude> | <noinclude> | ||
== Usage == | |||
To use this template, add the following code: | |||
<pre> | |||
{{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 | |||
}} | |||
</pre> | |||
</noinclude> | |||
<style> | |||
.responsive-img { | |||
width: 97%; | |||
height: auto; | |||
max-width: 500px; | |||
display: block; | |||
margin: 0 auto; | |||
} | |||
@media (max-width: 767px) { | |||
.responsive-img { | |||
width: 97%; | |||
max-width: 97%; | |||
} | |||
} | |||
</style> | |||
== Usage == | == Usage == | ||
To use this template, add the following code: | To use this template, add the following code: | ||
Revision as of 19:54, 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: 97%; height: auto; max-width: 500px; display: block; margin: 0 auto;
} @media (max-width: 767px) {
.responsive-img {
width: 97%;
max-width: 97%;
}
} </style>
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: 97%; height: auto; max-width: 500px; display: block; margin: 0 auto;
} @media (max-width: 767px) {
.responsive-img {
width: 97%;
max-width: 97%;
}
} </style>
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
| caption = xyz in 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: 97%; height: auto; max-width: 500px; display: block; margin: 0 auto;
} @media (max-width: 767px) {
.responsive-img {
width: 97%;
max-width: 97%;
}
} </style>