Template:Infobox Biodata: Difference between revisions

From SikhiWiki
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{{{BASEPAGENAME}}/doc}}</noinclude>
<noinclude>{{{{BASEPAGENAME}}/doc}}<br>
 
The empty template looks like:<br></noinclude>
<noinclude>The empty template looks like:<br></noinclude>
 
{| class="infobox" style="width: 254px; empty-cells:show; font-family: lucida grande, sans-serif; line-height: 1.4em; border: 1px solid #ccd2d9; font-size: 90%; padding: .1em .1em;" align="right"
{| class="infobox" style="width: 254px; empty-cells:show; font-family: lucida grande, sans-serif; line-height: 1.4em; border: 1px solid #ccd2d9; font-size: 90%; padding: .1em .1em;" align="right"
|-
|-
| colspan="2" style="margin-left: inherit; color:red; background: transparent; font-size: 1.5em; text-align:center" | '''{{{Subject Name|{{{sub_name|{{BASEPAGENAME}}}}}}}}'''
| colspan="2" style="margin-left: inherit; color:black; background:transparant; font-size: 1.5em; text-align:center" | '''{{{Subject Name|{{{sub_name|{{BASEPAGENAME}}}}}}}}'''
|-
|-
|colspan="2"|[[Image:{{{Image name}}}|250px|center]]
|colspan="2"|[[Image:{{{Image name}}}|250px|center]]
Line 21: Line 19:
| '''Death :''' || {{{Death}}}
| '''Death :''' || {{{Death}}}
|-
|-
| <small>'''Other Info:'''</small> || {{{Other info}}}
| <small>'''Other Info:'''</small> || {{{Other Info}}}
|}
|}<noinclude>[[category:infoboxes]]</noinclude>
 
<noinclude>[[category:infoboxes]]</noinclude>

Latest revision as of 12:32, 13 March 2012

This template should be used at the top of the article about a person. You can add a photo of the person and the following information about the person to make the template most effective. The file can be in .jpg or .gif format.

Usage

Copy the template shown below and paste in to your article page. Then fill in the data items after the equal sign (=). The image file name should be in the form example.jpg or example.gif.

{{infobox Biodata
|Subject Name = 
|Image name = 
|Name = 
|Birth = 
|Parents = 
|Spouse = 
|Children = 
|Death = 
|Other Info = 
}}

Parameters

  • Subject Name - This is the short or common name of the person. If this parameter left blank then the pagename (on which it's being used) will be used automatically.
  • Image name - This is the jpg or gif file and enter the full file name. eg: xyz.jpg or xyz.gif
  • Name - The full name of the person.
  • Birth - The place & date of birth. For example: January 12, 1990 at Amritsar, Punjab, India.
  • Parents - Names of the parents of the person.
  • Spouse - Name of the wife or husband of the person.
  • Children - Names of any children
  • Other Info - Enter here any other important information about the person. eg: Died: March 12, 2005.

The empty template looks like:

Infobox Biodata
[[Image:{{{Image name}}}|250px|center]]
Full Name : {{{Name}}}
Birth : {{{Birth}}}
Parents : {{{Parents}}}
Spouse : {{{Spouse}}}
Children : {{{Children}}}
Death : {{{Death}}}
Other Info: {{{Other Info}}}