|
|
Regel 1: |
Regel 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;" lang="{{int:Lang}}">
| | {| class="wikitable collapsible collapsed" style="width: 400px" align="right"; |
| | | ! colspan="3"|<!-- |
| | | == Wikidata Link == -->{{#if:{{{Wikidata|}}}{{{demo|<noinclude>1</noinclude>}}}| {{NoImageNotes|[[File:Wikidata-logo.png|20px|wikidata:{{{Wikidata|}}}|link=wikidata:{{{Wikidata|}}}]]}} }}<!-- |
| <!-- Top line with Creator name, lifespan and link icons -->
| | == Wikisource Link == -->{{#if:{{{Wikisource|}}}{{{demo|<noinclude>1</noinclude>}}}| {{NoImageNotes|[[File:Wikisource-logo.png|15px|{{{Wikisource|}}}|link={{{Wikisource|}}}]]}} }}<!-- |
| <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 | or workshop | and workshop | and/or workshop
| |
| | circle of | circle | school of | school | studio of | studio
| |
| | attributed to | formerly attributed to | possibly | probably
| |
| | follower of | or follower | manner of | near | after =
| |
| {{#invoke:Name|name
| |
| |operation = {{{Option|}}}
| |
| |name = {{#if: {{{Name|}}} | {{{Name}}} | {{label|{{{Wikidata|}}} }} }}
| |
| |lang = {{{lang|{{int:Lang}} }}}
| |
| }}
| |
| | = {{#if: {{{Name|}}} | {{{Name}}} | {{label|{{{Wikidata|}}} }} }}
| |
| | #default = {{#if: {{{Name|}}} | {{{Name}}} | {{label|{{{Wikidata|}}} }} }} {{#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|}}} }}} }}}}–{{#expr:{{ISOyear| {{{Deathyear| {{{Deathdate|}}} }}} }} }})}} }} <!--
| |
| | |
| == Linkback link ==
| |
| -->{{NoImageNotes|[[File:Blue pencil.png|15px|{{int:wm-license-creator-linkback}}|link={{{Linkback|}}}]]}}<!--
| |
| | |
| == Wikidata Link == | |
| -->{{#if:{{{Wikidata|}}}{{{demo|<noinclude>1</noinclude>}}}| {{NoImageNotes|[[File:Wikidata-logo.png|20px|wikidata:{{{Wikidata|}}}|link=wikidata:{{{Wikidata|}}}]]}} }}<!-- | |
| | |
| == Wikisource Link == | |
| -->{{#if:{{{Wikisource|}}}{{{demo|<noinclude>1</noinclude>}}}| {{NoImageNotes|[[File:Wikisource-logo.png|15px|{{{Wikisource|}}}|link={{{Wikisource|}}}]]}} }}<!-- | |
| | |
| == Wikiquote Link == | | == Wikiquote Link == |
| -->{{#if:{{{Wikiquote|}}}{{{demo|<noinclude>1</noinclude>}}} | {{NoImageNotes|[[File:Wikiquote-logo.png|15px|{{{Wikiquote|}}}|link={{{Wikiquote|}}}]]}} }}</th> | | -->{{#if:{{{Wikiquote|}}}{{{demo|<noinclude>1</noinclude>}}} | {{NoImageNotes|[[File:Wikiquote-logo.png|15px|{{{Wikiquote|}}}|link={{{Wikiquote|}}}]]}} }} <big>'''{{{naam|}}}'''</big> |
| </tr>
| | |- |
| | | | rowspan="8"| <center>[[Bestand:{{{afbeelding}}}|150px]]<br/>{{#if:{{{onderschrift|}}}|{{{onderschrift}}} }}</center> |
| <!-- Stub -->
| | |- |
| {{#ifeq: {{lc: {{{Type|}}} }}|stub|<tr valign="top">
| | |{{Infobox generiek |
| <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.}}}'''
| | | kop = [[{{{naam|}}}]] |
| </th> | | | breed = {{{altnaam|}}} |
| </tr>}}
| | | kop1 = Algemene informatie |
| | | | head1_1 = Volledige<br />naam | item1_1 = {{{volledigenaam|}}} |
| <!-- Image on the Left -->
| | | head1_2 = Geboren | item1_2 = {{{geboortedatum|}}}{{#if:{{{geboorteplaats|}}}|, {{{geboorteplaats|}}} |}} |
| {{#if:{{{Image|}}}|
| | | head1_3 = Overleden | item1_3 = {{{sterfdatum|}}}{{#if:{{{sterfplaats|}}}|, {{{sterfplaats|}}} |}} |
| <tr valign="top">
| | | head1_4 = Doodsoorzaak | item1_4 = {{{doodsoorzaak|}}} |
| <td rowspan="8" style="width:{{{ImgWidth|120}}}px" id="fileinfotpl_creator_image">{{NoImageNotes|[[File:{{{Image|}}}|{{{ImgWidth|120}}}x360px|alt={{{Name}}}|class=photo]]}}</td>
| | | head1_5 = Nationaliteit | item1_5 = {{{nationaliteit|}}} |
| </tr>
| | | head1_6 = Beroep | item1_6 = {{{beroep|}}} |
| | {{#if:{{{demo|<noinclude>1</noinclude>}}}|
| | | head1_7 = Bekend van | item1_7 = {{{bekendvan|}}} |
| <tr valign="top">
| | | head1_8 = {{{algemeennaam1|}}} | item1_8 = {{{algemeen1|}}} |
| <td rowspan="8">{{NoImageNotes|[[File:Silver - replace this image male.png|120x180px]]}}</td>
| | | head1_9 = {{{algemeennaam2|}}} | item1_9 = {{{algemeen2|}}} |
| </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>
| |
| }} | | }} |
| | |}<noinclude>{{Sjablooninfo|1= |
| | == Doel == |
| | '''Sjabloon:Creator''' is bedoeld als basis voor sjablonen voor schilders, kunstenaars, fotografen, enz. wiens werk in sjabloon {{tl|Afbeelding}} wordt beschreven. |
| | ==Voorbeeld== |
|
| |
|
| <!-- Authority Control --> | | <pre>{{Creator |
| {{#if:{{{Authority|}}}{{{Wikidata|}}}{{{demo|<noinclude>1</noinclude>}}}| | | | naam = Peter Elfelt |
| <tr valign="top">
| | | afbeelding = Elfelt_Peter_02.jpg |
| <td style="background:#e0e0ee; border:1px solid #aaa; font-weight:bold;">{{Authority control tag|nolink=1}}</td>
| | | onderschrift = |
| <td colspan="2" style="border:1px solid #aaa;" id="fileinfotpl_creator_authority_value">{{#if:{{{Authority|}}}|{{{Authority}}}|{{Authority control|Wikidata={{{Wikidata|}}}|bare=1|lang={{int:Lang}}|length=5}} }}</td>
| | | volledigenaam = Peter Lars Petersen |
| </tr>
| | | geboortedatum = [[1 januari]] [[1866]] |
| | | geboorteplaats = [[Helsingør]] |
| | | sterfdatum = [[18 februari]] [[1931]] |
| | | sterfplaats = [[Kopenhagen]] |
| | | nationaliteit = [[Denemarken|Deens]] |
| | | beroep = [[Koninklijk Hof]][[fotograaf]] |
| | | bekendvan = de eerste filmpionier van Denemarken toen hij in [[1897]] een documentairefilmpje maakte van één minuut met [[Groenland]]se honden. |
| | | algemeennaam1 = |
| | | algemeen1 = |
| | | algemeennaam2 = |
| | | algemeen2 = |
| | }}</pre> |
| | {{Creator |
| | | naam = Peter Elfelt |
| | | afbeelding = Elfelt_Peter_02.jpg |
| | | onderschrift = |
| | | volledigenaam = Peter Lars Petersen |
| | | geboortedatum = [[1 januari]] [[1866]] |
| | | geboorteplaats = [[Helsingør]] |
| | | sterfdatum = [[18 februari]] [[1931]] |
| | | sterfplaats = [[Kopenhagen]] |
| | | nationaliteit = [[Denemarken|Deens]] |
| | | beroep = [[Koninklijk Hof]][[fotograaf]] |
| | | bekendvan = de eerste filmpionier van Denemarken toen hij in [[1897]] een documentairefilmpje maakte van één minuut met [[Groenland]]se honden. |
| | | algemeennaam1 = |
| | | algemeen1 = |
| | | algemeennaam2 = |
| | | algemeen2 = |
| }} | | }} |
| | == Gebruik == |
| | * Als geen plaatje bekend is, neem dan een van de twee voorbeelden. Een plaatje is verplicht. |
| | <pre>{{Creator |
| | | naam = |
| | | altnaam = |
| | | afbeelding = Crystal Clear app kuser.png (man) // Crystal Clear kdm user female.png (vrouw) |
| | | onderschrift = Afbeelding gewenst |
| | | volledigenaam = |
| | | geboortedatum = |
| | | geboorteplaats = |
| | | sterfdatum = |
| | | sterfplaats = |
| | | nationaliteit = |
| | | beroep = |
| | | bekendvan = |
| | | algemeennaam1 = |
| | | algemeen1 = |
| | | algemeennaam2 = |
| | | algemeen2 = |
| | }}[[Categorie:Sjabloon:Creator| ]] |
| | </pre> |
| | Voeg de volgende categorie toe: '''<nowiki>[[Categorie:Sjabloon:Creator|achternaam, voornaam]]</nowiki>''' |
|
| |
|
| </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|{{{Wikidata|}}}}}} || [[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:{{{Wikidata|}}}
| |
| | [[Category:Creator templates with Wikidata link]]
| |
| {{#switch:"{{#property:P1472|from={{{Wikidata|}}}}}"
| |
| |"{{PAGENAME}}"=<!-- Do nothing P1472 matches the page name as required-->
| |
| |"" = [[Category:Creator templates with Wikidata link: item missing P1472]]
| |
| |#default = [[Category:Creator templates with Wikidata link: item mismatching P1472]]
| |
| }}
| |
| {{#switch:"{{#property:P373|from={{{Wikidata|}}}}}"
| |
| |"{{{Homecat|}}}"=<!-- Do nothing P373 matches the page name as required-->
| |
| |"" = [[Category:Creator templates with Wikidata link: item missing P373]]
| |
| |#default = [[Category:Creator templates with Wikidata link: item mismatching P373]]
| |
| }}
| |
| {{#if:{{{Authority|}}}|[[Category:Creator templates with Wikidata link: local authority control]]}}
| |
| | [[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:{{{Wikidata|}}} || [[Category:Creator template home categories without Wikidata link]] }}
| |
| }}
| |
| }}<!--
| |
| ============================================================
| |
| === 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|}}} }}} }} |
| | [[Categorie:Sjablonen persoon|* ]] |
| {{#switch: {{Years since|1={{ISOyear| {{{Birthyear|{{{Birthdate|}}} }}} }}+1|min=64|max=210|error=0}}
| | [[Categorie:Sjablonen infobox|Persoon]] |
| |210 = {{Works of authors who died more than 100 years ago}}<!-- Assumes max 110 lifespan-->
| | [[Categorie:Sjabloon:Creator|*]] |
| |64 = {{Works of authors who died less than 65 years ago}}
| |
| }}
| |
| }}
| |
| }}<noinclude>
| |
| | |
| {{documentation}}
| |
| | |
| </noinclude> | | </noinclude> |