No edit summary |
|||
Line 1: | Line 1: | ||
<div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden"> | <includeonly><div style="position:absolute; z-index:100; right:{{locx}}; top:{{locy}};" class="metadata" id="featured-star"><div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden"> | ||
<div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[{{{link}}}|<span title="{{{title}}}"> </span>]]</div> | <div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[{{{link}}}|<span title="{{{title}}}"> </span>]]</div> | ||
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|{{{width}}}|{{{title}}}]]</div> | <div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|{{{width}}}|{{{title}}}]]</div> | ||
</div> | </div></div></includeonly> | ||
<noinclude> | <noinclude> | ||
This template helps with the creation of [[BW:FA]], [[BW:FP]], and [[BW:QA]] type icons and links. | |||
'''Code''' | |||
<pre> | |||
{{titled-click | |||
|id = featured-star | |||
|link = Battlestar Wiki:Featured articles | |||
|image = FA-Pip.png | |||
|locx = 14px | |||
|locy = 2px | |||
|width = 14px | |||
|height = 14px | |||
|title = This is a featured article. Click here for more information. | |||
}} | |||
</pre> | |||
==See also== | ==See also== | ||
*{{tl|Click}} | *{{tl|Click}} | ||
</noinclude> | </noinclude> |
Revision as of 06:43, 11 July 2006
This template helps with the creation of BW:FA, BW:FP, and BW:QA type icons and links.
Code
{{titled-click |id = featured-star |link = Battlestar Wiki:Featured articles |image = FA-Pip.png |locx = 14px |locy = 2px |width = 14px |height = 14px |title = This is a featured article. Click here for more information. }}
See also
- {{Click}}