Template:Bio infobox

From DMCB Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
(19 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 漢字
-
 
+
|* (All names should be preceded by a bullet point)
-
  <nowiki>{{Bio_infobox</nowiki>
+
  |image=Link to portrait
-
  |name-date=Yáng Wénhuì 楊文會 (1837-1911)
+
  |birth=DATE in PLACE, both linked if applicable
-
  |names=Courtesy name: Yáng Rénshān 楊仁山
+
  |death=DATE in PLACE, both linked if applicable
-
  |image=<nowiki>[[File:Yang_wenhui.jpg|center|Yang Wenhui]]</nowiki>
+
  |associates=Notable Associates: (CAN BE LEFT BLANK)
-
  |birth=Born [[1837]] (11/16 Dàoguāng 道光 17) in Shídài county 石埭縣 (modern Shítái 石台), Anhuī [[安徽]]
+
* LIST OF NAMES 漢字, linked if applicable
-
  |death=Died October 8, [[1911]] (8/17 Xuāntǒng 宣統 3)
+
  |editor-name=IF LEFT BLANK, ONLY SECTION EDITOR WILL BE DISPLAYED
-
  |associates=Notable Associates:<nowiki>
+
-
* Timothy Richard [[李提摩太]]
+
-
* Ōuyáng Jiàn [[歐陽漸]]
+
-
* 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%"
|
|
-
* Birth {{{birth}}}
+
{{{names}}}
-
* Death {{{death}}}
+
* Born {{{birth}}}
 +
* Died {{{death}}}
|- style="font-size:90%"
|- style="font-size:90%"
|{{{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