Difference between revisions of "Template:Jurisdiction"

From Creative Commons
Jump to: navigation, search
(Undo revision 35644 by Akozak (Talk))
(Nope. Trying again.)
 
(331 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>
+
<noinclude>
{| style="width:100%; font-size:90%; margin-bottom:10px; padding-bottom:5px;"
+
This is the "Jurisdiction" template.
| style="text-align:right;"|[http://creativecommons.org/international cc.org/international]
+
It should be called in the following format:
|-
+
<pre>
| style="text-align:right;"| '''[[Jurisdiction Database|<< back to jurisdiction database]]'''
+
{{Jurisdiction
|}
+
|jurstatus=
<includeonly>
+
|status=
{| style="width:100%;"
+
|country code=
| style="width:70%;vertical-align:top;" |
+
|homepage=
<h2 style="margin-top:0px;padding-top:0px;">3.0 License Porting</h2>
+
|otherurl=
{{#ifexist: {{PAGENAME}}/3.0
+
|region=
|Edit 3.0
+
|affiliated=
|There is no data on the Creative Commons 3.0 license porting to {{PAGENAME}}. [http://wiki.creativecommons.org/Special:FormEdit?form=License&target={{PAGENAME}}/3.0&Jurisdiction{{urlencode:[jurisdiction]}}={{PAGENAME}} Click here to add 3.0]}}
+
|affurl=
 
+
|afftype=
| style="width:30%; border:1px solid #cccccc;background-color:#f4f4f4; vertical-align:top;padding:5px;" |
+
|plead1=
{|
+
|pemail1=
! style="width:100%;padding:5px;" | <h2 style="font-size:120%; font-weight:bold;text-align:left;padding:3px;margin:2px;">CC {{PAGENAME}}</h2>
+
|ptitle1=
|-
+
|flagurl=
| style="padding:5px; font-size:95%;" |
+
}}
*{{#if: {{{homepage|}}}|{{#set:Jurisdiction homepage={{{homepage|}}}}}[{{{homepage|}}} Homepage]|Homepage <small>([{{fullurl:{{PAGENAME}}|action=formedit}} add link])}}</small>
+
</pre>
*{{#if: {{{blog|}}}|{{#set:Jurisdiction blog={{{blog|}}}}}[{{{blog|}}} Blog]|Blog <small>([{{fullurl:{{PAGENAME}}|action=formedit}} add link])}}</small>
+
Edit the page to see the template text.
*{{#if: {{{mailing list|}}}|{{#set:Jurisdiction mailing list={{{mailing list|}}}}}[{{{mailing list|}}} Mailing list]|Mailing list <small>([{{fullurl:{{PAGENAME}}|action=formedit}} add link])}}</small>
+
</noinclude><includeonly>
 
 
Affiliated institution or person<br />
 
{{#if: {{{affiliated|}}}|{{#arraymap:{{{affiliated|}}}|,|xyz|{{#set:Jurisdiction affiliate=xyz}}xyz}}|<small>([{{fullurl:{{PAGENAME}}|action=formedit}} add affiliate])</small>}}
 
 
 
Jurisdiction status<br />
 
{{#if: {{{status|}}}|{{#set:Jurisdiction status=xyz}}xyz <small>([{{fullurl:{{PAGENAME}}|action=formedit}} edit status])</small>|<small>([{{fullurl:{{PAGENAME}}|action=formedit}} add status])</small>}}
 
|}
 
|}
 
__NOEDITSECTION__
 
 
__NOTOC__
 
__NOTOC__
[[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;">
 
+
<span title=""><strong>Homepage</strong></span><br />{{{homepage|}}} <br />
 +
<span title=""><strong>Other URLs</strong></span><br />{{{otherurl|}}} <br />
 +
<span title=""><strong>Status</strong></span><br />{{{jurstatus|}}}<br />
 +
<span title=""><strong>Most Recent License Version</strong></span><br />{{{status|}}}<br />
 +
<span title=""><strong>Affiliated Institution</strong></span><br />[{{{affurl|}}} {{{affiliated|}}}] ({{{afftype|}}}) <br />
 +
<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>
 +
[[Category:CC Affiliate Locale]][[Category:Affiliate {{{jurstatus|}}}]]
 
</includeonly>
 
</includeonly>

Latest revision as of 22:17, 28 July 2015

This is the "Jurisdiction" template. It should be called in the following format:

{{Jurisdiction
|jurstatus=
|status=
|country code=
|homepage=
|otherurl=
|region=
|affiliated=
|affurl=
|afftype=
|plead1=
|pemail1=
|ptitle1=
|flagurl=
}}

Edit the page to see the template text.