「テンプレート:Creator」の版間の差分

提供:脳科学辞典
ナビゲーションに移動 検索に移動
(1版)
 
(1版 をインポートしました)
 
(他の1人の利用者による、間の1版が非表示)
1行目: 1行目:
<div class="vcard">
{{#invoke:Creator|creator
<table class="toccolours collapsible {{ifimage|collapsed}}" cellpadding="2" cellspacing="0" style="direction:{{dir|{{int:Lang}}}}; text-align:{{#ifeq:{{dir|{{int:Lang}}}}|rtl|right|left}}; border-collapse:collapse; background:#f0f0ff; border:1px solid #aaa;" lang="{{int:Lang}}">
  | lang   = {{#if:{{{lang|}}} | {{{lang}}} | {{int:Lang}} }}
 
| demo   = {{{demo|<noinclude>1</noinclude>}}}
 
  | option = {{{option|{{{Option|}}}}}}
<!-- Top line with Creator name, lifespan and link icons -->
<tr valign="top">
<th colspan="4" style="background-color:#e0e0ee; font-weight:bold; border:1px solid #aaa;"><span class="fn" id="creator"><bdi><!--
 
== Creator name ==
-->{{#switch: {{lc:{{{Option|}}} }}
  | workshop of | workshop
  | circle of | circle
  | school of | school
  | studio of | studio
  | or follower | or workshop | and workshop = {{name|{{lc:{{{Option|}}}}}|{{{Name|}}} }}
  | attributed to          = {{Attributed to|{{{Name|}}} }}
  | after                  = {{After|{{{Name|}}} }}
  | formerly attributed to = {{Formerly attributed to|{{{Name|}}} }}
  | follower of            = {{Follower of|{{{Name|}}} }}
  | manner of              = {{Manner of|{{{Name|}}} }}
  | namepiece|name-piece|name piece = {{{Name|}}} ({{Namepiece}})
  | near                  = {{Near|{{{Name|}}} }}
  | possibly              = {{Possibly|{{{Name|}}} }}
  | probably              = {{Probably|{{{Name|}}} }}
  |                        = {{#ifexist:{{{Name|}}} | [[{{{Name|}}}]] | {{{Name}}} }}
  | #default              = {{#ifexist:{{{Name|}}} | [[{{{Name|}}}]] | {{{Name}}} }}{{#ifeq:{{NAMESPACE}}|File|[[Category:Bad use of creator template - option]]}}
}}</bdi></span> <!--
 
== lifespan ==
-->{{#if:{{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }} | {{#if:{{ISOyear| {{{Deathyear| {{{Deathdate|}}} }}} }} |({{#expr:{{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }}}}&ndash;{{#expr:{{ISOyear| {{{Deathyear| {{{Deathdate|}}} }}} }} }})}} }} <!--  
 
== Linkback link ==
-->{{NoImageNotes|[[File:Blue pencil.svg|15px|{{int:wm-license-creator-linkback}}|link={{{Linkback|}}}]]}}<!-- 
 
== Wikidata Link ==
-->{{#if:{{{Wikidata|}}}{{{demo|<noinclude>1</noinclude>}}}|&nbsp;{{NoImageNotes|[[File:Wikidata-logo.svg|20px|wikidata:{{{Wikidata|}}}|link=wikidata:{{{Wikidata|}}}]]}} }}<!--
 
== Wikisource Link ==
-->{{#if:{{{Wikisource|}}}{{{demo|<noinclude>1</noinclude>}}}|&nbsp;{{NoImageNotes|[[File:Wikisource-logo.svg|15px|{{{Wikisource|}}}|link={{{Wikisource|}}}]]}} }}<!--
 
== Wikiquote Link ==
-->{{#if:{{{Wikiquote|}}}{{{demo|<noinclude>1</noinclude>}}} |&nbsp;{{NoImageNotes|[[File:Wikiquote-logo.svg|15px|{{{Wikiquote|}}}|link={{{Wikiquote|}}}]]}} }}</th>
</tr>
 
<!-- Stub -->
{{#ifeq: {{lc: {{{Type|}}} }}|stub|<tr valign="top">
<th colspan="4" style="background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">'''{{{Stub label|This template is a [[w:Wikipedia:Stub|stub]]. Click [[{{{Linkback|Template:Creator}}}|here]] to expand it.}}}'''
</th>
</tr>}}
 
<!-- Image on the Left -->
{{#if:{{{Image|}}}|
<tr valign="top">
<td rowspan="8" style="width:{{{ImgWidth|120}}}px" id="fileinfotpl_creator_image">{{NoImageNotes|[[File:{{{Image|}}}|{{{ImgWidth|120}}}x360px|alt={{{Name}}}|class=photo]]}}</td>
</tr>
| {{#if:{{{demo|<noinclude>1</noinclude>}}}|
  <tr valign="top">
   <td rowspan="8">{{NoImageNotes|[[File:Silver - replace this image male.svg|120x180px]]}}</td>
  </tr>
}}
}}
 
<!-- Alternative names -->
{{#if:{{{Alternative names|}}}{{{demo|<noinclude>1</noinclude>}}}|
<tr valign="top">
<td style="min-width:130px; background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">{{int:wm-license-creator-alternative-names}}</td>
<td colspan="2" style="border:1px solid #aaa;" id="fileinfotpl_creator_alt-name_value"><span class="nickname">
{{{Alternative names|}}}</span></td>
</tr>
}}
 
<!-- Description -->
{{#if:{{{Description|}}}{{{Nationality|}}}{{{Occupation|}}}{{{demo|<noinclude>1</noinclude>}}}|
<tr valign="top">
<td style="background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">{{int:wm-license-creator-description}}</td>
<td colspan="2" style="border:1px solid #aaa;" class="note" id="fileinfotpl_creator_desc_value">
{{#if:{{{Nationality|}}}{{{Occupation|}}}|{{NationAndOccupation|{{{Gender|m}}}|{{{Nationality|}}}|{{#titleparts:{{{Occupation|}}}|1|1}}|{{#titleparts:{{{Occupation|}}}|1|2}}|{{#titleparts:{{{Occupation|}}}|1|3}}|{{#titleparts:{{{Occupation|}}}|1|4}}}}<br>}}
{{{Description|}}}</td>
</tr>
}}
 
<!-- Birth/Death date -->
{{#if:{{{Birthdate|{{{Birthyear|}}} }}}{{{Deathdate|{{{Deathyear|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
<tr valign="top">
<td style="background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">{{#if:{{{Deathdate|{{{Deathyear|}}}}}}|{{int:wm-license-creator-date-of-birth-and-death}}|{{int:wm-license-creator-date-of-birth}} }}</td>
<td style="min-width:100px; border:1px solid #aaa;" id="fileinfotpl_creator_birthdate_value">
{{ISOdate|{{{Birthdate|{{{Birthyear|}}} }}} |class=bday}}</td>
<td style="min-width:100px; border:1px solid #aaa;" id="fileinfotpl_creator_deathdate_value">
{{ISOdate|{{{Deathdate|{{{Deathyear|}}} }}} |class=}}</td>
</tr>
}}
 
<!-- Birth/Death location -->
{{#if:{{{Birthloc|}}}{{{Deathloc|}}}{{{demo|<noinclude>1</noinclude>}}}|
<tr valign="top">
<td style="background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">{{#if:{{{Deathloc|}}}|{{int:wm-license-creator-location-of-birth-and-death}}|{{int:wm-license-creator-location-of-birth}} }}</td>
<td style="min-width:100px; border:1px solid #aaa;" id="fileinfotpl_creator_birthloc_value">
{{City|{{{Birthloc|}}}}}</td>
<td style="min-width:100px; border:1px solid #aaa;" id="fileinfotpl_creator_deathloc_value">
{{City|{{{Deathloc|}}}}}</td>
</tr>
}}
 
<!-- Work period -->
{{#if:{{{Workperiod|}}}{{{demo|<noinclude>1</noinclude>}}}|
<tr valign="top">
<td style="background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">{{int:wm-license-creator-work-period}}</td>
<td colspan="2" style="border:1px solid #aaa;" id="fileinfotpl_creator_work-period_value">
{{{Workperiod|}}}</td>
</tr>
}}
 
<!-- Work location -->
{{#if:{{{Workloc|}}}{{{demo|<noinclude>1</noinclude>}}}|
<tr valign="top">
<td style="background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">{{int:wm-license-creator-work-location}}</td>
<td colspan="2" style="border:1px solid #aaa;" class="adr" id="fileinfotpl_creator_work-location_value"><span class="locality">
{{{Workloc|}}}</span></td>
</tr>
}}
 
<!-- Authority Control -->
{{#if:{{{Authority|}}}{{{demo|<noinclude>1</noinclude>}}}|
<tr valign="top">
<td style="background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">{{Authority control tag|nolink=1}}</td>
<td colspan="2" style="border:1px solid #aaa;" id="fileinfotpl_creator_authority_value">{{{Authority|}}}</td>
</tr>
}}
 
</table>
</div><!--
===============================================================
=== automatic categorization of pages in Creator: namespace ===
===============================================================
-->{{#ifeq:{{NAMESPACE}}|Creator|
  {{#if:{{{Reference|{{{References|}}}}}}|<H2>{{int:wm-license-artwork-references}}</H2><small>{{Creator/i18n|reference}}</small><br/>
{{{Reference|{{{References|}}}}}} }}
  {{documentation|Template:Creator/documentation}}
  [[Category:Creator templates|{{{Sortkey|{{PAGENAME}}}}}]]
  {{#if:{{{Homecat|}}}    | [[Category:{{{Homecat|}}}| ]]}}
  {{#if:{{{Name|}}}      || [[Category:Creator templates without key information]] }}
  {{#if:{{{Sortkey|}}}    || [[Category:Creator templates without key information]] }}
  {{#if:{{{Linkback|}}}  || [[Category:Creator templates without key information]] }}
  {{#switch: {{lc: {{{Type|}}} }}
    |commons user = [[Category:User creator templates]]
    |corporation  = [[Category:Corporate creator templates]]
    |group        = [[Category:Group creator templates]]
    |stub        = [[Category:Creator template stubs]]
    ||person      = {{#if:{{{Image|}}} | {{#if:{{{Gender|}}} ||  [[Category:Creator templates with image but no gender]]}} }}
    |#default    = [[Category:Bad creator type]]
  }}
 
  {{#switch: {{lc: {{{Type|}}} }}
    |commons user|stub = <!-- No maintenance categories -->
    |#default =
      {{#if:{{{Image|}}}    || [[Category:Creator templates without images]] }}
      {{#if:{{{Authority|}}} || [[Category:Creator templates without authority control data]] }}
      {{#if:{{{Wikidata|}}}  | [[Category:Creator templates with Wikidata link]] | [[Category:Creator templates without Wikidata link]] }}
      {{#if:{{{Homecat|}}}  | {{#ifexist:Category:{{{Homecat|}}} || [[Category:Creator templates with non-existing home categories]] }} | [[Category:Creator templates without home category]] }}
      {{#ifeq: {{localurl:{{PAGENAME}}}} | {{localurl:{{{Homecat}}}}} || [[Category:Creator templates with non-matching home categories]] }}
  }}
}}<!--
================================================================
=== automatic categorization of pages in Category: namespace ===
================================================================
-->{{#ifeq:{{NAMESPACE}}|Category|
  {{#ifeq: {{localurl:{{PAGENAME}}}} | {{localurl:{{{Homecat}}}}} |
    [[Category:Creator template home categories|{{{Sortkey|{{PAGENAME}}}}}]]{{#if:{{{Authority|}}} || [[Category:Home categories of creator templates without authority control data|{{{Sortkey|{{PAGENAME}}}}}]] }}
  }}
}}<!--
============================================================
=== automatic categorization of pages in File: namespace ===
============================================================
-->{{#ifeq:{{NAMESPACE}}|File|
  {{#if:{{{Image|}}} || {{Creator template no image}} }} <!-- a fake template used as a tag to be used with CatScan -->
}}<!--
====================================================
=== automatic tagging of pages in all namespaces ===
====================================================
add an empty template which can be used as a tag in CatScan
 
-->{{#switch: {{lc: {{{Type|}}} }}
||person=
{{#if:{{ISOyear| {{{Deathyear|{{{Deathdate|}}} }}} }} |
  {{#switch: {{Years since|1={{ISOyear| {{{Deathyear|{{{Deathdate|}}} }}} }}+1|mod=10|min=64|max=100|error=0}}
    |100      = {{Works of authors who died more than 100 years ago}}
    |70|80|90 = {{Works of authors who died more than 70 years ago}}
    |64      = {{Works of authors who died less than 65 years ago}}
  }} 
}}
{{#if:{{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }} |
  {{#switch: {{Years since|1={{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }}+1|min=64|max=210|error=0}}
    |210      = {{Works of authors who died more than 100 years ago}}<!-- Assumes max 110 lifespan-->
    |64      = {{Works of authors who died less than 65 years ago}}
  }} 
}}
}}<noinclude>
}}<noinclude>



2020年1月29日 (水) 13:27時点における最新版

missing name   ファイル:Blue pencil.svg
ファイル:Silver - replace this image male.svg
⧼wm-license-creator-alternative-names⧽
⧼wm-license-creator-description⧽
⧼wm-license-creator-date-of-birth⧽
⧼wm-license-creator-location-of-birth⧽
⧼wm-license-creator-work-period⧽
⧼wm-license-creator-work-location⧽
Q36524
⧼wm-license-artwork-references⧽


[create] Documentation icon Template documentation