Template:VidBox: Difference between revisions

From LGPedia
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="portal_charbox" style="position: relative; top: 0px; right: 0px; width: {{{width|120px}}};">[[Image:{{{image|Image Missing.}}}|{{{width|110px}}}|{{{text|Click here to learn more about {{{char|Character name missing.}}}.}}}]]<div style="position: absolute; top: 0px; left: 0px;" title="{{{text|Click here to learn more about {{{char|Character name missing.}}}.}}}" class="portal_inner_charbox plainlinks">[{{fullurl:{{{link|{{{char|Character 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|{{{char|Character 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/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
|width =
|width =
|char  =
|vid  =
|link  =
|link  =
|image =
|image =
Line 10: Line 10:
</pre>
</pre>
*'''width''' ''Optional.'' defines the image width. Please note that the darkening overlay is fixed for 90px, 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.
*'''char''' Character 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.