Template:Sidebar person: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
Chalochatu (talk | contribs) No edit summary Tag: Reverted |
Chalochatu (talk | contribs) No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
{{#invoke:sidebar|sidebar | <includeonly>{{#invoke:sidebar|sidebar | ||
| name = | | name = {{{template|}}} | ||
| templatestyles = Sidebar person/styles.css | | templatestyles = Sidebar person/styles.css | ||
| class = sidebar-person vcard hlist | | class = sidebar-person vcard hlist | ||
Line 7: | Line 7: | ||
| title = | | title = | ||
<table><tr> | <table><tr> | ||
<td class="sidebar-person-title-image" {{#if:{{{background_color|}}}|style="background-color:{{{background_color}}};color:inherit;"}}>[[File:{{{portrait|No Picture.jpg}}}|75px|border]]</td> | <td class="sidebar-person-title-image" {{#if:{{{background_color|}}}|style="background-color:{{{background_color}}};color:inherit;"}}>[[File:{{{portrait|{{#if:trim|{{{2|No Picture.jpg}}}}}}}}|75px|border]]</td> | ||
<td class="sidebar-person-title" {{#if:{{{background_color|}}}|style="background-color:{{{background_color}}};color:{{#if:{{{font_color|}}}|{{{font_color}}}|#FFF}};"}}> | <td class="sidebar-person-title" {{#if:{{{background_color|}}}|style="background-color:{{{background_color}}};color:{{#if:{{{font_color|}}}|{{{font_color}}}|#FFF}};"}}><div>{{color|{{#if:{{{font_color|}}}|{{{font_color}}}|#FFF}}|This article is part of<br/>a series about}}</div><span class="vcard"><span class="fn">{{colored link|{{#if:{{{font_color|}}}|{{{font_color}}}|#FFF}}|{{{person|}}}|{{PAGENAMEBASE|{{{person|}}}}}}}</span></span></td> | ||
<div>{{color|{{#if:{{{font_color|}}}|{{{font_color}}}|#FFF}}|This article is part of<br/>a series about}}</div> | |||
<span class="vcard"><span class="fn">{{colored link|{{#if:{{{font_color|}}}|{{{font_color}}}|#FFF}}|{{{person|}}}|{{ | |||
</td> | |||
</tr></table> | </tr></table> | ||
| content1 = {{{contents|}}} | | content1 = {{{contents|}}} | ||
| below = {{{bottom|}}} | |||
}} | |below = {{{bottom|}}} | ||
</ | }}</includeonly><noinclude> | ||
{{Documentation}} | |||
</noinclude> |
Latest revision as of 10:16, 19 July 2025
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Lua error in Module:High-use at line 164: attempt to call field 'main' (a nil value).
The accessibility of this template is in question. The specific issue is: Coloured
|person=
link impedes user ability to distinguish links from regular text; see MOS:NAVBOXCOLOR. Relevant discussion may be found on the talk page.Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
This template creates a sidebar for a given person. It may be used to create other templates specifics to that individual.
Usage
| ||
---|---|---|
{{{contents}}} | ||
{{{bottom}}} | ||
<templatestyles src="Hlist/styles.css"></templatestyles><templatestyles src="Module:Navbar/styles.css"></templatestyles> |
{{Sidebar person
| template =
| person =
| portrait =
| font_color = <!-- Optional, default is #FFF -->
| background_color = <!-- Optional, default is #002466 -->
| border_color = <!-- Optional, default is #d69d36 -->
| contents =
| bottom =
}}
Example
| ||
---|---|---|
Life and legacy
Philosophy
| ||
<templatestyles src="Hlist/styles.css"></templatestyles><templatestyles src="Module:Navbar/styles.css"></templatestyles> |
{{Sidebar person
| template = Bertrand Russell sidebar
| person = Bertrand Russell
| portrait = Bertrand Russell transparent bg.png
| background_color = blue
| font_color = white
| border_color = black
| contentclass = hlist
| contents =
{{bold div|Life and legacy}}
* [[The Bertrand Russell Case|Appointment court case]]
* [[Russell Tribunal]]
* [[Bertrand Russell Professorship of Philosophy|Professorship of Philosophy]]
{{bold div|Philosophy}}
* [[Bertrand Russell's philosophical views|Views on philosophy]]
* [[Bertrand Russell's political views|Views on society]] ([[Bertrand Russell Peace Foundation|Peace Foundation]])
* [[Russell's paradox]]
* [[Peano–Russell notation]]
* [[Copleston–Russell debate]]
* [[Russell–Einstein Manifesto]]
* [[Russell's teapot]]
* [[Theory of descriptions]]
* [[Logical atomism]]
}}