Difference between revisions of "Template:Infobox Person"

From Meekipedia
Jump to: navigation, search
m
m
Line 6: Line 6:
 
{{#if:{{{caption|}}}|{{{caption}}} }}
 
{{#if:{{{caption|}}}|{{{caption}}} }}
 
}}
 
}}
|- style="background-color: #ffdab7; border: 0 solid #180f11;"
 
 
|-{{#if: {{{race|}}}  | {{Race|{{{race}}}|}} | {{blank}} }}
 
|-{{#if: {{{race|}}}  | {{Race|{{{race}}}|}} | {{blank}} }}
 
|-{{#if: {{{birth_year|}}}  | {{BirthYear|{{{birth_year}}}|}} | {{blank}} }}
 
|-{{#if: {{{birth_year|}}}  | {{BirthYear|{{{birth_year}}}|}} | {{blank}} }}
Line 18: 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 -->
  
<!-- see MediaWiki:Common.css for style class detail -->
+
<!-- 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 -->
 +
 +
<!--
 +
see the following for details:
 +
Templates:Race, Templates:BirthYear, Templates:Hometown, Templates:Footnotes
 +
-->
  
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">

Revision as of 16:40, 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  =
}}