Difference between revisions of "Template:Infobox Person"

From Meekipedia
Jump to: navigation, search
m
m
Line 3: Line 3:
 
|-
 
|-
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
! style="border: 0 solid #180f11; background-color: #180f11; font-size: 90%; text-align: center;" colspan="2" {{!}} [[Image:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}px|200px}}|]]  
+
! style="border: 0 solid #180f11; font-size: 90%; text-align: center;" colspan="2" {{!}} [[Image:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}px|200px}}|]]  
 
{{#if:{{{caption|}}}|{{{caption}}} }}
 
{{#if:{{{caption|}}}|{{{caption}}} }}
 
}}
 
}}
Line 17: Line 17:
 
<!-- the dashed outline of the fields are not supposed to be there, so I think there is still something wrong with the template -->
 
<!-- the dashed outline of the fields are not supposed to be there, so I think there is still something wrong with the template -->
  
<!-- class "infobox" is added by Jon in MediaWiki:Common.css, but this css file needs to be called in the actual wiki page, which Jon hasn't figured out how to do  -->
+
<!-- style class "infobox" is added by Jon in MediaWiki:Common.css, but this css file needs to be called in the actual wiki page, which Jon hasn't figured out how to do  -->
  
 
<!-- if you need to add a regular property, just copy and paste a block of code such as for "race", starting from the {{#if to }} then change the value; preserve the line-break formatting of these blocks unless you know exactly what will happen to the modification -->
 
<!-- if you need to add a regular property, just copy and paste a block of code such as for "race", starting from the {{#if to }} then change the value; preserve the line-break formatting of these blocks unless you know exactly what will happen to the modification -->

Revision as of 15:42, 20 February 2010

{{{name}}}

Usage

Copy and paste the below code to the character page and fill in as many information as you can provide to the list of properties. Unfilled property (except "name") will not appear in the final page. "image_size" has a default value of 200 if otherwise unspecified.



{{Infobox_Person
|name       = 
|image      = 
|image_size =
|caption    =
|race       = 
|age        =
|hometown   =
|footnotes  =
}}