Difference between revisions of "Template:Jurisdiction"

From Creative Commons
Jump to: navigation, search
Line 3: Line 3:
 
<div style="width:100%; border:1px solid #cccccc;background-color:#f4f4f4; vertical-align:top;padding:15px;float:right;display:inline-block;">
 
<div style="width:100%; border:1px solid #cccccc;background-color:#f4f4f4; vertical-align:top;padding:15px;float:right;display:inline-block;">
 
<h2 style="font-size:1.3em; font-weight:bold;text-align:left;padding-left:5px;margin:0px;letter-spacing:1px;display:inline-block;">CC {{PAGENAME}}</h2>
 
<h2 style="font-size:1.3em; font-weight:bold;text-align:left;padding-left:5px;margin:0px;letter-spacing:1px;display:inline-block;">CC {{PAGENAME}}</h2>
<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]}}{{#if: {{{logourl|}}}|<br /><br />{{{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]}}{{#if: {{{logourl|}}}|<br /><br /><div id="logoimg">{{{logourl|}}}</div>|}}</div>
  
 
*{{#if: {{{homepage|}}}|{{#set:Jurisdiction homepage={{{homepage|}}}}}[{{{homepage|}}} Homepage]|Homepage <small>([{{fullurl:{{PAGENAME}}|action=formedit}} add link])</small>}}{{#if: {{{blog|}}}|{{#set:Jurisdiction blog={{{blog|}}}}}|}}
 
*{{#if: {{{homepage|}}}|{{#set:Jurisdiction homepage={{{homepage|}}}}}[{{{homepage|}}} Homepage]|Homepage <small>([{{fullurl:{{PAGENAME}}|action=formedit}} add link])</small>}}{{#if: {{{blog|}}}|{{#set:Jurisdiction blog={{{blog|}}}}}|}}

Revision as of 17:55, 12 October 2010