Toggle 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
Joe Beaudoin Jr. (talk | contribs)
making align for first div modifiable
Shane (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users 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: 100px; 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}}}|{{{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 = featured-star
| id=
|link = Battlestar Wiki:Featured articles
| link=  
|image = FA-Pip.png
| image=  
|locx = 14px
| locy=  
|locy = 2px
| align=
|width = 14px
| width=  
|height = 14px
| height=  
|align= right
| title=  
|title = This is a featured article. Click here for more information.
}}
}}
</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