Difference between revisions of "Template:FeaturedCharacter"

From Life After BOB Wiki
Jump to navigation Jump to search
Tags: Mobile web edit Mobile edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><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;
+
<includeonly><div class="fc-img">
  box-shadow:2px 2px 4px #222222;">
+
[[File:{{{image}}}|class={{{classname}}}|link={{{name}}}]]</div>
[[File:{{{image}}}|class={{{name}}}|link={{{name}}}]]</div>
 
 
<div class="fc-text">[[{{{name}}}]]</div></includeonly>
 
<div class="fc-text">[[{{{name}}}]]</div></includeonly>
 
<noinclude>
 
<noinclude>
<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=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}}</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}}