টেমপ্লেট:ARbox person: সংশোধিত সংস্করণের মধ্যে পার্থক্য

সম্পাদনা সারাংশ নেই
ট্যাগ: মোবাইল সম্পাদনা মোবাইল ওয়েব সম্পাদনা
সম্পাদনা সারাংশ নেই
ট্যাগ: মোবাইল সম্পাদনা মোবাইল ওয়েব সম্পাদনা
৯ নং লাইন: ৯ নং লাইন:
<div style="position:relative; display:inline-block;">
<div style="position:relative; display:inline-block;">
   [[File:{{{image|No_image_available.svg}}}|class="responsive-img" alt={{{name}}}]]
   [[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;">
   <div style="position:absolute; top:5px; right:5px; color:rgba(255,255,255,0.66); font-size:80%; font-weight:bold;">
     {{{image_date|N/A}}}
     {{{image_date|N/A}}}
   </div>
   </div>
৬৪ নং লাইন: ৬৪ নং লাইন:


<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: