More languages
More actions
m tweak #2 |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
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; {{#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">[[Image:{{{image}}}|{{{width}}}|{{{title}}}]]</div> | <div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|{{{width|31px}}}|{{{title}}}]]</div> | ||
</div></div></includeonly> | </div></div></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.'''<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}}]] | [[Category:Templates using titled-click|{{PAGENAME}}]] | ||
[[de:Vorlage:Titled-click]] | |||
</noinclude> | </noinclude> |
Latest revision as of 05:16, 23 September 2007
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}}