Difference between revisions of "Template:CharBox/New"

From LGPedia
Jump to: navigation, search
(smaller charbox?)
 
(slightly bigger)
Line 1: Line 1:
<includeonly><div class="portal_charbox" style="position: relative; top: 0px; right: 0px; width: {{{width|70px}}};">[[Image:{{{image|Image Missing.}}}|{{{width|70px}}}|{{{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/b/b5/LG15_portal_character_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|75px}}};">[[Image:{{{image|Image Missing.}}}|{{{width|75px}}}|{{{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/b/b5/LG15_portal_character_overlay.gif]<div style="position: absolute; bottom: 0px; right: 3px;">'''{{link|link={{{link|{{{char|Character name missing.}}}}}}|color=White}}'''</div></div></div></includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>{{CharBox/New
 
<pre>{{CharBox/New
Line 9: Line 9:
 
}}
 
}}
 
</pre>
 
</pre>
*'''width''' ''Optional.'' defines the image width. Please note that the darkening overlay is fixed for 70px, which is the default for this value.
+
*'''width''' ''Optional.'' defines the image width. Please note that the darkening overlay is fixed for 75px, which is the default for this value.
 
*'''char''' Character name.
 
*'''char''' Character 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 00:38, 7 July 2008

Usage

{{CharBox/New
|width =
|char  =
|link  =
|image =
|text  =
}}
  • width Optional. defines the image width. Please note that the darkening overlay is fixed for 75px, which is the default for this value.
  • char 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.
  • text Optional. Sets the image alternate text and some titles. Invisible at the moment.