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;
| 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|}}}
Line 6: Line 7:
| caption    = {{{image_caption|}}}
| caption    = {{{image_caption|}}}


! style="background:#E6E6FA; color:black; text-align:center;" | Office
| headerstyle = background:#E6E6FA; color:black; font-weight:bold; text-align:center;
|-
| header1    = Office
| label1     = Position
| label2     = Position
| data1     = {{{office|N/A}}} of {{{organization|N/A}}}
| data2     = {{{office|N/A}}} of {{{organization|N/A}}}
| label2     = Term
| label3     = Term
| data2     = {{{term_start|N/A}}} – {{#if:{{{term_end|}}}|{{{term_end}}}|Present}}
| data3     = {{{term_start|N/A}}} – {{#if:{{{term_end|}}}|{{{term_end}}}|Present}}


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


! style="background:#E6E6FA; color:black; text-align:center;" | Signature
| headerstyle = background:#E6E6FA; color:black; font-weight:bold; text-align:center;
|-
| header15  = Signature
| data13     = {{#if:{{{signature|}}}|[[File:{{{signature}}}|150px]]|N/A}}
| data15     = {{#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:25, 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=]]}}
Office
Positionof
Term– {{#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=]]}}
Office
Positionof
Term– {{#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=]]}}
Office
Positionof
Term– {{#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 = }}