Difference between revisions of "Template:Jurisdiction"
Line 4: | Line 4: | ||
<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;"> | <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;"> | ||
<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>{{#set: Name={{PAGENAME}}}} | <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>{{#set: Name={{PAGENAME}}}} | ||
− | <div style="float:right;display:inline-block;text-align:right;margin-left:5px;" class="jurImage">{{#if: {{{country code|}}}|{{#set: Country code={{lc:{{{country code|}}}}}}}}}{{#set: Flag URL=http://creativecommons.org/images/international/{{lc:{{{country code|}}}}}.png}}{{#if: {{{homepage|}}}|[{{{homepage|}}} http://creativecommons.org/images/international/{{lc:{{{country code|}}}}}.png]|http://creativecommons.org/images/international/{{lc:{{{country code|}}}}}.png}}{{#if: {{{logourl|}}}|<br /><br /><div id="logoimg">{{{logourl|}}}</div>|}}</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|}}}}}}}}}{{#set: Flag URL=http://creativecommons.org/images/international/{{lc:{{{country code|}}}}}.png}}{{#if: {{{homepage|}}}|[{{{homepage|}}} http://creativecommons.org/images/international/{{lc:{{{country code|}}}}}.png]|http://creativecommons.org/images/international/{{lc:{{{country code|}}}}}.png}}{{#if: {{{logourl|}}}|<br /><br /><div id="logoimg">{{{logourl|frame|200px}}}</div>|}}</div> |
* {{#if: {{{homepage|}}}|{{#set:Jurisdiction homepage={{{homepage|}}}}}'''[{{{homepage|}}} Homepage]'''|[{{fullurl:{{PAGENAME}}|action=formedit}} Add homepage]}}{{#if: {{{blog|}}}|{{#set:Jurisdiction blog={{{blog|}}}}}|}} | * {{#if: {{{homepage|}}}|{{#set:Jurisdiction homepage={{{homepage|}}}}}'''[{{{homepage|}}} Homepage]'''|[{{fullurl:{{PAGENAME}}|action=formedit}} Add homepage]}}{{#if: {{{blog|}}}|{{#set:Jurisdiction blog={{{blog|}}}}}|}} |