Difference between revisions of "Template:Creator"

From PUBLIC DOMAIN PROJECT MEDIAPOOL
Jump to: navigation, search
(Redirected page to Template:Infobox creator)
 
Line 1: Line 1:
−
<div class="vcard">
+
#REDIRECT [[Template:Infobox 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;">
 
−
 
 
−
 
 
−
<!-- 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"><!--
 
−
 
 
−
== Creator name ==
 
−
-->{{#switch: {{lc:{{{Option|}}} }}
 
−
  | workshop of | circle of | school of | 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|}}} }}
 
−
  | near                  = {{Near|{{{Name|}}} }}
 
−
  | #default              = {{#ifexist:{{{Name|}}} | [[{{{Name|}}}]] | {{{Name}}} }}
 
−
}}</span> <!--
 
−
 
 
−
== lifespan ==
 
−
-->{{#if:{{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }} | {{#if:{{ISOyear| {{{Deathyear| {{{Deathdate|}}} }}} }} |({{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }}&ndash;{{ISOyear| {{{Deathyear| {{{Deathdate|}}} }}} }})}} }} <!-- 
 
−
 
 
−
== Linkback link ==
 
−
-->{{NoImageNotes|[[File:Gnome-go-previous.png|15px|{{license-creator-linkback}}|link={{{Linkback|}}}]]}}<!-- 
 
−
 
 
−
== Wikisource Link ==
 
−
-->{{#if:{{{Wikisource|}}}{{{demo|<noinclude>1</noinclude>}}}|{{NoImageNotes|[[Commons:File:Wikisource-logo.svg|15px|{{{Wikisource|}}}|link={{{Wikisource|}}}]]}} }}</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 [[Wikipedia: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">{{NoImageNotes|[[File:{{{Image|}}}|{{{ImgWidth|120}}}x360px|alt={{{Name}}}]]}}</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="background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">{{license-creator-alternative-names}}</td>
 
−
<td colspan="2" style="border:1px solid #aaa;"><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;">{{license-creator-description}}</td>
 
−
<td colspan="2" style="border:1px solid #aaa;">
 
−
{{#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|}}}|{{wm-license-creator-date-of-birth-and-death}}|{{license-creator-date-of-birth}} }}</td>
 
−
<td style="width:30%; border:1px solid #aaa;" class="bday">
 
−
{{ISOdate|{{{Birthdate|{{{Birthyear|}}} }}} }}</td>
 
−
<td style="width:30%; border:1px solid #aaa;"            >
 
−
{{ISOdate|{{{Deathdate|{{{Deathyear|}}} }}} }}</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|}}}|{{license-creator-location-of-birth-and-death}}|{{license-creator-location-of-birth}} }}</td>
 
−
<td style="width:30%; border:1px solid #aaa;">
 
−
{{City|{{{Birthloc|}}}}}</td>
 
−
<td style="width:30%; border:1px solid #aaa;">
 
−
{{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;">{{license-creator-work-period}}</td>
 
−
<td colspan="2" style="border:1px solid #aaa;">
 
−
{{{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;">{{license-creator-work-location}}</td>
 
−
<td colspan="2" style="border:1px solid #aaa;" class="adr"><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}}</td>
 
−
<td colspan="2" style="border:1px solid #aaa;">{{{Authority|}}}</td>
 
−
</tr>
 
−
}}
 
−
 
 
−
</table>
 
−
</div>{{#ifeq:{{NAMESPACE}}|Creator|
 
−
<!-- === automatic categorization of pages in Creator: namespace === -->
 
−
  {{#if:{{{Reference|}}}|<H2>{{license-artwork-references}}</H2><small>{{LangSwitch
 
−
|en=(References are only visible in Creator namespace)
 
−
|fr=(Les références ne sont visibles que dans l’espace de nom Creator)
 
−
}}</small><br/>
 
−
{{{Reference}}} 
 
−
}}
 
−
  {{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      = 
 
−
    |#default    = [[Category:Bad creator type]]
 
−
  }}
 
−
 
 
−
  {{#switch: {{lc: {{{Type|}}} }}
 
−
    |commons user|stub = <!-- No maintenance categories -->
 
−
    |#default =
 
−
      {{#if:{{{Name1|}}} |  [[Category:Creator templates in need of cleanup]] }}
 
−
      {{#if:{{{Image|}}} || [[Category:Creator templates without images]] }}
 
−
      {{#ifexist:Category:{{{Homecat|}}} || [[Category:Creator templates without home category]] }}
 
−
      {{#ifeq: {{localurl:{{PAGENAME}}}} | {{localurl:{{{Homecat}}}}} || [[Category:Creator templates with non-matching home categories]] }}
 
−
      {{#if:{{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }} || [[Category:Creator templates without birth/death dates]]}}
 
−
      {{#if:{{ISOyear| {{{Deathyear|{{{Deathdate|}}} }}} }} || [[Category:Creator templates without birth/death dates]]}}
 
−
  }}
 
−
}}{{#ifeq:{{NAMESPACE}}|Category|
 
−
<!-- === automatic categorization of pages in Category: namespace === -->
 
−
  {{#ifeq: {{localurl:{{PAGENAME}}}} | {{localurl:{{{Homecat}}}}} |
 
−
    [[Category:Creator template home categories|{{{Sortkey|{{PAGENAME}}}}}]]
 
−
  }}
 
−
}}{{#ifeq:{{NAMESPACE}}|File|
 
−
<!-- === automatic categorization of pages in File: namespace === -->
 
−
  <!-- add a fake template which can be used as a tag in CatScan -->
 
−
  {{#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:{{{Image|}}} || {{Creator template no image}} }} <!-- a fake template used as a tag to be used with CatScan -->
 
−
}}<noinclude>
 
−
[[Category:Templates]]
 
−
</noinclude>
 

Latest revision as of 17:10, 3 May 2012