Difference between revisions of "Template:FeaturedCharacter"

From Life After BOB Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div class="fc-img" style="margin-bottom:2em;text-align:center;width:200px;min-height: 200px;max-height: auto;margin-top:1em;margin-left:auto;margin-right:auto">
+
<div class="fc-img" style="margin-bottom:2em;text-align:center;width:200px;min-height: 200px;max-height: 200px;margin-top:1em;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;border-radius:10px;
 +
  box-shadow:2px 2px 4px #222222;">
 
[[File:{{{image}}}|link={{{name}}}]]</div>
 
[[File:{{{image}}}|link={{{name}}}]]</div>
 
<div class="fc-text">[[{{{name}}}]]</div>
 
<div class="fc-text">[[{{{name}}}]]</div>
Line 7: Line 8:
  
 
<noinclude>
 
<noinclude>
<div style="width:220px;border-radius:10px;border:1px grey solid">{{FeaturedCharacter||image=Chalice wong10.png|name=Chalice Wong}}</div>
+
<div style="display:inline-block;width:220px;border-radius:10px;border:1px grey solid">{{FeaturedCharacter||image=Chalice wong10.png|name=Chalice Wong}}</div>
 +
<div style="display:inline-block;width:220px;border-radius:10px;border:1px grey solid">{{FeaturedCharacter||image=Drwong.png|name=Dr. James Moonweed Wong}}</div>
  
 
<pre>{{FeaturedCharacter|
 
<pre>{{FeaturedCharacter|

Revision as of 15:48, 12 June 2021


Chalice wong10.png


Drwong.png


{{FeaturedCharacter|
|image=Chalice wong10.png <--file name
|name=Chalice Wong <--page name for the character}}