Template:Titled-click: Difference between revisions

Template page
(Reverted to an old version of Template:Titled-click)
(making align for first div modifiable)
Line 1: Line 1:
<includeonly><div style="position:absolute; z-index:100; right:{{{locx}}}; top:{{{locy}}};" class="metadata" id="{{{id}}}"><div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden">
<includeonly><div style="position:absolute; z-index:100; {{{align|right}}}:{{{locx}}}; top:{{{locy}}};" class="metadata" id="{{{id}}}"><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}}}">&nbsp;&nbsp;&nbsp;</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}}}">&nbsp;&nbsp;&nbsp;</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>
Line 15: Line 15:
|width = 14px
|width = 14px
|height = 14px
|height = 14px
|align= right
|title = This is a featured article. Click here for more information.
|title = This is a featured article. Click here for more information.
}}
}}

Revision as of 22:22, 13 April 2007


This template helps with the creation of BW:FA, BW:FP, and BW:QA type icons and links. All fields are required.
Code

{{titled-click
|id = featured-star
|link = Battlestar Wiki:Featured articles
|image = FA-Pip.png
|locx =  14px
|locy = 2px
|width = 14px
|height = 14px
|align= right
|title = This is a featured article. Click here for more information.
}}

See also