|
|
(58 intermediate revisions by 7 users not shown) |
Line 1: |
Line 1: |
− | <includeonly> | + | <noinclude> |
− | <div class="jurDash" style="width:40%;vertical-align:top;float:right;display:inline-block;margin-left:40px;">
| + | This is the "Jurisdiction" template. |
− | <div id="jurbox" style="width:100%; border:1px solid #cccccc;background-color:#f4f4f4; vertical-align:top;padding:15px;float:right;display:inline-block;font-size:0.95em;">
| + | It should be called in the following format: |
− | <h2 style="font-size:1.3em; font-weight:bold;text-align:left;padding-left:5px;margin:0px;letter-spacing:1px;display:inline-block;padding-bottom:10px;">CC {{PAGENAME}}</h2>
| + | <pre> |
− | <div style="float:right;display:inline-block;text-align:right;margin-left:5px;" class="jurImage">{{#if: {{{country code|}}}|{{#set: Country code={{lc:{{{country code|}}}}}}}}}{{#if: {{{flagurl|}}}|{{#set: Flag URL={{{flagurl|}}}}}{{#if: {{{homepage|}}}|[{{{homepage|}}} {{{flagurl|}}}]|{{{flagurl|}}}}}|[http://creativecommons.org/international/{{lc:{{{country code|}}}}}/ http://creativecommons.org/images/international/{{lc:{{{country code|}}}}}.png]}}{{#if: {{{logourl|}}}|<br /><br /><div id="logoimg">{{{logourl|}}}</div>|}}</div> | + | {{Jurisdiction |
− | | + | |jurstatus= |
− | * {{#if: {{{homepage|}}}|{{#set:Jurisdiction homepage={{{homepage|}}}}}'''[{{{homepage|}}} Homepage]'''|[{{fullurl:{{PAGENAME}}|action=formedit}} Add homepage]}}{{#if: {{{blog|}}}|{{#set:Jurisdiction blog={{{blog|}}}}}|}}
| + | |status= |
− | * {{#if: {{{mailing list|}}}|{{#set:Jurisdiction mailing list={{{mailing list|}}}}}'''[{{{mailing list|}}} Mailing list]'''|[{{fullurl:{{PAGENAME}}|action=formedit}} Add mailing list]}}
| + | |country code= |
− | * {{#if: {{{twitter|}}}|{{#set:Mircoblog URL={{{twitter|}}}}}'''[{{{twitter|}}} Mircoblog]'''|[{{fullurl:{{PAGENAME}}|action=formedit}} Add microblog]}}
| + | |homepage= |
− | * {{#if: {{{facebook|}}}|{{#set:Facebook URL={{{facebook|}}}}}'''[{{{facebook|}}} Facebook]'''|[{{fullurl:{{PAGENAME}}|action=formedit}} Add Facebook page]}}
| + | |otherurl= |
− | | + | |region= |
− | '''Other ways to connect'''<br />
| + | |affiliated= |
− | {{#if: {{{otherurl|}}}|{{#set:Other URLs={{{otherurl|}}}}}{{{otherurl|}}}|<small>[{{fullurl:{{PAGENAME}}|action=formedit}} Add URLs]</small>}}
| + | |affurl= |
− | | + | |afftype= |
− | '''Status:''' {{#if: {{{jurstatus|}}}|[[Has status::{{{jurstatus|}}}]]|<small>[{{fullurl:{{PAGENAME}}|action=formedit}} Add status]</small>}}
| + | |plead1= |
− | | + | |pemail1= |
− | '''Affiliated institution(s)'''<br />
| + | |ptitle1= |
− | {{#if: {{{affiliated|}}}|{{#arraymap:{{{affiliated|}}}|,|xyz|{{#set:Jurisdiction affiliate=xyz}}xyz}}|<small>[{{fullurl:{{PAGENAME}}|action=formedit}} Add affiliate(s)]</small>}}
| + | |flagurl= |
− | | + | }} |
− | '''Project lead(s)'''<br />
| + | </pre> |
− | {{#if: {{{leads|}}}|{{#arraymap: {{{leads|}}}|;|$$|[[Has project lead::$$]]}}|<small>[{{fullurl:{{PAGENAME}}|action=formedit}} Add lead(s)]</small>}}
| + | Edit the page to see the template text. |
− | | + | </noinclude><includeonly> |
− | '''Mailing address'''<br />
| |
− | {{#if: {{{mailing|}}}|<small>{{#set: Mailing address={{{mailing|}}}}}{{{mailing|}}}</small>|<small>[{{fullurl:{{PAGENAME}}|action=formedit}} Add address]</small>}}
| |
− | | |
− | '''Most Recent Ported Licenses'''{{#if: {{{status|}}}|{{#set:Most recent port={{{status|}}}}}{{#if:{{{country code|}}}|
| |
− | * '''[http://creativecommons.org/licenses/by/{{{status|}}}/{{#switch: {{{country code|}}}|unported=|none=|#default={{{country code|}}}/}}legalcode Attribution {{{status|}}} {{PAGENAME}}]''' {{#ifexist: {{PAGENAME}}/{{{status|}}}/BY|<small>([[{{PAGENAME}}/{{{status|}}}/BY|wiki version]])</small>[[Category:Jurisdictions with license data]]|}}
| |
− | * '''[http://creativecommons.org/licenses/by-nc/{{{status|}}}/{{#switch: {{{country code|}}}|unported=|none=|#default={{{country code|}}}/}}legalcode Attribution-NonCommercial {{{status|}}} {{PAGENAME}}]''' {{#ifexist: {{PAGENAME}}/{{{status|}}}/BY NC|<small>([[{{PAGENAME}}/{{{status|}}}/BY-NC|wiki version]])</small>[[Category:Jurisdictions with license data]]|}}
| |
− | * '''[http://creativecommons.org/licenses/by-nc-nd/{{{status|}}}/{{#switch: {{{country code|}}}|unported=|none=|#default={{{country code|}}}/}}legalcode Attribution-NonCommercial-NoDerivs {{{status|}}} {{PAGENAME}}]''' {{#ifexist: {{PAGENAME}}/{{{status|}}}/BY-NC-ND|<small>([[{{PAGENAME}}/{{{status|}}}/BY-NC-ND|wiki version]])</small>[[Category:Jurisdictions with license data]]|}}
| |
− | * '''[http://creativecommons.org/licenses/by-nc-sa/{{{status|}}}/{{#switch: {{{country code|}}}|unported=|none=|#default={{{country code|}}}/}}legalcode Attribution-NonCommercial-ShareAlike {{{status|}}} {{PAGENAME}}]''' {{#ifexist: {{PAGENAME}}/{{{status|}}}/BY-NC-SA|<small>([[{{PAGENAME}}/{{{status|}}}/BY-NC-SA|wiki version]])</small>[[Category:Jurisdictions with license data]]|}}
| |
− | * '''[http://creativecommons.org/licenses/by-nd/{{{status|}}}/{{#switch: {{{country code|}}}|unported=|none=|#default={{{country code|}}}/}}legalcode Attribution-NoDerivs {{{status|}}} {{PAGENAME}}]''' {{#ifexist: {{PAGENAME}}/{{{status|}}}/BY-ND|<small>([[{{PAGENAME}}/{{{status|}}}/BY-ND|wiki version]])</small>[[Category:Jurisdictions with license data]]|}}
| |
− | * '''[http://creativecommons.org/licenses/by-sa/{{{status|}}}/{{#switch: {{{country code|}}}|unported=|none=|#default={{{country code|}}}/}}legalcode Attribution-ShareAlike {{{status|}}} {{PAGENAME}}]''' {{#ifexist: {{PAGENAME}}/{{{status|}}}/BY-SA|<small>([[{{PAGENAME}}/{{{status|}}}/BY-SA|wiki version]])</small>[[Category:Jurisdictions with license data]]|}}
| |
− | {{#ifeq: {{{status|}}}|3.0|<small>[http://wiki.creativecommons.org/Special:FormEdit?form=Ported_License&Ported_License{{urlencode:[Jurisdiction]}}={{urlencode:{{PAGENAME}}}} Add a 3.0 wiki-version]</small>|}}
| |
− | |<br /><small>[{{fullurl:{{PAGENAME}}|action=formedit}} Add country code]</small>}}|<br /><small>[{{fullurl:{{PAGENAME}}|action=formedit}} Edit latest version]</small>}} | |
− | | |
− | {{#ifexist: {{PAGENAME}}/3.0
| |
− | |'''[[{{PAGENAME}}/3.0|View]]''' or '''[{{fullurl:{{PAGENAME}}/3.0|action=formedit}} Edit]''' 3.0 porting process information for this jurisdiction.|'''[http://wiki.creativecommons.org/Special:FormEdit?form=License&target={{urlencode:{{PAGENAME}}}}/3.0&Jurisdiction{{urlencode:[jurisdiction]}}={{urlencode:{{PAGENAME}}}} Begin submitting 3.0 porting information.]'''}}
| |
− | </div> | |
− | <div style="float:left;padding:4px;padding-top:2px;padding-bottom:1px;display:block;font-size:85%;border:1px solid #cccccc;border-top:none;background-color:#f9f9f9;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;margin-top:-1px;">[{{fullurl:{{PAGENAME}}|action=formedit}} Edit]</div>
| |
− | <div style="float:right;display:inline-block;font-size:90%;text-align:right;margin-top:5px;">
| |
− | '''[[Jurisdiction Database|back to jurisdiction database >>]]'''<br />
| |
− | <small>Please read the [http://wiki.creativecommons.org/Jurisdiction_Database#Disclaimer disclaimer].</small>
| |
− | </div>
| |
− | <div style="float:right;display:block;font-size:90%;width:100%;padding-bottom:5px;margin-bottom:10px;"><div style="margin-bottom:15px;margin-top:5px;display:block;font-weight:bold;font-size:1.5em;">{{PAGENAME}} Case Studies</div>
| |
− | {{#ifeq: {{#ask: [[Category:Casestudy]][[Country::{{PAGENAME}}]]|format=count}}|0|No case studies for this jurisdiction. [[Case Studies|Add some now]].|{{#ask: [[Category:Casestudy]][[Country::{{PAGENAME}}]]|?Case study title|?Description|?Image Header|link=none|format=template|template=Explorebox|limit=3|sort=Case study title|order=random|searchlabel='''See more Case Studies from {{PAGENAME}}...'''}}}}
| |
− | </div> | |
− | <div style="float:right;display:block;font-size:90%;width:100%;padding-bottom:5px;margin-bottom:10px;"><div style="margin-bottom:15px;margin-top:5px;display:block;font-weight:bold;font-size:1.5em;">{{PAGENAME}} Case Law</div> | |
− | {{#ifeq: {{#ask: [[Category:Case Law]][[In country or region::{{PAGENAME}}]]|format=count}}|0|No case law for this jurisdiction. [[Case Law|Add some now]].|{{#ask: [[Category:Case Law]][[In country or region::{{PAGENAME}}]]|format=ul|limit=3|searchlabel='''See more Case Law from {{PAGENAME}}...'''}}}}
| |
− | </div></div>
| |
− | <div style="display:none;">__NOEDITSECTION__
| |
| __NOTOC__ | | __NOTOC__ |
− | {{#set: Jurisdiction={{PAGENAME}}}}[[Category:Jurisdictions]]
| + | <div style="max-width:33%; position: relative; top: 0; float: right; padding: 15px;margin-top: 0px;border: 1px solid #c0c0c0;background:#f0f0f0;overflow:hidden; display:inline-block;margin-left:20px;margin-bottom:10px;"> |
− | {{#switch: {{PAGENAME}} | + | <span title=""><strong>Homepage</strong></span><br />{{{homepage|}}} <br /> |
− | |China Mainland = {{#set: Coordinates={{#geocode: China}}}}
| + | <span title=""><strong>Other URLs</strong></span><br />{{{otherurl|}}} <br /> |
− | |Unported =
| + | <span title=""><strong>Status</strong></span><br />{{{jurstatus|}}}<br /> |
− | |UK: England and Wales = {{#set: Coordinates={{#geocode: England}}}} | + | <span title=""><strong>Most Recent License Version</strong></span><br />{{{status|}}}<br /> |
− | |UK: Scotland = {{#set: Coordinates={{#geocode: Scotland}}}}
| + | <span title=""><strong>Affiliated Institution</strong></span><br />[{{{affurl|}}} {{{affiliated|}}}] ({{{afftype|}}}) <br /> |
− | |{{#set: Coordinates={{#geocode: {{PAGENAME}}}}}}
| + | <span title=""><strong>{{{ptitle1|}}}</strong></span><br />{{{plead1|}}}<br /> |
− | }} | + | <span title=""><strong>EMail</strong></span><br />{{{pemail1|}}}<br /> |
| + | <span title=""><strong>Region</strong></span><br />{{{region|}}}<br /> |
| + | <span title=""><strong>Country Code</strong></span><br />{{{country code|}}}<br /> |
| + | <span title=""><strong>Flag</strong></span><br />{{{flagurl|}}}<br /> |
| </div> | | </div> |
| + | [[Category:CC Affiliate Locale]][[Category:Affiliate {{{jurstatus|}}}]] |
| </includeonly> | | </includeonly> |