Difference between revisions of "Template:FeaturedCharacter"

From Life After BOB Wiki
Jump to navigation Jump to search
Tags: Mobile web edit Mobile edit
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><div class="fc-img">
<div class="fc-img" style="margin-bottom:1em;text-align:center;width:200px;min-height: 200px;max-height: auto;margin-top:1em;margin-left:auto;margin-right:auto">
+
[[File:{{{image}}}|class={{{classname}}}|link={{{name}}}]]</div>
[[File:{{{image}}}|link={{{name}}}]]</div>
+
<div class="fc-text">[[{{{name}}}]]</div></includeonly>
<div class="fc-text">[[{{{name}}}]]</div>
 
 
 
</includeonly>
 
 
 
 
<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|classname=chalicewong}}</div>
 +
<div style="display:inline-block;width:220px;border-radius:10px;border:1px grey solid">{{FeaturedCharacter||image=Drwong.png|name=Dr. James Moonweed Wong|classname=drwong}}</div>
  
 
<pre>{{FeaturedCharacter|
 
<pre>{{FeaturedCharacter|
 
|image=Chalice wong10.png <--file name
 
|image=Chalice wong10.png <--file name
|name=Chalice Wong <--page name for the character}}
+
|name=Chalice Wong <--page name for the character
 +
|classname=chalicewong <-- no space}}
 
</pre>
 
</pre>
  
  
 
</noinclude>
 
</noinclude>

Latest revision as of 05:01, 18 June 2021


Chalice wong10.png
Drwong.png
{{FeaturedCharacter|
|image=Chalice wong10.png <--file name
|name=Chalice Wong <--page name for the character
|classname=chalicewong <-- no space}}