Difference between revisions of "Template:Infobox"

From No Subject - Encyclopedia of Psychoanalysis
Jump to: navigation, search
 
(Undid revision 855063393 by Jdlrobson (talk) rather problematic change mentioned on talk page, rever...)
Line 1: Line 1:
{| class="infobox" cellpadding="2" style="border-color: {{{color}}}; width:26em; font-size: 85%"
+
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
|-
+
{{documentation}}
!bgcolor="{{{color}}}" align="center" colspan="2" style="border-bottom:1px solid {{{color}}}; font-size: 125%;"|{{{region|}}}<br><small>{{{era|}}}</small>
+
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
{{#if:{{{image_name|}}}|
 
<tr><td colspan="2" style="text-align: center;">[[Image:{{{image_name}}}|200px|center]]
 
}}
 
{{#if:{{{image_caption|}}}|<div style="line-height:1.25em;">{{{image_caption}}}</div>}}</td></tr>
 
|-
 
! style="text-align: right;" |Name:
 
|{{{name}}}
 
|-
 
! style="text-align: right;" |Birth:
 
|{{{birth}}}
 
{{#if:{{{death|}}}|
 
<tr><th style="text-align: right;">Death:</th>
 
<td>{{{death}}}</td></tr>
 
}}
 
|-
 
! style="text-align: right;" |School/tradition:
 
|{{{school_tradition}}}
 
{{#if:{{{main_interests|}}}|
 
<tr><th style="text-align: right;">Main interests:</th>
 
<td>{{{main_interests}}}</td></tr>
 
}}{{#if:{{{notable_ideas|}}}|
 
<tr><th style="text-align: right;">Notable ideas:</th>
 
<td>{{{notable_ideas}}}</td></tr>
 
}}{{#if:{{{influences|}}}|
 
<tr><th style="text-align: right;">Influences:</th>
 
<td>{{{influences}}}</td></tr>
 
}}{{#if:{{{influenced|}}}|
 
<tr><th style="text-align: right;">Influenced:</th>
 
<td>{{{influenced}}}</td></tr>
 
}}
 
|}<noinclude>
 
==Usage==
 
<div style="display:table; width:auto;"><pre>
 
{{Infobox_Philosopher |
 
  <!-- Scroll down to edit this page -->
 
  <!-- Philosopher Category -->
 
  region          =  |
 
  era            =  |
 
  color          = #B0C4DE |
 
 
 
  <!-- Image -->
 
  image_name      =  |
 
 
 
  <!-- Information -->
 
  name          =  |
 
  birth        =  |
 
  death        =  |
 
  school_tradition    =  |
 
  main_interests    =  |
 
  influences    =  |
 
  influenced    =  |
 
  notable_ideas =  |
 
}}
 
</pre></div>
 
 
 
To use this template, copy the text above to the top of the biography.
 
* '''Region''', '''Name''' '''Birth''' and '''School/tradition''' are compulsory; other fields, if left blank, will not appear in the Infobox;
 
* '''Era''' is an optional parameter
 
* '''Region''' should be selected from [[:Category:Philosophy by region]];
 
* '''Era''' should be selected from [[:Category:Philosophy by era]];
 
* '''School/tradition''' should be selected from [[:Category:Philosophical schools and traditions]];
 
* Entries in '''Influences''', '''Influenced'''and '''notable idea''' should be explained in the main text of one of the articles. Those that are not mentioned in the main text may be deleted.
 
 
 
[[Category:people infobox templates|Philosopher]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>
 
 
[[Category:No Subject]]
 

Revision as of 18:33, 15 August 2018

Template documentation[create]