Template:Infobox craftperson: Difference between revisions

From Japanese Craftpedia portal
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox vcard" style="width: 22em; font-size: 90%; line-height: 1.35; float: right; clear: right; margin: 0 0 1em 1em;"
 
{| class="infobox" style="width: 22em; text-align: left; font-size: 90%;"
|+ style="font-size: 120%; font-weight: bold;" | {{{name}}}
|-
|-
| colspan="2" class="fn" style="text-align:center; font-size:125%; padding:0.35em;" || {{{name|{{PAGENAME}}}}}
| style="text-align: center;" colspan="2" | {{{image}}}
|-
|-
| colspan="2" style="text-align:center; padding:0.4em;" ||
! Style | Column 1
{{#if:{{{image|}}}
| Data | Column 2
  | [[File:{{{image}}}|frameless|250px|alt={{{alt|}}}]]
  | <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%;">
      {{{placeholder|No image available}}}
    </div>
}}
|-
! scope="row" style="text-align:left; padding:0.25em 0.5em;" !! Born
| style="padding:0.25em 0.5em;" | {{{birth_date|—}}}{{#if:{{{birth_place|}}}|<br/>{{{birth_place}}}|}}
|-
{{#if:{{{death_date|}}}{{{death_place|}}}|
|-
|| scope="row" style="text-align:left; padding:0.25em 0.5em;" !! Died
| style="padding:0.25em 0.5em;" | {{{death_date|—}}}{{#if:{{{death_place|}}}|<br/>{{{death_place}}}|}}
|}}
|-
|| scope="row" style="text-align:left; padding:0.25em 0.5em;" !! Place of birth
| style="padding:0.25em 0.5em;" | {{{birth_place|—}}}
|-
| scope="row" style="text-align:left; padding:0.25em 0.5em;" !! Main activity
| style="padding:0.25em 0.5em;" | {{{main_place|—}}}
|-
| scope="row" style="text-align:left; padding:0.25em 0.5em;" !! Craft domain(s)
| style="padding:0.25em 0.5em;" | {{{craft_domains|—}}}
|-
| scope="row" style="text-align:left; padding:0.25em 0.5em;" !! Notable works
| style="padding:0.25em 0.5em;" |
{{#if:{{{notable_works|}}}
  | <div class="plainlist">{{{notable_works}}}</div>
  | —
}}
|}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Usage ==
== Usage ==

Revision as of 20:24, 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
}}