Difference between revisions of "Template:Infobox surfer"

From Surfing Wiki
Jump to navigation Jump to search
Line 3: Line 3:
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; font-size:120%; padding:0.5em;" | {{{name|{{BASEPAGENAME}}}}}
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; font-size:120%; padding:0.5em;" | {{{name|{{BASEPAGENAME}}}}}
{{#if: {{{image|}}}|{{!}}- style="text-align:center"
{{#if: {{{image|}}}|{{!}}- style="text-align:center"
{{!}} colspan="2" style="padding:0.5em;" {{!}} [[File:{{{image}}}|250px]] }}
{{!}} colspan="2" style="padding:0.5em;" {{!}} [[File:{{{image}}}]] }}
|-
|-
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Personal information
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Personal information
{{#if: {{{birth_place|}}}| "{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{!}} '''Birth place''' {{!}} {{{birth_place}}} }} {{#if: {{{birth_name|}}}| {{!}}- style="vertical-align:top;"
| style="width:100px" | '''Born'''
| {{{born}}}
|- style="vertical-align:top;"
{{#if: {{{died|}}}|
{{!}} '''Died'''
{{!}} {{{died|}}} }}
|- style="vertical-align:top;"
{{#if: {{{birth_place|}}}|
{{!}} '''Birth place'''
{{!}} {{{birth_place|}}} }}
|- style="vertical-align:top;"
{{#if: {{{birth_name|}}}|
{{!}} '''Birth name'''
{{!}} '''Birth name'''
{{!}} {{{birth_name}}}" }} {{#if: {{{nickname|}}}| {{!}}- style="vertical-align:top;"
{{!}} {{{birth_name|}}} }}
|- style="vertical-align:top;"
{{#if: {{{nickname|}}}|
{{!}} '''Nickname'''
{{!}} '''Nickname'''
{{!}} {{{nickname}}} }} {{#if: {{{residence|}}}|  
{{!}} {{{nickname|}}} }}
{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{residence|}}}|
{{!}} '''Residence'''
{{!}} '''Residence'''
{{!}} {{{residence}}}
{{!}} {{{residence|}}} }}
}}
|- style="vertical-align:top;"
{{#if: {{{height|}}}|
{{#if: {{{height|}}}|
{{!}}- style="vertical-align:top;"
{{!}} '''Height'''
{{!}} '''Height'''
{{!}} {{{height}}}
{{!}} {{{height|}}} }}
}}
|- style="vertical-align:top;"
{{#if: {{{weight|}}}|
{{#if: {{{weight|}}}|
{{!}}- style="vertical-align:top;"
{{!}} '''Weight'''
{{!}} '''Weight'''
{{!}} {{{weight}}}
{{!}} {{{weight|}}} }}
}}
|-
|-
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Surfing specifications
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Surfing specifications
{{#if: {{{stance|}}}|{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{stance|}}}|
{{!}} '''[[Stance]]'''
{{!}} '''[[Stance]]'''
{{!}} {{{stance}}} }}
{{!}} {{{stance|}}} }}
{{#if: {{{years_active|}}}|{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{years_active|}}}|
{{!}} '''Years active'''
{{!}} '''Years active'''
{{!}} {{{years_active}}} }}
{{!}} {{{years_active|}}} }}
{{#if: {{{sponsors|}}}|{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{sponsors|}}}|
{{!}} '''Sponsors'''
{{!}} '''Sponsors'''
{{!}} {{{sponsors}}} }}
{{!}} {{{sponsors|}}} }}
{{#if: {{{major_achievements|}}}|{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{major_achievements|}}}|
{{!}} '''Major achievements'''
{{!}} '''Major achievements'''
{{!}} {{{major_achievements}}} }}
{{!}} {{{major_achievements|}}} }}
{{#if: {{{shapers|}}}|{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{shapers|}}}|
{{!}} '''Shaper(s)'''
{{!}} '''Shaper(s)'''
{{!}} {{{shapers}}} }}
{{!}} {{{shapers|}}} }}
{{#if: {{{quiver|}}}|{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{quiver|}}}|
{{!}} '''Quiver'''
{{!}} '''Quiver'''
{{!}} {{{quiver}}} }}
{{!}} {{{quiver|}}} }}
{{#if: {{{favorite_waves|}}}|{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{favorite_waves|}}}|
{{!}} '''Favorite waves'''
{{!}} '''Favorite waves'''
{{!}} {{{favorite_waves}}} }}
{{!}} {{{favorite_waves|}}} }}
{{#if: {{{favorite_maneuvers|}}}|{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{favorite_maneuvers|}}}|
{{!}} '''Favorite maneuvers'''
{{!}} '''Favorite maneuvers'''
{{!}} {{{favorite_maneuvers}}} }}
{{!}} {{{favorite_maneuvers|}}} }}
{{#if: {{{website|}}}|{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{website|}}}|
{{!}} '''Website'''
{{!}} '''Website'''
{{!}} {{{website}}} }}
{{!}} {{{website|}}} }}
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
==Usage:==
==Usage:==

Revision as of 12:16, 19 February 2015


Usage:

  • The attribute sspeed is the same attribute as velocity (which is a replacement for sspeed).
  • Everything is optional;
  • you can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example)
  • Param not mentioned below: boxwidth
{{Infobox surfer
| image = 
| born = 
| died = 
| birth_place = 
| birth_name = 
| nickname = 
| residence = 
| height = 
| weight = 
| stance = 
| years_active = 
| sponsors = 
| major_achievements = 
| shapers = 
| quiver = 
| favorite_waves = 
| favorite_maneuvers = 
| website = 
}}