Template:Titled-click: Difference between revisions
Template page
More languages
More actions
mNo edit summary |
mNo edit summary |
||
| (16 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div style="position: | <includeonly><indicator name="0_item_{{{id}}}"><div style="position:relative; 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: | <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">[[ | <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.<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/> | ||
'''Code''' | '''Code''' | ||
<pre> | <pre> | ||
{{titled-click | {{titled-click | ||
|id = | | id= | ||
|link = | | link= | ||
|image = | | image= | ||
| | | locy= | ||
| | | align= | ||
|width = | | width= | ||
|height = | | height= | ||
|title = | | title= | ||
}} | }} | ||
</pre> | </pre> | ||
== 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== | ==See also== | ||
*{{tl|Click}} | *{{tl|Click}} | ||
[[Category:Templates using titled-click|{{PAGENAME}}]] | |||
[[de:Vorlage:Titled-click]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 22:39, 27 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
edit sourceUsing 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
edit source- {{Click}}