Template:Infobox user: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox" style="width:22em; font-size:90%; text-align:left; border-color:#A88; background-color: #CAA;" cellspacing="2" | <includeonly>{| class="infobox" style="width:22em; font-size:90%; text-align:left; border-color:#A88; background-color: #CAA;" cellspacing="2" | ||
{{pipe}}- style="margin:0;" | {{pipe}}- style="margin:0;" | ||
!colspan="2" style="text-align: center;"{{pipe}}<small> | !colspan="2" style="text-align: center;"{{pipe}}<small>User</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span> | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
Line 9: | Line 9: | ||
{{pipe}}- valign="top" | {{pipe}}- valign="top" | ||
! | ! | ||
{{#if: {{{name|}}}| | {{#if: {{{name|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
Line 42: | Line 36: | ||
!style="text-align:right;"{{pipe}}Place of birth: | !style="text-align:right;"{{pipe}}Place of birth: | ||
{{pipe}}{{{pob|}}}| | {{pipe}}{{{pob|}}}| | ||
{{pipe}}- | |||
}} | |||
{{#if: {{{dod|}}}| | |||
{{pipe}}- | |||
!style="text-align:right;"{{pipe}}Date of death: | |||
{{pipe}}{{{dod|}}}| | |||
{{pipe}}- | {{pipe}}- | ||
}} | }} | ||
Line 56: | Line 56: | ||
{{pipe}}- | {{pipe}}- | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{family|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
!style="text-align:right;"{{pipe}} | !style="text-align:right;"{{pipe}}Family: | ||
{{pipe}}{{{ | {{pipe}}{{{family|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
}} | }} | ||
|} | |}</includeonly><noinclude> | ||
{{infobox | {{infobox character| | ||
}} | }} | ||
The following code produces the fake infobox shown on the right: | The following code produces the fake infobox shown on the right: | ||
<pre>{{infobox | <pre>{{infobox character| | ||
|image | |image = | ||
|name = | |name = | ||
|aka = | |aka = | ||
Line 76: | Line 75: | ||
|home = | |home = | ||
|nationality = | |nationality = | ||
}}</pre> | }}</pre> | ||
[[category:infoboxes]] | [[category:infoboxes]] | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude></includeonly> | [[Category:Templates|{{PAGENAME}}]]</noinclude> | ||
<includeonly>[[Category:Characters| ]]</includeonly> |