टेम्पलेट:Infobox philosopher: रिवीजन सभ के बीचा में अंतर

विकिपीडिया से
Content deleted Content added
imported>Frietjes
No edit summary
imported>Sardanaphalus
labelstyle (linewrapping), less space-hungry code
लाइन 1: लाइन 1:
{{Infobox
{{Infobox
| bodyclass = vcard
| child = {{{child|}}}
| child = {{{child|}}}
| bodyclass = vcard
| title = {{#ifeq:{{{child|}}}|yes |'''Philosophical career'''|{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} }}
| decat = yes <!-- remove from template:infobox tracking categories -->
| decat = yes <!--(i.e. remove from categories that track Template:Infobox)-->
| titleclass = fn
| titleclass = fn
| title = {{#ifeq:{{{child|}}}|yes |'''Philosophical career''' |{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} }}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image_name|{{{image|}}}}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image_name|{{{image|}}}}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{alt|}}} }}
| captionstyle = padding-top:0.45em;line-height:1.1em;
| captionstyle = padding-top:0.45em;line-height:1.1em;
| caption = {{{caption|}}}
| caption = {{{caption|}}}
| labelstyle = padding:<!--(based on {{longitem}} linewrap management:)-->0.1em 1.0em<!--(to keep label and data apart)--> 0.1em 0;line-height:1.2em;
| label1 = Full name
| label1 = Full name |data1=
| data1 =
| label2 = Other names
| label2 = Other names |data2={{{other_names|}}} |class2=nickname
| label3 = Born |data3={{br-separated entries |{{#if:{{{birth_name|}}}|<span>{{{birth_name}}}</span>}} |{{{birth_date|}}} |{{{birth_place|}}} }}
| class2 = nickname
| label4 = Died |data4={{br-separated entries |{{{death_date|}}} |{{{death_place|}}} |{{{death_cause|}}} }}
| data2 = {{{other_names|}}}
| label5 = Residence |data5={{{residence|}}}
| label3 = Born
| label6 = Nationality |data6={{{nationality|}}}
| data3 = {{br separated entries|{{#if:{{{birth_name|}}}|<span>{{{birth_name}}}</span>}}|{{{birth_date|}}}|{{{birth_place|}}}}}
| label7 = Era |data7={{{era|}}}
| label4 = Died
| label8 = Region |data8= {{{region|}}}
| data4 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}|{{{death_cause|}}}}}
| label9 = Religion |data9={{{religion|}}}
| label5 = Residence
| label10 = [[List of schools of philosophy|School]] |data10={{{school_tradition|}}}
| data5 = {{{residence|}}}
| label11 = Main&nbsp;interests |data11={{{main_interests|}}}
| label6 = Nationality
| data6 = {{{nationality|}}}
| label12 = Books |data12={{{books|}}}
| label13 = Alma&nbsp;mater |data13={{{alma_mater|}}}
| label7 = Era
| data7 = {{{era|}}}
| label14 = Institutions |data14={{{institutions|}}}
| label15 = Notable&nbsp;ideas |data15={{{notable_ideas|}}}
| label8 = Region
| data16 = {{#if:{{{influences|}}} |{{Collapsible list |expand={{{expand|}}}|framestyle=border:none;padding:0;|liststyle=text-align:center;|title=Influenced by|1={{{influences}}}}} f}}
| data8 = {{{region|}}}
| data17 = {{#if:{{{influenced|}}} |{{Collapsible list |expand={{{expand|}}}|framestyle=border:none;padding:0;|liststyle=text-align:center; |title=Influenced |1={{{influenced}}} }}
| label9 = Religion
}}
| data9 = {{{religion|}}}
| label18 = Awards |data18={{{awards|}}}
| label10 = [[List of schools of philosophy|School]]
| label19 = Signature |data19={{#if:{{{signature|}}} |{{#invoke:InfoboxImage|InfoboxImage |image={{{signature|}}} |size={{{signature_size|}}} |sizedefault=128px |alt={{{signature alt|{{{signature_alt|}}}}}} }} }}
| data10 = {{{school_tradition|}}}
| label20 = Website |data20={{{website|}}}
| label11 = Main&nbsp;interests
}}<includeonly>[[Category:Infobox philosopher maintenance]]</includeonly><noinclude>
| data11 = {{{main_interests|}}}

| label12 = Books
{{documentation}}
| data12 = {{{books|}}}
<!---Add categories and interwikis to the /doc subpage, not here.--->
| label13 = Alma mater
</noinclude>
| data13 = {{{alma_mater|}}}
| label14 = Institutions
| data14 = {{{institutions|}}}
| label15 = Notable&nbsp;ideas
| data15 = {{{notable_ideas|}}}
| data16 = {{#if:{{{influences|}}}
| {{Collapsible list
| expand = {{{expand|}}}
| title = Influenced by
| frame_style = border:none; padding:0;
| list_style = text-align:center;
| 1 = {{{influences}}}
}}
}}
| data17 = {{#if:{{{influenced|}}}
| {{Collapsible list
| expand = {{{expand|}}}
| title = Influenced
| frame_style = border:none; padding:0;
| list_style = text-align:center;
| 1 = {{{influenced}}}
}}
}}
| label18 = Awards
| data18 = {{{awards|}}}
| label19 = Signature
| data19 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=128px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }}
| label20 = Website
| data20 = {{{website|}}}
}}<includeonly>[[Category:Infobox philosopher maintenance]]</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here. --></noinclude>

14:45, 6 अप्रैल 2014 तक ले भइल बदलाव

Bornटेम्पलेट:Br-separated entries
Diedटेम्पलेट:Br-separated entries
{{{name}}}
[[File:{{{image}}}|{{{image_size}}}
|alt={{{alt}}}]]
{{{caption}}}
Other names{{{other_names}}}
Bornटेम्पलेट:Br-separated entries
Diedटेम्पलेट:Br-separated entries
Residence{{{residence}}}
Nationality{{{nationality}}}
Era{{{era}}}
Region{{{region}}}
Religion{{{religion}}}
School{{{school_tradition}}}
Main interests{{{main_interests}}}
Alma mater{{{alma_mater}}}
Institutions{{{institutions}}}
Notable ideas{{{notable_ideas}}}
f
Awards{{{awards}}}
Signature[[File:{{{signature}}}
|{{{signature_size}}}
|alt={{{signature_alt}}}]]
Website{{{website}}}

This template is used to provide biographical information on anyone who might be considered a philosopher. If the philosopher held or holds a political or other public office (e.g. Alan Greenspan), {{Infobox officeholder}} is probably more suitable.

Usage

{{Infobox philosopher
| honorific_prefix = 
| name             =  <!-- include middle initial, if not specified in birth_name -->
| honorific_suffix = 
| image            =  <!-- filename only, i.e. without the File: (or Image:) prefix or enclosing [[brackets]] -->
| image_size       = 
| alt              = 
| caption          = 
| other_names      = 
| birth_name       = <!-- only use if different from name -->
| birth_date       = <!-- {{birth date and age|YYYY|MM|DD}} for living persons, {{birth date|YYYY|MM|DD}} for deceased.  
For living people supply only the year unless the exact date is already WIDELY published, as per [[WP:DOB]]. -->
| birth_place      = 
| death_date       = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) -->
| death_place      = 
| death_cause      = 
| residence        = 
| nationality      = 
| religion         = 
| alma_mater       = 
| notable_works    = <!-- use "notable_works" in place of "books" parameter (deprecated) -->
| awards           = 
| signature        = 
| signature_size   = 
| signature_alt    = 
| era              = 
| region           = 
| school_tradition = 
| institutions     = 
| main_interests   = 
| notable_ideas    = 
| influences       = 
| influenced       = 
| website          = <!-- {{URL|example.com}} -->
}}

To use this template, copy the text above to the top of a biography article. Note that parameter names are lowercase.

Parameters

All parameters are optional, and if left blank will not appear in the infobox:

Microformats

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.