Template:Titled-click: Difference between revisions
Template page
More actions
m modifying line height |
m tweak #2 |
||
| Line 1: | Line 1: | ||
<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"> | <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: | <div style="position: absolute; top: 0px; left: 0px; font-size: 300px; 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></includeonly> | </div></div></includeonly> | ||
Revision as of 22:35, 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
- {{Click}}