Difference between revisions of "Template:Jurisdiction"

From Creative Commons
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div class="jurDash" style="width:40%;vertical-align:top;float:right;display:inline-block;margin-left:40px;">
 
<div class="jurDash" style="width:40%;vertical-align:top;float:right;display:inline-block;margin-left:40px;">
{| style="width:100%; border:1px solid #cccccc;background-color:#f4f4f4; vertical-align:top;padding:10px;float:right;display:inline-block;"
+
<div style="width:100%; border:1px solid #cccccc;background-color:#f4f4f4; vertical-align:top;padding:10px;float:right;display:inline-block;">
! style="width:100%;vertical-align:top;padding-top:5px;" | <h2 style="font-size:1.3em; font-weight:bold;text-align:left;padding-left:5px;margin:0px;letter-spacing:1px;">CC {{PAGENAME}}</h2>
+
<h2 style="font-size:1.3em; font-weight:bold;text-align:left;padding-left:5px;margin:0px;letter-spacing:1px;">CC {{PAGENAME}}</h2>
|style="display:inline-block;"|{{#if: {{{country code|}}}|{{#set: Country code={{lc:{{{country code|}}}}}}}}}<div style="float:right;display:inline-block;text-align:right;margin-left:5px;" class="jurImage">{{#if: {{{flagurl|}}}|{{#if: {{{homepage|}}}|[{{{homepage|}}} {{{flagurl|}}}]|{{{flagurl|}}}}}|[http://creativecommons.org/international/{{lc:{{{country code|}}}}}/ http://creativecommons.org/images/international/{{lc:{{{country code|}}}}}.png]}}<br />{{#if: {{{logourl|}}}|{{{logourl|}}}| }}</div>
+
<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|}}}|{{#if: {{{homepage|}}}|[{{{homepage|}}} {{{flagurl|}}}]|{{{flagurl|}}}}}|[http://creativecommons.org/international/{{lc:{{{country code|}}}}}/ http://creativecommons.org/images/international/{{lc:{{{country code|}}}}}.png]}}<br />{{#if: {{{logourl|}}}|{{{logourl|}}}| }}</div>
 
|-
 
|-
 
|colspan="2" style="font-size:95%;" |
 
|colspan="2" style="font-size:95%;" |
Line 28: Line 28:
  
 
'''Structured 3.0 license text'''<br />{{#ifexist: {{PAGENAME}}/3.0/BY|[[Category:Jurisdictions with license data]][[/3.0/BY|BY]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-SA|[[Category:Jurisdictions with license data]][[/3.0/BY-SA|BY-SA]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-ND|[[Category:Jurisdictions with license data]][[/3.0/BY-ND|BY-ND]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-NC|[[Category:Jurisdictions with license data]][[/3.0/BY-NC|BY-NC]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-NC-SA|[[Category:Jurisdictions with license data]][[/3.0/BY-NC-SA|BY-NC-SA]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-NC-ND|[[Category:Jurisdictions with license data]][[/3.0/BY-NC-ND|BY-NC-ND]]<br />|}}<small>[http://wiki.creativecommons.org/Special:FormEdit?form=Ported_License&Ported_License{{urlencode:[Jurisdiction]}}={{urlencode:{{PAGENAME}}}} Add 3.0 license]</small>
 
'''Structured 3.0 license text'''<br />{{#ifexist: {{PAGENAME}}/3.0/BY|[[Category:Jurisdictions with license data]][[/3.0/BY|BY]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-SA|[[Category:Jurisdictions with license data]][[/3.0/BY-SA|BY-SA]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-ND|[[Category:Jurisdictions with license data]][[/3.0/BY-ND|BY-ND]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-NC|[[Category:Jurisdictions with license data]][[/3.0/BY-NC|BY-NC]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-NC-SA|[[Category:Jurisdictions with license data]][[/3.0/BY-NC-SA|BY-NC-SA]]<br />|}}{{#ifexist: {{PAGENAME}}/3.0/BY-NC-ND|[[Category:Jurisdictions with license data]][[/3.0/BY-NC-ND|BY-NC-ND]]<br />|}}<small>[http://wiki.creativecommons.org/Special:FormEdit?form=Ported_License&Ported_License{{urlencode:[Jurisdiction]}}={{urlencode:{{PAGENAME}}}} Add 3.0 license]</small>
|}
+
</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: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;">
 
<div style="float:right;display:inline-block;font-size:90%;text-align:right;margin-top:5px;">

Revision as of 18:51, 12 October 2010