Template:Titled-click: Difference between revisions
Template page
More languages
More actions
m Text replacement - "[[Image:" to "[[File:" |
No edit summary |
||
| 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><indicator><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}}}"> </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}}}"> </span>]]</div> | ||
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[File:{{{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></indicator></includeonly> | ||
<noinclude> | <noinclude> | ||
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.'''<br/> | 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.'''<br/> | ||
Revision as of 18:35, 26 July 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
- {{Click}}