Difference between revisions of "Template:Infobox personal"
Jump to navigation
Jump to search
m (testing) |
m (testing template) |
||
Line 1: | Line 1: | ||
− | + | <table class="tws collapsible" align="{{#switch: {{{align}}} |left= left |center= center |right}}" style="white-space: normal; width:290px; margin:8px;"><tr><th colspan="2" style="text-align:left; width:100%;"><span style="font-size:100%;"><div id="DC.title" style="margin-right:80px;">[[Image:Contact-new.svg|28px]] {{#if: {{{Name}}}|{{{Name}}}| Infobox }}</div></span></th></tr><tr><td colspan="2">{{#if: {{{Photo|}}}|{{{Photo}}}| }} | |
− | + | </td></tr>{{#if: {{{Website|}}} |<tr style="font-size:85%;"><td valign="top">'''Website:'''</td><td>{{{Website}}}</td></tr> }}{{#if: {{{Blog|}}} |<tr style="font-size:85%;"><td valign="top">'''Blog:'''</td><td>{{{Blog}}}</td></tr> }}{{#if: {{{Employer|}}} |<tr style="font-size:85%;"><td valign="top">'''Employer:'''</td><td>{{{Employer}}}</td></tr> }} | |
− | + | {{#if: {{{Occupation|}}} |<tr style="font-size:85%;"><td align="top">'''Occupation:'''</td><td>{{{Occupation}}}</td></tr> }}{{#if: {{{Other roles|}}} |<tr style="font-size:85%;"><td valign="top">'''Other roles:'''</td><td>{{{Other roles}}}</td></tr> }}{{#if: {{{Nationality|}}} |<tr style="font-size:85%;"><td valign="top">'''Nationality:'''</td><td>{{{Nationality}}}</td></tr> }}{{#if: {{{Country|}}} |<tr style="font-size:85%;"><td valign="top">'''Country:'''</td><td>{{{Country}}}</td></tr> }}{{#if: {{{Email|}}} |<tr><td></td><td>[mailto:{{{Email}}}?Subject=WikiEducator email]</td></tr>}}{{#if: {{{WM2|}}} | <tr><td colspan="2" align="center">{{:WikiMaster_userboxes/WikiApprentice_level_2|{{{WM2}}} }}</td></tr>}}{{#if: {{{WM3|}}} | <tr><td colspan="2" align="center">{{:WikiMaster_userboxes/WikiBuddy|{{{WM3}}} }}</td></tr>}}{{#if: {{{WM4|}}} | <tr><td colspan="2" align="center">{{:WikiMaster_userboxes/WikiArtisan|{{{WM4}}}}}</td></tr>}} | |
− | + | {{#if: {{{WM5|}}} | <tr><td colspan="2" align="center">{{:WikiMaster_userboxes/WikiTrainer|{{{WM5}}} }}</td></tr>}}{{#if: {{{WM6|}}} | <tr><td colspan="2" align="center">{{:WikiMaster_userboxes/WikiMaster|{{{WM6}}} }}</td></tr>}}{{#if: {{{Boxes|}}} |<tr><td colspan="2" align="center">{{{Boxes}}}</td></tr> }}{{#if: {{{WM1|}}} | <tr><td colspan="2" align="center">{{:WikiMaster_userboxes/WikiApprentice_level_1|{{{WM1}}} }}</td></tr>}} | |
− | + | </table> | |
− | |||
− | |||
− | + | <noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | See: [[Wikieducator:Infoboxes]] | |
+ | |||
+ | == Syntax == | ||
+ | |||
+ | <nowiki>{{</nowiki>Infobox personal | ||
+ | |||
+ | |Name = | ||
+ | |||
+ | |Email = | ||
+ | |||
+ | |Boxes = | ||
+ | |||
+ | |Photo = | ||
+ | |||
+ | |Employer = | ||
+ | |||
+ | |Website = | ||
+ | |||
+ | |Blog = | ||
+ | |||
+ | |Occupation = | ||
+ | |||
+ | |Nationality = | ||
+ | |||
+ | |Country = | ||
+ | |||
+ | }} | ||
+ | |||
+ | === Attibutes === | ||
+ | |||
+ | '''Name''' - optional title for infobox. if left blank will default to pagename. | ||
+ | |||
+ | '''Boxes''' - add other infoboxes here. for example, see: [[Wikieducator:Infoboxes]] | ||
+ | |||
+ | '''Photo''' | ||
+ | |||
+ | '''Website''' | ||
+ | |||
+ | '''Blog''' | ||
+ | |||
+ | '''Occupation''' | ||
+ | |||
+ | '''Nationality''' | ||
+ | |||
+ | '''Country''' | ||
+ | |||
+ | |||
+ | </noinclude> |
Latest revision as of 12:39, 27 June 2008
28px {{{Name}}} | |
---|---|
Syntax
{{Infobox personal
|Name =
|Email =
|Boxes =
|Photo =
|Employer =
|Website =
|Blog =
|Occupation =
|Nationality =
|Country =
}}
Attibutes
Name - optional title for infobox. if left blank will default to pagename.
Boxes - add other infoboxes here. for example, see: Wikieducator:Infoboxes
Photo
Website
Blog
Occupation
Nationality
Country