Template:Bio infobox

From DMCB Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
 
(16 intermediate revisions not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
-
Usage of Biography Infobox
+
'''Usage of Biography Infobox'''
-
 
+
<pre>
-
* Note: nowiki tags in the code for the example below are just to prevent images and bullet points from being rendered on this page. They should not be included in actual usage.
+
  {{Bio_infobox
-
 
+
  |name-date=NAME 漢字 (DATES)
-
<code>
+
  |names=* List of courtesy, style etc. names with 漢字
-
 
+
-
  <nowiki>{{Bio_infobox</nowiki>
+
-
  |name-date=Yáng Wénhuì 楊文會 (1837-1911)
+
-
  |names=* Courtesy name: Yáng Rénshān 楊仁山
+
  |* (All names should be preceded by a bullet point)
  |* (All names should be preceded by a bullet point)
-
  |image=<nowiki>[[File:Yang_wenhui.jpg|center|Yang Wenhui]]</nowiki>
+
  |image=Link to portrait
-
  |birth=[[1837]] (11/16 Dàoguāng 道光 17) in Shídài county 石埭縣 (modern Shítái 石台), Anhuī [[安徽]]
+
  |birth=DATE in PLACE, both linked if applicable
-
  |death=October 8, [[1911]] (8/17 Xuāntǒng 宣統 3)
+
  |death=DATE in PLACE, both linked if applicable
-
  |associates=Notable Associates:<nowiki>
+
  |associates=Notable Associates: (CAN BE LEFT BLANK)
-
* Timothy Richard [[李提摩太]]
+
* LIST OF NAMES 漢字, linked if applicable
-
* Ōuyáng Jiàn [[歐陽漸]]
+
  |editor-name=IF LEFT BLANK, ONLY SECTION EDITOR WILL BE DISPLAYED
-
* Tàixū [[太虛]]
+
-
* Zhāng Tàiyán [[章太炎]]</nowiki>
+
-
  |editor-name=Gregory Adam Scott
+
  }}
  }}
-
 
+
</pre>
-
</code>
+
-
 
+
</noinclude>
</noinclude>
{|style="background:#ccffff;color:black;width:35%;" border="1" cellpadding="3" cellspacing="0" align="right"
{|style="background:#ccffff;color:black;width:35%;" border="1" cellpadding="3" cellspacing="0" align="right"
|- align="center"
|- align="center"
|<div style="font-size:120%">'''{{{name-date}}}'''</div>
|<div style="font-size:120%">'''{{{name-date}}}'''</div>
-
<div style="font-size:90%">
 
-
{{{names}}}
 
-
</div>
 
|- style="background:white; color:black"
|- style="background:white; color:black"
|{{{image}}}
|{{{image}}}
|- style="font-size:90%"
|- style="font-size:90%"
|
|
 +
{{{names}}}
* Born {{{birth}}}
* Born {{{birth}}}
* Died {{{death}}}
* Died {{{death}}}
Line 39: Line 28:
|{{{associates}}}
|{{{associates}}}
|- style="font-size:90%"
|- style="font-size:90%"
-
|{{Editor|name={{{editor-name}}}}}
+
|<!-- include article editor name if defined, otherwise do not -->
 +
{{#if: {{{editor-name}}} |* Article editor: '''{{{editor-name}}}'''|}}
|}
|}

Current revision as of 18:34, 8 April 2011

Usage of Biography Infobox

 {{Bio_infobox
 |name-date=NAME 漢字 (DATES)
 |names=* List of courtesy, style etc. names with 漢字
 |* (All names should be preceded by a bullet point)
 |image=Link to portrait
 |birth=DATE in PLACE, both linked if applicable
 |death=DATE in PLACE, both linked if applicable
 |associates=Notable Associates: (CAN BE LEFT BLANK)
* LIST OF NAMES 漢字, linked if applicable
 |editor-name=IF LEFT BLANK, ONLY SECTION EDITOR WILL BE DISPLAYED
 }}
{{{name-date}}}
{{{image}}}

{{{names}}}

  • Born {{{birth}}}
  • Died {{{death}}}
{{{associates}}}
  • Article editor: {{{editor-name}}}
Personal tools