Template:Infobox craftperson: Difference between revisions

From Japanese Craftpedia portal
No edit summary
No edit summary
Line 4: Line 4:
|+ style="font-size: 125%; font-weight: bold;" | {{{name|{{PAGENAME}}}}}
|+ style="font-size: 125%; font-weight: bold;" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align: right;" | {{#if:{{{image|}}}
| colspan="2" style="text-align: right;" | <div style="width:250px; height:250px; display:flex; align-items:center; justify-content:center;
  | [[File:{{{image}}}|frameless|250px|alt={{{alt|}}}]]
            overflow:hidden; box-sizing:border-box;
  | <div style="overflow-x: hidden; width:250px; height:250px; display:inline-flex; align-items:center; justify-content:center; border:1px solid #aaa; background:#f8f8f8; color:#666; font-size:90%;">
            border:1px solid #aaa; background:#f8f8f8;">
      [[File:{{{placeholder}}}|frameless|200px]]
{{#if:{{{image|}}}
    </div>
| [[File:{{{image}}}|250px|link=|alt={{{alt|}}}]]
}} <br> ''{{{caption|}}}''
| [[File:{{{placeholder}}}|250px|link=|alt=Placeholder]]
}}
</div>
|-
|-
! scope="row" style="text-align: right; margin-right: 20px;" | Birth date:
! scope="row" style="text-align: right; margin-right: 20px;" | Birth date:

Revision as of 20:50, 28 February 2026


Usage

{{Infobox craftsperson
| name           =
| image          =   <!-- e.g. Example.jpg -->
| alt            =
| placeholder    =   <!-- optional -->
| birth_date     =
| birth_place    =
| death_date     =
| death_place    =
| main_place     =
| craft_domains  =
| notable_works  = * Work 1
                  * Work 2
}}