Template:Infobox Character General: Difference between revisions
Template:Infobox Character General (view source)
Revision as of 05:41, October 13, 2015
, 9 years agoWith the PAGENAME "template", it's completely optional to mention the name part. Adding "[[Image:" before the image tag spares having to mention ex. "File:" before the filename of an image or sound file.
(This should fix it) |
(With the PAGENAME "template", it's completely optional to mention the name part. Adding "[[Image:" before the image tag spares having to mention ex. "File:" before the filename of an image or sound file.) |
||
Line 1: | Line 1: | ||
{| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3" | {| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3" | ||
|- | |- | ||
! colspan="2" style="font-size:110%; text-align:center; background-color:#E6E6FA; color:#000;" | {{{name}}} | ! colspan="2" style="font-size:110%; text-align:center; background-color:#E6E6FA; color:#000;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
{{#if:{{{image<includeonly>|</includeonly>}}} | | {{#if:{{{image<includeonly>|</includeonly>}}} | | ||
{{!}} colspan="2" style="text-align:center;background-color:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}} | {{!}} colspan="2" style="text-align:center;background-color:#FFF;" {{!}}[[Image:{{{image}}}]]{{#if:{{{caption|}}}|<br />{{{caption}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} |