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: | {| 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;" | | | 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; | ||
overflow:hidden; box-sizing:border-box; | |||
border:1px solid #aaa; background:#f8f8f8;"> | |||
{{#if:{{{image|}}} | |||
| [[File:{{{image}}}|250px|link=|alt={{{alt|}}}]] | |||
}} | | [[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 | {{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 = | | notable_works = | ||
}} | }} | ||
</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 =
}}