Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Sandbox: Difference between revisions

Template page
No edit summary
Undo revision 67263741 by EmmanuelFrance (talk) moved the code to Template:Creator/sandbox
Line 1: Line 1:
<div class="vcard">
<noinclude><!--
<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;">


NOTE: This is NOT the sandbox. Please experiment at [[Commons:Sandbox]].


<!-- Top line with Creator name, lifespan and link icons -->
-->[[Category:Commons header templates|{{PAGENAME}}]]
<tr valign="top">
</noinclude><includeonly>{{shortcut2|COM:SAND|COM:SB}}</includeonly>
<th colspan="4" style="background-color:#e0e0ee; font-weight:bold; border:1px solid #aaa;"><span class="fn" id="creator"><!--
{{sandbox/lang}}
{| style="background-color:transparent;border:1px dotted #000000;padding:2px;margin:2px"
| ''Welcome to the '''Wikimedia Commons Sandbox'''. This page allows you to carry out experiments.
# Click '''[{{fullurl:Commons:Sandbox|action=edit}} edit the sandbox]''' to edit and make your changes.
# Click the '''Save page''' button when finished.


== Creator name ==
* ''Please do not place copyrighted, offensive or libelous content in the sandbox.
-->{{#switch: {{lc:{{{Option|}}} }}
* If you have any questions regarding [[Commons:Welcome|Wikimedia Commons]], please read the [[Commons:FAQ|FAQ]] and [[Commons:First steps]]; or your questions can be posed at the [[Commons:Village pump|village pump]]. Thanks!''
  | 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|}}} }}} }}&ndash;{{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 22:27, 19 February 2012


বাংলা  català  Deutsch  English  español  فارسی  suomi  français  हिन्दी  magyar  Bahasa Indonesia  íslenska  italiano  日本語  한국어  македонски  polski  português  русский  sicilianu  Türkçe  Tiếng Việt  中文  中文(简体)  中文(繁體)  +/−

Welcome to the Wikimedia Commons Sandbox. This page allows you to carry out experiments.
  1. Click edit the sandbox to edit and make your changes.
  2. Click the Save page button when finished.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.