Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Titled-click: Difference between revisions

Template page
Shane (talk | contribs)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
m Text replacement - "[[Image:" to "[[File:"
 
Line 1: Line 1:
<includeonly><div style="position:absolute; z-index:100; {{#if:{{{locx|}}}|{{{align|right}}}:{{{locx}}}; top:{{{locy}}};}}" class="metadata" id="{{{id}}}"><div style="position: relative; width: {{{width|31px}}}; height: {{{height|30px}}}; overflow: hidden">
<includeonly><div style="position:absolute; z-index:100; {{#if:{{{locx|}}}|{{{align|right}}}:{{{locx}}}; top:{{{locy}}};}}" class="metadata" id="{{{id}}}"><div style="position: relative; width: {{{width|31px}}}; height: {{{height|30px}}}; overflow: hidden">
<div style="position: absolute; top: 0px; left: 0px; font-size: 300px; 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: 300px; 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|31px}}}|{{{title}}}]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[File:{{{image}}}|{{{width|31px}}}|{{{title}}}]]</div>
</div></div></includeonly>
</div></div></includeonly>
<noinclude>
<noinclude>

Latest revision as of 19:01, 2 February 2025


This template helps with the creation of BW:FA, BW:FP, and BW:QA type icons and links. All fields are required, unless the "id" name is in the main CSS file.
Code

{{titled-click
| id=
| link= 
| image= 
| locy= 
| align=
| width= 
| height= 
| title= 
}}

Optionial/Overrides

Using the fields locx, locy, and align will make follow this rule and not the CSS rule with ID. ID field still must be filled out and be unique.

See also