Difference between revisions of "Template:Click"

From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
(tweak)
 
Line 1: Line 1:
<includeonly><div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden; float:{{{float|none}}}; align: {{{align|none}}};" ><div style="position: absolute; top: 0px; left: 0px; font-size: 300px; overflow: hidden; line-height: 300px; z-index: 3">{{#if:{{{link|}}}|[[{{{link}}}|&nbsp;&nbsp;&nbsp;]]|[{{{ex-link}}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]}}</div><div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|{{{width}}}|{{#if:{{{link|}}}|{{{link}}}|{{{ex-link}}}}}]]</div></div></includeonly><noinclude>
+
<includeonly><div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden; {{#switch:{{{float}}}|left|right=float:{{{float}}};|center=margin:0 auto;|#default=float:none;}}" ><div style="position: absolute; top: 0px; left: 0px; font-size: 300px; overflow: hidden; line-height: 300px; z-index: 3">{{#if:{{{link|}}}|[[{{{link}}}|&nbsp;&nbsp;&nbsp;]]|[{{{ex-link}}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]}}</div><div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|{{{width}}}|{{#if:{{{link|}}}|{{{link}}}|{{{ex-link}}}}}]]</div></div></includeonly><noinclude>
 
All items are required.
 
All items are required.
 
<pre>
 
<pre>
Line 9: Line 9:
 
| ex-link = http://www.somebsgwebsite.com
 
| ex-link = http://www.somebsgwebsite.com
 
| float=right
 
| float=right
| align=center
 
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 13:24, 22 February 2021

All items are required.

{{Click
| image = Image.jpg
| width = 15px
| height = 15px
| link = Battlestar Wiki:Main page
| ex-link = http://www.somebsgwebsite.com
| float=right
}}