Template:Sandbox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <div class="vcard"> | ||
<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 = {{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|}}} }} | |||
| #default = {{#ifexist:{{{Name|}}} | [[{{{Name|}}}]] | {{{Name}}} }} | |||
}}</span> <!-- | |||
== lifespan == | |||
-->{{#if:{{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }} | {{#if:{{ISOyear| {{{Deathyear| {{{Deathdate|}}} }}} }} |({{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }}–{{ISOyear| {{{Deathyear| {{{Deathdate|}}} }}} }})}} }} <!-- | |||
== Linkback link == | |||
-->{{NoImageNotes|[[File:Gnome-go-previous.svg|15px|{{int:wm-license-creator-linkback}}|link={{{Linkback|{{#ifexist:Creator:{{{Homecat|}}}|Creator:{{{Homecat|}}}|Category:{{{Homecat|}}} }} }}}]]}}<!-- | |||
== Wikisource Link == | |||
-->{{#if:{{{Wikisource|}}}{{{demo|<noinclude>1</noinclude>}}}|{{NoImageNotes|[[File:Wikisource-logo.svg|15px|{{{Wikisource|}}}|link={{{Wikisource|}}}]]}} }}</th> | |||
</tr> | |||
<!-- Stub --> | |||
{{#if:{{{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">{{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|alt=remplace this image|link=]]}}</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;">{{int:wm-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;">{{int:wm-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|}}}|{{int:wm-license-creator-date-of-birth-and-death}}|{{int:wm-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|}}}|{{int:wm-license-creator-location-of-birth-and-death}}|{{int:wm-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;">{{int:wm-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;">{{int:wm-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|}}}{{{PND|}}}{{{LCCN|}}}{{{VIAF|}}}{{{SELIBR|}}}{{{ARC|}}}{{{BNF|}}}{{{ULAN|}}}{{{GKD|}}}{{{GKD-V1|}}}{{{GKD-V2|}}}{{{SWD|}}}{{{TSURL|}}}{{{EST|}}}{{{WORLDCATID|}}}{{{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;">{{#if:{{{Authority|}}}|{{{Authority}}}|{{Authority control|PND={{{PND|}}}|LCCN= {{{LCCN|}}}|VIAF= {{#titleparts:{{{VIAF|}}}|1|1}}|SELIBR={{{SELIBR|}}}|ARC={{{ARC|}}}|BNF={{{BNF|}}}|ULAN={{{ULAN|}}}|GKD={{{GKD|}}}|GKD-V1={{{GKD-V1|}}}|GKD-V2={{{GKD-V2|}}}|SWD={{{SWD|}}}|TSURL={{{TSURL|}}}|WORLDCATID={{{WORLDCATID|}}}|EST = {{{EST|}}}|bare=1}}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</div>{{#ifeq:{{NAMESPACE}}|Creator|{{#if:{{{Stub|}}}| | |||
<!-- === automatic categorization of stub pages in Creator: namespace === --> | |||
{{#if:{{{Reference|}}}|<H2>{{int:wm-license-artwork-references}}</H2><small>(References are only visible in Creator namespace)</small><br/>{{{Reference}}} }} | |||
{{documentation|template:Creator/stub-documentation}} | |||
[[Category:Creator template stubs|{{{Sortkey|{{PAGENAME}}}}}]] | |||
[[Category:Creator templates|{{{Sortkey|{{PAGENAME}}}}}]] | |||
{{#if:{{{Homecat|}}} | [[Category:{{{Homecat|}}}| ]]}} | |||
| | |||
<!-- === automatic categorization of pages in Creator: namespace === --> | |||
{{#if:{{{Reference|}}}|<H2>{{int:wm-license-artwork-references}}</H2><small>(References are only visible in Creator namespace)</small><br/>{{{Reference}}} }} | |||
{{documentation|Template:Creator/documentation}} | |||
[[Category:Creator templates|{{{Sortkey|{{PAGENAME}}}}}]] | |||
{{#if:{{{Name|}}} || [[Category:Creator templates without key information]] }} | |||
{{#if:{{{Sortkey|}}} || [[Category:Creator templates without key information]] }} | |||
{{#if:{{{Image|}}} || [[Category:Creator templates without images]] }} | |||
{{#if: {{{Corporate|}}} | [[Category:Corporate creator templates]] }} | |||
{{#if:{{{Homecat|}}} | |||
| [[Category:{{{Homecat}}}| ]] {{#ifexist:Category:{{{Homecat}}} || [[Category:Creator templates without home category]] }} | |||
| [[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 === --> | |||
{{#if:{{ISOyear| {{{Deathyear|{{{Deathdate|}}} }}} }} | | |||
{{#ifexpr:{{CURRENTYEAR}}-{{ISOyear| {{{Deathyear|{{{Deathdate|}}} }}} }}>100 | |||
| {{Works of authors who died more than 100 years ago}} <!-- a fake template used as a tag to be used with CatScan --> | |||
| {{#ifexpr:{{CURRENTYEAR}}-{{ISOyear| {{{Deathyear|{{{Deathdate|}}} }}} }}>70 | |||
| {{Works of authors who died more than 70 years ago}} <!-- a fake template used as a tag to be used with CatScan --> | |||
| {{#ifexpr:{{CURRENTYEAR}}-{{ISOyear| {{{Deathyear|{{{Deathdate|}}} }}} }}<65 | |||
| {{Works of authors who died less than 65 years ago}} <!-- a fake template used as a tag to be used with CatScan --> | |||
}} | |||
}} | |||
}} | |||
}} | |||
{{#if:{{{Image|}}} || {{Creator template no image}} }} <!-- a fake template used as a tag to be used with CatScan --> | |||
}}<noinclude> | |||
{{documentation}} | |||
</noinclude> | |||
Revision as of 21:18, 19 February 2012
| {{{Name}}} (Template:ISOyear–Template:ISOyear) |
|||
|---|---|---|---|
| Alternative names | |||
| Description | |||
| Date of birth | |||
| Location of birth | Template:City | Template:City | |
| Work period | |||
| Work location | |||
| Template:Authority control tag | Template:Authority control | ||
This documentation is transcluded from Template:Sandbox/doc.