Jump to content

Template:Infobox sp: Difference between revisions

From Worldpedia, the free encyclopedia
No edit summary
Tags: mobile web edit mobile edit
No edit summary
Tags: mobile web edit mobile edit
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
{{Infobox
| abovestyle = background:#efefef;
| abovestyle = background:#efefef; padding:0.3em; font-size: 1.25em; font-weight: bold; text-align: center;
| above     = {{{name|''No name provided''}}} {{#if:{{{verified_icon|}}}|<span class="verified-icon">[[File:{{{verified_icon}}}|20px]]</span>}}
| above       = {{{name|''No name provided''}}} {{#if:{{{verified_icon|}}}|<span class="verified-icon">[[File:{{{verified_icon}}}|20px]]</span>}}
| subheader = {{{native_name|}}}
| subheader   = {{{native_name|}}}
| image     = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|upright=1.15|alt={{{name}}}]]}}
| image       = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|upright=1.15|alt={{{name}}}]]}}
| caption   = {{{image_caption|}}}
| caption     = {{{image_caption|}}}


| headerstyle = background:#E6E6FA; color:black; font-weight:bold; text-align:center;
| headerstyle = background:#C3CDE6; color:black; font-weight:bold; text-align:center;
| header1   = Office
| header1    = '''{{{office|N/A}}}''' of the '''[[{{{organization|N/A}}}]]'''
| label2     = Position
| label2      = '''In office'''
| data2      = {{{office|N/A}}} of {{{organization|N/A}}}
| data2      = {{{term_start|N/A}}} – {{#if:{{{term_end|}}}|{{{term_end}}}|Present}}
| label3    = Term
| data3      = {{{term_start|N/A}}} – {{#if:{{{term_end|}}}|{{{term_end}}}|Present}}


| headerstyle = background:#E6E6FA; color:black; font-weight:bold; text-align:center;
| headerstyle = background:#E6E6FA; color:black; font-weight:bold; text-align:center;
| header4    = Personal details
| header3    = Personal details
| label5    = Born
| label4      = Born
| data5      = {{#if:{{{birth_date|}}}|{{{birth_date}}}|Unknown}} {{#if:{{{birth_place|}}}|in {{{birth_place}}}|}}
| data4      = {{#if:{{{birth_date|}}}|{{{birth_date}}}|Unknown}} {{#if:{{{birth_place|}}}|in {{{birth_place}}}|}}
| label6    = Nationality
| label5      = Nationality
| data6      = {{{nationality|Unknown}}}
| data5      = {{{nationality|Unknown}}}
| label7    = Occupation
| label6      = Occupation
| data7      = {{{occupation|Unknown}}}
| data6      = {{{occupation|Unknown}}}
| label8    = Years active
| label7      = Years active
| data8      = {{#if:{{{years_active|}}}|{{{years_active}}} – Present|N/A}}
| data7      = {{#if:{{{years_active|}}}|{{{years_active}}} – Present|N/A}}
| label9    = Organization
| label8      = Organization
| data9      = {{{organization|N/A}}}
| data8      = {{{organization|N/A}}}
| label10    = Height
| label9      = Height
| data10    = {{#if:{{{height_m|{{{height_cm|}}}}}{{{height_ft|}}}{{{height_in|}}}} |  
| data9      = {{#if:{{{height_m|{{{height_cm|}}}}}{{{height_ft|}}}{{{height_in|}}}} |  
     {{convinfobox|{{{height_m|{{{height_cm|}}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}}
     {{convinfobox|{{{height_m|{{{height_cm|}}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}}
   }}{{#if:{{{height|}}} | {{infobox person/height|{{{height|}}}}}}
   }}{{#if:{{{height|}}} | {{infobox person/height|{{{height|}}}}}}
}}
}}
| label11    = Spouse
| label10    = Spouse
| data11    = {{{spouse|N/A}}}
| data10      = {{{spouse|N/A}}}
| label12    = Father
| label11    = Father
| data12    = {{{father|N/A}}}
| data11      = {{{father|N/A}}}
| label13    = Awards
| label12    = Awards
| data13    = {{{awards|N/A}}}
| data12      = {{{awards|N/A}}}
| label14    = Website
| label13    = Website
| data14    = {{#if:{{{website|}}}|[http://{{{website}}} {{{website}}}]|N/A}}
| data13      = {{#if:{{{website|}}}|[http://{{{website}}} {{{website}}}]|N/A}}


| headerstyle = background:#E6E6FA; color:black; font-weight:bold; text-align:center;
| headerstyle = background:#E6E6FA; color:black; font-weight:bold; text-align:center;
| header15  = Signature
| header14    = Signature
| data15    = {{#if:{{{signature|}}}|[[File:{{{signature}}}|150px]]|N/A}}
| data14      = {{#if:{{{signature|}}}|[[File:{{{signature}}}|150px]]|N/A}}
}}
}}
</includeonly>
</includeonly>


<noinclude>
<noinclude>
== Usage ==
To use this template, copy and paste the following code into the article:
```wiki
{{Infobox sp
| name        =
| verified_icon =
| native_name  =
| image        =
| image_caption =
| office      =
| organization =
| term_start  =
| term_end    =
| birth_date  =
| birth_place  =
| nationality  =
| occupation  =
| years_active =
| height_m    =
| height_cm    =
| height_ft    =
| height_in    =
| height      =
| spouse      =
| father      =
| awards      =
| website      =
| signature    =
}}
== Usage ==
== Usage ==
To use this template, copy and paste the following code into the article:
To use this template, copy and paste the following code into the article:

Revision as of 04:29, 4 March 2025


Usage

To use this template, copy and paste the following code into the article:

```wiki

<templatestyles src="Module:Infobox/styles.css"></templatestyles>

{{#if:|[[File:|20px]]}}
{{#if:|[[File:|frameless|upright=1.15|alt=]]}}
' of the [[]]'
In office– {{#if:||Present}}
Personal details
Born{{#if:||Unknown}} {{#if:|in |}}
Years active{{#if:| – Present|N/A}}
Height{{#if:{Template:Height m} |
 }}{{#if: | }
}}
Website{{#if:|[http:// ]|N/A}}
Signature

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox sp|Infobox||{{#ifeq:Template:Str left|Infobox|[[Category:Infobox templates|Template:Remove first word]]}}}} | other | #default = }}



Usage

To use this template, copy and paste the following code into the article:

```wiki

<templatestyles src="Module:Infobox/styles.css"></templatestyles>

{{#if:|[[File:|20px]]}}
{{#if:|[[File:|frameless|upright=1.15|alt=]]}}
' of the [[]]'
In office– {{#if:||Present}}
Personal details
Born{{#if:||Unknown}} {{#if:|in |}}
Years active{{#if:| – Present|N/A}}
Height{{#if:{Template:Height m} |
 }}{{#if: | }
}}
Website{{#if:|[http:// ]|N/A}}
Signature

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox sp|Infobox||{{#ifeq:Template:Str left|Infobox|[[Category:Infobox templates|Template:Remove first word]]}}}} | other | #default = }}



Usage

To use this template, copy and paste the following code into the article:

```wiki

<templatestyles src="Module:Infobox/styles.css"></templatestyles>

{{#if:|[[File:|20px]]}}
{{#if:|[[File:|frameless|upright=1.15|alt=]]}}
' of the [[]]'
In office– {{#if:||Present}}
Personal details
Born{{#if:||Unknown}} {{#if:|in |}}
Years active{{#if:| – Present|N/A}}
Height{{#if:{Template:Height m} |
 }}{{#if: | }
}}
Website{{#if:|[http:// ]|N/A}}
Signature

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox sp|Infobox||{{#ifeq:Template:Str left|Infobox|[[Category:Infobox templates|Template:Remove first word]]}}}} | other | #default = }}



Usage

To use this template, copy and paste the following code into the article:

```wiki

<templatestyles src="Module:Infobox/styles.css"></templatestyles>

{{#if:|[[File:|20px]]}}
{{#if:|[[File:|frameless|upright=1.15|alt=]]}}
' of the [[]]'
In office– {{#if:||Present}}
Personal details
Born{{#if:||Unknown}} {{#if:|in |}}
Years active{{#if:| – Present|N/A}}
Height{{#if:{Template:Height m} |
 }}{{#if: | }
}}
Website{{#if:|[http:// ]|N/A}}
Signature

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox sp|Infobox||{{#ifeq:Template:Str left|Infobox|[[Category:Infobox templates|Template:Remove first word]]}}}} | other | #default = }}