Difference between revisions of "Template:VidBox"

From LGPedia
Jump to: navigation, search
m
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 {{{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/3/36/LG15_portal_video_overlay_cropped.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/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>
 
==Usage==
 
==Usage==
 
<pre>{{VidBox
 
<pre>{{VidBox
 
|width =
 
|width =
|char  =
+
|vid  =
 
|link  =
 
|link  =
 
|image =
 
|image =
Line 9: Line 9:
 
}}
 
}}
 
</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 110px, 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>
 
</noinclude>

Revision as of 21:05, 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 110px, 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.