Difference between revisions of "Template:Infobox surfer"

From Surfing Wiki
Jump to navigation Jump to search
(Created page with "{| class="infobox" style="font-size:89%; width:{{{boxwidth|21em}}}; -moz-border-radius: .7em; -webkit-border-radius: .7em; border-radius: .7em; border: 1px solid #aaaaaa; back...")
 
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:{{{boxwidth|21em}}}; -moz-border-radius: .7em; -webkit-border-radius: .7em; border-radius: .7em; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right;"
<includeonly>{| class="infobox" style="font-size:89%; width:{{{boxwidth|21em}}}; -moz-border-radius: .7em; -webkit-border-radius: .7em; border-radius: .7em; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right;"
|-
|-
! 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}}}}}
|- style="text-align:center"
{{#if: {{{image|}}}|{{!}}- style="text-align:center"
| colspan="2" style="padding:0.5em;" | {{{image|[[File:{{{name|{{BASEPAGENAME}}}}}.png]]}}}
{{!}} colspan="2" style="padding:0.5em;" {{!}} [[File:{{{image}}}|250px]] }}
|-
|-
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Personal information
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Personal information
|-
|- style="vertical-align:top;"
| style="width:100px" | '''Born'''
| style="width:100px" | '''Born'''
| {{{born}}}{{#if: {{{type2|}}} | &#32;&ndash;&#32;{{{type2}}} }}
| {{{born}}}{{#if: {{{type2|}}} | &#32;&ndash;&#32;{{{type2}}} }}
|-
|- style="vertical-align:top;"
{{#if: {{{died|}}}|
{{#if: {{{died|}}}|
{{!}} '''Died'''
{{!}} '''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|}}} }}
|- style="vertical-align:top;"
{{#if: {{{nickname|}}}|
{{#if: {{{nickname|}}}|
{{!}} '''Nickname'''
{{!}} '''Nickname'''
{{!}} {{{nickname|}}} }}
{{!}} {{{nickname|}}} }}
|-
|- style="vertical-align:top;"
{{#if: {{{residence|}}}|
{{#if: {{{residence|}}}|
{{!}} '''Residence'''
{{!}} '''Residence'''
{{!}} {{{residence|}}} }}
{{!}} {{{residence|}}} }}
|-
|- style="vertical-align:top;"
{{#if: {{{height|}}}|
{{#if: {{{height|}}}|
{{!}} '''Height'''
{{!}} '''Height'''
{{!}} {{{height|}}} }}
{{!}} {{{height|}}} }}
|-
|- style="vertical-align:top;"
{{#if: {{{weight|}}}|
{{#if: {{{weight|}}}|
{{!}} '''Weight'''
{{!}} '''Weight'''
Line 31: Line 39:
|-
|-
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Surfing specifications
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Surfing specifications
|-
|- style="vertical-align:top;"
{{#if: {{{stance|}}}|
{{#if: {{{stance|}}}|
{{!}} '''[[Stance]]'''
{{!}} '''[[Stance]]'''
{{!}} {{{placeable|}}} }}
{{!}} {{{stance|}}} }}
|-
|- style="vertical-align:top;"
{{#if: {{{years_active|}}}|
{{!}} '''Years active'''
{{!}} {{{years_active|}}} }}
|- style="vertical-align:top;"
{{#if: {{{sponsors|}}}|
{{!}} '''Sponsors'''
{{!}} {{{sponsors|}}} }}
|- style="vertical-align:top;"
{{#if: {{{major_achievements|}}}|
{{!}} '''Major achievements'''
{{!}} {{{major_achievements|}}} }}
|- style="vertical-align:top;"
{{#if: {{{shapers|}}}|
{{#if: {{{shapers|}}}|
{{!}} '''Shaper(s)'''
{{!}} '''Shaper(s)'''
{{!}} {{{shapers|}}} }}
{{!}} {{{shapers|}}} }}
|-
|- style="vertical-align:top;"
{{#if: {{{quiver|}}}|
{{#if: {{{quiver|}}}|
{{!}} '''Quiver'''
{{!}} '''Quiver'''
{{!}} {{{quiver|}}} }}
{{!}} {{{quiver|}}} }}
|-
|- style="vertical-align:top;"
{{#if: {{{favorite_waves|}}}|
{{#if: {{{favorite_waves|}}}|
{{!}} '''Favorite waves'''
{{!}} '''Favorite waves'''
{{!}} {{{favorite_waves|}}} }}
{{!}} {{{favorite_waves|}}} }}
|-
|- style="vertical-align:top;"
{{#if: {{{favorite_maneuvers|}}}|
{{#if: {{{favorite_maneuvers|}}}|
{{!}} '''Favorite maneuvers'''
{{!}} '''Favorite maneuvers'''
{{!}} {{{favorite_maneuvers|}}} }}
{{!}} {{{favorite_maneuvers|}}} }}
|-
|- style="vertical-align:top;"
{{#if: {{{website|}}}|
{{#if: {{{website|}}}|
{{!}} '''Website'''
{{!}} '''Website'''
{{!}} {{{website|}}} }}
{{!}} {{{website|}}} }}
|-
|}</includeonly>
{{#if: {{{lregen|}}}|
{{!}} '''Life regen'''
{{!}} {{{lregen|}}}}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}} items]]}}<!--
-->{{#if:{{{type2|}}}|[[Category:{{{type2}}} items]]}}<!--
-->{{#ifeq:{{lc:{{{consumable|}}}}}|true|[[Category:Consumable items]]}}<!--
-->}}</includeonly>
 
<noinclude>
<noinclude>
==Usage:==
==Usage:==
Line 70: Line 81:
* Everything is optional;
* 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)
* 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
<pre>
<pre>
{{item infobox
{{Infobox surfer
| boxwidth = optional: width of infobox
| image =  
| type =  
| born =  
| damage =  
| died =  
| defense =  
| birth_place =  
| bonus =  
| birth_name =  
| pick =  
| nickname =  
| knockback =
| residence =  
| placeable =
| height =  
| width =
| weight =  
| height =
| stance =  
| stack =
| years_active =  
| mana =
| sponsors =  
| mregen =
| major_achievements =  
| mheal =
| shapers =  
| lregen =
| quiver =  
| hheal =
| favorite_waves =  
| tooltip =
| favorite_maneuvers =  
| consumable =
| website =  
| velocity =  
| rare =  
| accessory =  
| body slot =  
| use =  
| toolspeed =
| tool =  
| buy  =  
| sell =  
| id =  
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 12:18, 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 = 
}}