Difference between revisions of "Template:VidBox"
From LGPedia
m |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div class="portal_charbox" style="position: relative; top: 0px; right: 0px; width: {{{width|110px}}};">[[Image:{{{image|Image Missing.}}}|{{{width|110px}}}|{{{text|Click here to learn more about {{{vid|Video name missing.}}}.}}}]]<div style="position: absolute; top: 0px; left: 0px;" title="{{{text|Click here to learn more about {{{vid|Video name missing.}}}.}}}" class="portal_inner_charbox plainlinks">[{{fullurl:{{{link|{{{vid|Video name missing.}}}}}}}} http://www.lg15.com/lgpedia/images/ | + | <includeonly><div class="portal_charbox" style="position: relative; top: 0px; right: 0px; width: {{{width|110px}}};">[[Image:{{{image|Image Missing.}}}|{{{width|110px}}}|{{{text|Click here to learn more about {{{vid|Video name missing.}}}.}}}]]<div style="position: absolute; top: 0px; left: 0px;" title="{{{text|Click here to learn more about {{{vid|Video name missing.}}}.}}}" class="portal_inner_charbox plainlinks">[{{fullurl:{{{link|{{{vid|Video name missing.}}}}}}}} http://www.lg15.com/lgpedia/images/4/4e/LG15_portal_video_overlay.gif]<div style="position: absolute; bottom: 0px; right: 3px;">'''{{link|link={{{link|{{{vid|Video name missing.}}}}}}|color=White}}'''</div></div></div></includeonly><noinclude> |
==Usage== | ==Usage== | ||
<pre>{{VidBox | <pre>{{VidBox | ||
Line 9: | Line 9: | ||
}} | }} | ||
</pre> | </pre> | ||
− | *'''width''' ''Optional.'' defines the image width. Please note that the darkening overlay is fixed for | + | *'''width''' ''Optional.'' defines the image width. Please note that the darkening overlay is fixed for 90px, which is the default for this value. |
*'''vid''' Video name. | *'''vid''' Video name. | ||
*'''link''' ''Optional.'' Should the link not be equal to the character name, set this. Defaults to character name. | *'''link''' ''Optional.'' Should the link not be equal to the character name, set this. Defaults to character name. | ||
*'''image''' Name of an image. Image: prefix is set automatically. | *'''image''' Name of an image. Image: prefix is set automatically. | ||
*'''text''' ''Optional.'' Sets the image alternate text and some titles. Invisible at the moment. | *'''text''' ''Optional.'' Sets the image alternate text and some titles. Invisible at the moment. | ||
− | </noinclude> | + | [[Category:Templates]]</noinclude> |
Latest revision as of 16:03, 24 March 2009
Usage
{{VidBox |width = |vid = |link = |image = |text = }}
- width Optional. defines the image width. Please note that the darkening overlay is fixed for 90px, which is the default for this value.
- vid Video name.
- link Optional. Should the link not be equal to the character name, set this. Defaults to character name.
- image Name of an image. Image: prefix is set automatically.
- text Optional. Sets the image alternate text and some titles. Invisible at the moment.