Module:ThinkerRelations3

From No Subject
Jump to navigation Jump to search

Template:Infobox_thinker/doc

Template documentation

Template:Infobox_thinker is the standard information box for biographical entries on [No Subject], the Encyclopedia of Lacanian Psychoanalysis. It provides a structured summary of a thinker's life, intellectual affiliation, and theoretical network.

Crucially, this template invokes a Lua module (Module:ThinkerRelations3) to generate rich, color-coded graphs of intellectual relationships (influences, critiques, rivalries) rather than simple lists.

Usage

To use this template, copy the code below to the top of the thinker's page and fill in the relevant fields. Empty fields will not be displayed.

{{Infobox_thinker
| name                  = 
| original_name         = 
| image                 = 
| caption               = 
| birth_date            = 
| death_date            = 
| nationality           = 
| languages             = 
| region                = 
| thematic_focus        = 
| school                = 
| tradition             = 
| fields                = 
| clinical_stance       = 
| training_lineage      = 
| founded               = 
| institutional_role    = 
| key_concepts          = 
| major_works           = 
| clinical_innovations  = 
| translation_work      = 
| psychoanalytic_impact = 
| influences            = 
| influenced            = 
| relation_1_target     = 
| relation_1_type       = 
| relation_1_content    = 
| relation_2_target     = 
| relation_2_type       = 
| relation_2_content    = 
<!-- Add up to 50 relations -->
}}

Field Definitions

Identity & Bio

  • name: The common name of the thinker (e.g., Jacques Lacan). Defaults to the page name if omitted.
  • original_name: Full birth name or name in native language if different (e.g., Sigismund Schlomo Freud).
  • image: Filename of a portrait (e.g., Lacan_1970.jpg). Do not include File: or brackets.
  • caption: Brief description of the image (year, location, photographer).
  • birth_date: Date of birth (e.g., March 30, 1882).
  • death_date: Date of death (e.g., September 22, 1960).
  • nationality: Citizenship or national identity (e.g., Austrian-British).
  • languages: Primary languages of writing and clinical practice (e.g., German, English).

Intellectual Profile

  • region: Primary geographic sphere of influence (e.g., Vienna, London, Paris).
  • thematic_focus: The central object of their study (e.g., Child Analysis, Psychosis, Structural Linguistics).
  • school: The specific psychoanalytic school they belong to or founded (e.g., Kleinian, Independent Group, Ego Psychology).
  • tradition: Broader philosophical or clinical tradition (e.g., Object Relations, Continental Philosophy).
  • fields: Academic or clinical disciplines involved (e.g., Psychoanalysis, Psychiatry, Pediatrics).
  • clinical_stance: Brief summary of their approach to the cure (e.g., Interpretation of deep unconscious phantasy, Management of regression).
  • training_lineage: Who analyzed them? (e.g., Analyzed by Sandor Ferenczi and Karl Abraham).

Theoretical Contributions

  • key_concepts: A list of their most significant neologisms or concepts (e.g., Projective Identification, Transitional Object). Tip: Use wiki-links.
  • major_works: Seminal books or papers (e.g., The Psycho-Analysis of Children, Playing and Reality).
  • clinical_innovations: Specific changes they introduced to the frame (e.g., Play technique, Variable length sessions).
  • psychoanalytic_impact: A summary sentence on their legacy (e.g., shifted focus from drive economy to object relations).

Institutional History

  • founded: Institutions or journals established by the thinker (e.g., British Psychoanalytical Society).
  • institutional_role: Positions held (e.g., President of the IPA).

Relationship Parameters (Module:ThinkerRelations3)

This is the most powerful feature of the template. Instead of static lists, you can define up to 50 distinct intellectual relationships. These are processed by the Lua module to create visual "cards" for each connection.

For each relationship N (where N is 1 to 50):

  • relation_N_target: The name of the person. The module acts as a "smart linker"—it will automatically wiki-link this name.
  • relation_N_type: A tag describing the dynamic.
    • Auto-Coloring Logic:
      • Green Border: Use words like Influence, Mentor, Student, Support.
      • Red Border: Use words like Critique, Rivalry, Opposition, Debate.
      • Grey/Default: Any other text (e.g., Colleague, Parallel).
  • relation_N_content: A 1–2 sentence explanation of the specific theoretical intersection. Why does this relationship matter?

Example of Logic

If you enter:

| relation_1_target  = Anna Freud
| relation_1_type    = Rivalry / Opposition
| relation_1_content = Disagreed fundamentally on the timing of interpretation and the nature of the child's superego.

The module detects "Opposition" in the type, applies the Red CSS class, and generates a block titled "To Anna Freud" with the description.

Examples

Example 1: Melanie Klein (The Founder)

Demonstrates a figure with strong rivalries and specific clinical innovations.

{{Infobox_thinker
| name                  = Melanie Klein
| original_name         = Melanie Reizes
| image                 = Melanie_Klein_1950.jpg
| caption               = Klein in London, c. 1950.
| birth_date            = March 30, 1882
| death_date            = September 22, 1960
| nationality           = Austrian-British
| languages             = German, English
| region                = London (via Budapest & Berlin)
| thematic_focus        = Early Infantile Development
| school                = Kleinian School
| tradition             = Object Relations
| fields                = Psychoanalysis, Child Psychology
| clinical_stance       = Immediate interpretation of unconscious phantasy and negative transference; use of play as free association.
| training_lineage      = Analyzed by Sándor Ferenczi and Karl Abraham.
| founded               = Kleinian Group (within BPAS)
| institutional_role    = Training Analyst (British Society)
| key_concepts          = [[Paranoid-schizoid position]], [[Depressive position]], [[Projective identification]], [[Splitting]], [[Envy]], [[Reparation]], [[Part-object]]
| major_works           = ''The Psycho-Analysis of Children'' (1932)<br>''Envy and Gratitude'' (1957)
| clinical_innovations  = Play Technique; Analysis of children under 3 years old.
| psychoanalytic_impact = Shifted the analytic focus from the Oedipus complex to pre-Oedipal object relations and the death drive.
| relation_1_target     = Sigmund Freud
| relation_1_type       = Influence / Extension
| relation_1_content    = Radicalized Freud's concept of the Death Drive (Thanatos), positing it as the primary source of early anxiety.
| relation_2_target     = Anna Freud
| relation_2_type       = Rivalry / Opposition
| relation_2_content    = The "Controversial Discussions" (1942–44). Klein argued children could be analyzed like adults; Anna Freud insisted on a pedagogical approach.
| relation_3_target     = Jacques Lacan
| relation_3_type       = Critique (Received)
| relation_3_content    = Lacan called her technique "brutal" and overly imaginary, yet praised her recognition of the linguistic structure of the unconscious and the Real.
| relation_4_target     = Donald Winnicott
| relation_4_type       = Student / Divergence
| relation_4_content    = Winnicott was supervised by Klein but broke with her over the role of the environment vs. innate drive.
}}

Example 2: Donald Winnicott (The Independent)

Demonstrates a figure defined by his clinical stance and "Middle Group" status.

{{Infobox_thinker
| name                  = Donald W. Winnicott
| original_name         = Donald Woods Winnicott
| image                 = Winnicott_desk.jpg
| caption               = Winnicott at his desk.
| birth_date            = April 7, 1896
| death_date            = January 25, 1971
| nationality           = British
| languages             = English
| region                = London
| thematic_focus        = The Mother-Infant Dyad
| school                = Independent Group (Middle Group)
| tradition             = Object Relations
| fields                = Pediatrics, Psychoanalysis
| clinical_stance       = Regression to dependence; "Management" rather than interpretation; providing a "holding environment."
| training_lineage      = Analyzed by James Strachey and Joan Riviere.
| founded               = Pediatric Department at Paddington Green (Practice)
| institutional_role    = President of the British Psychoanalytical Society (twice)
| key_concepts          = [[Transitional object]], [[Potential space]], [[True and False Self]], [[Good-enough mother]], [[Holding]], [[Use of an object]]
| major_works           = ''Playing and Reality'' (1971)<br>''The Maturational Processes and the Facilitating Environment'' (1965)
| clinical_innovations  = The "Squiggle Game"; Therapeutic consultations; Treatment of regression.
| psychoanalytic_impact = Introduced the "environmental" factor into analysis, emphasizing that "there is no such thing as a baby" without a mother.
| relation_1_target     = Melanie Klein
| relation_1_type       = Influence / Critique
| relation_1_content    = Deeply influenced by her concept of internal objects, but rejected her emphasis on constitutional envy, focusing instead on environmental failure.
| relation_2_target     = Jacques Lacan
| relation_2_type       = Parallel
| relation_2_content    = Both focused on the "Mirror Stage" (Lacan's theoretical vs. Winnicott's maternal mirroring), though they had little direct contact.
| relation_3_target     = Masud Khan
| relation_3_type       = Student / Collaborator
| relation_3_content    = Khan was Winnicott's principal editor and collaborator, though their relationship later became controversial.
}}

Example 3: Michel Foucault (The External Influence)

Demonstrates how to use the template for a philosopher who impacted psychoanalysis from the outside.

{{Infobox_thinker
| name                  = Michel Foucault
| original_name         = Paul-Michel Foucault
| image                 = Foucault_1974.jpg
| caption               = Foucault lecturing, 1974.
| birth_date            = October 15, 1926
| death_date            = June 25, 1984
| nationality           = French
| languages             = French
| region                = Paris
| thematic_focus        = Power, Knowledge, and the Subject
| school                = N/A (Associated with Structuralism/Post-structuralism)
| tradition             = Continental Philosophy / Historical Epistemology
| fields                = Philosophy, History of Systems of Thought
| clinical_stance       = N/A
| training_lineage      = Studied under Louis Althusser and Georges Canguilhem.
| founded               = Group for Information on Prisons (GIP)
| institutional_role    = Professor at the Collège de France
| key_concepts          = [[Biopower]], [[Discourse]], [[Episteme]], [[Panopticon]], [[Care of the Self]], [[Scientia Sexualis]]
| major_works           = ''The History of Sexuality'' (Vol 1-3)<br>''The Order of Things''
| clinical_innovations  = Critique of the "repressive hypothesis" challenged the analytic cure's liberation narrative.
| psychoanalytic_impact = Challenged psychoanalysis as a "confessional" technology of power; heavily influenced the Lacanian concept of "Discourse."
| relation_1_target     = Sigmund Freud
| relation_1_type       = Critique / Re-reading
| relation_1_content    = Analyzed psychoanalysis not as a scientific discovery but as a historical product of the 19th-century deployment of sexuality.
| relation_2_target     = Jacques Lacan
| relation_2_type       = Influence / Ally
| relation_2_content    = Foucault praised Lacan for "liberating" the subject from the ego; Lacan regarded Foucault's work highly, though Foucault later distanced himself.
| relation_3_target     = Jacques Derrida
| relation_3_type       = Rivalry / Debate
| relation_3_content    = Famous debate over the interpretation of Descartes' cogito and madness, involving the status of reason and exclusion.
}}

local p = {}
local getArgs = require('Module:Arguments').getArgs

function p.main(frame)
    local args = getArgs(frame)
    local root = mw.html.create('div')
    
    -- 1. Check for relations
    local has_relations = false
    for i = 1, 5 do
        if args['relation_' .. i .. '_target'] then
            has_relations = true
            break
        end
    end
    if not has_relations then return '' end

    -- 3. The Loop
    for i = 1, 50 do
        local target = args['relation_' .. i .. '_target']
        if not target then break end

        local content = args['relation_' .. i .. '_content']
        local rel_type = args['relation_' .. i .. '_type']
        
        local clean_target = target:gsub('%[%[', ''):gsub('%]%]', '')
        
        local block = root:tag('div'):addClass('relation-block')
        
        -- Header
        local header = block:tag('div'):addClass('relation-header')
        header:wikitext('To [[' .. clean_target .. ']]')
        
        if rel_type then
            header:tag('span')
                :addClass('relation-type-tag')
                :wikitext(rel_type)
                
            -- Hard-coded color logic (Critique = Red, Influence = Green)
            local t = rel_type:lower()
            if t:find('critique') or t:find('rivalry') or t:find('opposition') then 
                block:css('border-left-color', '#e74c3c') 
            elseif t:find('influence') or t:find('mentor') or t:find('student') then 
                block:css('border-left-color', '#2ecc71')
            end
        end
        
        -- Content
        if content then
            block:tag('div')
                :addClass('relation-content')
                :wikitext(content)
        end
    end

    return tostring(root)
end

return p