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

विकिपीडिया से
Content deleted Content added
imported>Frietjes
wrapping if statement makes the decat unnecessary (if the list of parameters in the wrapping if is complete)
imported>Sardanaphalus
Code whitespace reduced
लाइन 1: लाइन 1:
{{Infobox person
{{Infobox person
| honorific_prefix = {{{honorific_prefix|}}}
| honorific_prefix = {{{honorific_prefix|}}}
| name = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| name = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| honorific_suffix = {{{honorific_suffix|}}}
| honorific_suffix = {{{honorific_suffix|}}}
| image = {{{image|}}}
| image = {{{image|}}}
| image_size = {{{image_size|}}}
| image_size = {{{image_size|}}}
| alt = {{{alt|}}}
| alt = {{{alt|}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}
| other_names = {{{other_names|}}}
| other_names = {{{other_names|}}}
| birth_name = {{{birth_name|}}}
| birth_name = {{{birth_name|}}}
| birth_date = {{{birth_date|}}}
| birth_date = {{{birth_date|}}}
| birth_place = {{{birth_place|}}}
| birth_place = {{{birth_place|}}}
| death_date = {{{death_date|}}}
| death_date = {{{death_date|}}}
| death_place = {{{death_place|}}}
| death_place = {{{death_place|}}}
| death_cause = {{{death_cause|}}}
| death_cause = {{{death_cause|}}}
| residence = {{{residence|}}}
| residence = {{{residence|}}}
| nationality = {{{nationality|}}}
| nationality = {{{nationality|}}}
| religion = {{{religion|}}}
| religion = {{{religion|}}}
| alma_mater = {{{alma_mater|}}}
| alma_mater = {{{alma_mater|}}}
| notable_works = {{{notable_works|{{{books|}}}}}} <!-- 'books' is deprecated, but supported -->
| notable_works = {{{notable_works|{{{books|}}}}}} <!--"books" deprecated but supported-->
| awards = {{{awards|}}}
| awards = {{{awards|}}}
| signature = {{{signature|}}}
| signature = {{{signature|}}}
| signature_alt = {{{signature_alt|}}}
| signature_alt = {{{signature_alt|}}}
| signature_size = {{{signature_size|}}}
| signature_size = {{{signature_size|}}}
| website = {{{website|}}}
| website = {{{website|}}}
| module =
| module = {{#if:{{{era|}}}{{{region|}}}{{{school_tradition|}}}{{{institutions|}}}{{{main_interests|}}}{{{notable_ideas|}}}{{{influences|}}}{{{influenced|}}}|
{{#if:{{{era|}}}{{{region|}}}{{{school_tradition|}}}{{{institutions|}}}{{{main_interests|}}}{{{notable_ideas|}}}{{{influences|}}}{{{influenced|}}}
{{ infobox
| child = yes
| {{Infobox |child=yes
| label1 = Era
| label1 = Era
| data1 = {{{era|}}}
| data1 = {{{era|}}}
| class1 = category
| class1 = category
| label2 = Region
| label2 = Region
| data2 = {{{region|}}}
| data2 = {{{region|}}}
| class2 = category
| class2 = category
| label3 = [[List of schools of philosophy|School]]
| label3 = [[List of schools of philosophy|School]]
| data3 = {{{school_tradition|}}}
| data3 = {{{school_tradition|}}}
| class3 = category
| class3 = category
| label4 = Institutions
| label4 = Institutions
| data4 = {{{institutions|}}}
| data4 = {{{institutions|}}}
| class4 = org
| class4 = org
| label5 = Main&nbsp;interests
| label5 = Main&nbsp;interests
| data5 = {{{main_interests|}}}
| data5 = {{{main_interests|}}}
| rowclass5 = note
| rowclass5 = note
| label6 = Notable&nbsp;ideas
| label6 = Notable&nbsp;ideas
| data6 = {{{notable_ideas|}}}
| data6 = {{{notable_ideas|}}}
| rowclass6 = note
| rowclass6 = note
| label7 = Influences
| label7 = Influences
| data7 = {{collapsible list|title={{nbsp}}|{{{influences|}}}}}
| data7 = {{Collapsible list |title={{nbsp}} |{{{influences|}}} }}
| rowclass7 = note
| rowclass7 = note
| label8 = Influenced
| label8 = Influenced
| data8 = {{collapsible list|title={{nbsp}}|{{{influenced|}}}}}
| data8 = {{Collapsible list |title={{nbsp}} |{{{influenced|}}} }}
| rowclass8 = note
| rowclass8 = note
}}
}} }}
}}
}}<includeonly>[[Category:Infobox philosopher maintenance]]</includeonly><noinclude>
}}<includeonly>[[Category:Infobox philosopher maintenance]]</includeonly><noinclude>
{{Documentation}}

{{documentation}}
<!---Add categories and interwikis to the /doc subpage, not here.--->
</noinclude>
</noinclude>

09:54, 26 जुलाई 2014 तक ले भइल बदलाव

Infobox philosopher
{{{honorific_prefix}}}
{{{name}}}
{{{honorific_suffix}}}
[[File:{{{image}}}|{{{image_size}}}
|alt={{{alt}}}|upright=1]]
{{{caption}}}
जनम{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
निधन{{{death_date}}}
{{{death_place}}}
मौत के वजह{{{death_cause}}}
निवास{{{residence}}}
राष्ट्रीयता{{{nationality}}}
दूसर नाँव{{{other_names}}}
महतारी संस्था{{{alma_mater}}}
उल्लेखनीय काम{{{notable_works}}}
सम्मान/पुरस्कार{{{awards}}}
वेबसाइट{{{website}}}
Era{{{era}}}
Region{{{region}}}
School{{{school_tradition}}}
Institutions{{{institutions}}}
Main interests{{{main_interests}}}
Notable ideas{{{notable_ideas}}}
Influences
Influenced
दसखत
[[File:{{{signature}}}
|{{{signature_size}}}
|alt={{{signature_alt}}}]]

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.