Template:Infobox craftperson: Difference between revisions

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

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