Template:VidBox: Difference between revisions

From LGPedia
Jump to navigationJump to search
Shiori (talk | contribs)
mNo edit summary
Shiori (talk | contribs)
mNo edit summary
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/b/b5/LG15_portal_video_overlay_cropped.gif]<div style="position: absolute; bottom: 0px; right: 3px;">'''{{link|link={{{link|{{{vid|Video name missing.}}}}}}|color=White}}'''</div></div></div></includeonly><noinclude>
<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/3/36/LG15_portal_video_overlay_cropped.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 110px, which is the default for this value.
*'''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.

Revision as of 21:08, 10 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.