Template:Infobox craftperson: Difference between revisions

From Japanese Craftpedia portal
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>


{| class="infobox" style="width: 22em; border: 1px solid #a2a9b1; float: right; clear: right; margin: 0.5em 0 1em 1em; background-color: #f8f9fa;"
{| class="infobox" style="width: 26em; border: 1px solid #a2a9b1; float: right; clear: right; margin: 0.5em 0 1em 1em; background-color: #d2fcea;"
|+ style="font-size: 125%; font-weight: bold;" | {{{name|{{PAGENAME}}}}}
|+ style="font-size: 125%; font-weight: bold; background-color: #93f5ca; padding: 10px; border: 1px solid #54ba8e;" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align: right;" | {{#if:{{{image|}}}
| colspan="2" style="text-align: right;" | <div style="width: 100%; display: flex; align-items: center; justify-content: center;"><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="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;">
      {{{placeholder|No image available}}}
{{#if:{{{image|}}}
    </div>
| [[File:{{{image}}}|250px|link=|alt={{{alt|}}}]]
}} <br> ''{{{caption|}}}''
| [[File:{{{placeholder}}}|250px|link=|alt=Placeholder]]
}}
</div>
</div>
|-
|-
! scope="row" style="text-align: right; margin-right: 20px;" | Birth date:
! scope="row" style="text-align: right; margin-right: 20px;" | Birth date:
Line 15: Line 18:
|-
|-
! scope="row" style="text-align: right;" | Birth place:
! scope="row" style="text-align: right;" | Birth place:
| {{{birth_place|N/A}}}
| style="margin-left: 50px;"  | {{{birth_place|N/A}}}
|-
|-
! scope="row" style="text-align: right;" | Death date:
! scope="row" style="text-align: right;" | Death date:
Line 22: Line 25:
! scope="row" style="text-align: right;" | Death place:
! scope="row" style="text-align: right;" | Death place:
| {{{death_place|N/A}}}
| {{{death_place|N/A}}}
|-
! scope="row" style="text-align: right;" | Main place:
| {{{main_place}}}
|-
! scope="row" style="text-align: right;" | Craft domains:
| {{{craft_domains}}}
|-
! scope="row" style="text-align: right;" | Notable works:
| {{{notable_works}}}
|-
|}
|}


Line 30: Line 43:
== Usage ==
== Usage ==
<pre>
<pre>
{{Infobox craftsperson
{{Infobox craftperson
| name          =
| name          =
| image          =  <!-- e.g. Example.jpg -->
| image          =  <!-- e.g. Example.jpg -->
Line 41: Line 54:
| main_place    =
| main_place    =
| craft_domains  =
| craft_domains  =
| notable_works  = * Work 1
| notable_works  =  
                  * Work 2
}}
}}
</pre>
</pre>

Latest revision as of 05:23, 1 March 2026


Usage

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