Difference between revisions of "Template:FeaturedCharacter"

From Life After BOB Wiki
Jump to navigation Jump to search
(Created page with "<includeonly> <div style="display:flex;flex-direction:column;align-items:center;"> <div> [[File:{{{image}}}|300px|center|link={{{name}}}]]</div> <div>[[{{{name}}}]]</div> </di...")
 
Tags: Mobile web edit Mobile edit
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><div class="fc-img">
<div style="display:flex;flex-direction:column;align-items:center;">
+
[[File:{{{image}}}|class={{{classname}}}|link={{{name}}}]]</div>
<div> [[File:{{{image}}}|300px|center|link={{{name}}}]]</div>
+
<div class="fc-text">[[{{{name}}}]]</div></includeonly>
<div>[[{{{name}}}]]</div>
 
</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|classname=chalicewong}}</div>
{{FeaturedCharacter|
+
<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>
|image=Chalice wong10.png
 
|name=Chalice Wong}}
 
  
 
<pre>{{FeaturedCharacter|
 
<pre>{{FeaturedCharacter|
|image=Chalice wong10.png
+
|image=Chalice wong10.png <--file name
|name=Chalice Wong}}
+
|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}}