Difference between revisions of "Template:Infobox surfer"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Grapesoda22 |
imported>Hariboneagle927 (to allow medal template especially surfing will be an olympic sport) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| bodyclass = biography vcard | | bodyclass = biography vcard | ||
| − | | abovestyle = background-color: | + | | abovestyle = background-color: lavender |
| − | | headerstyle= background-color: | + | | headerstyle= background-color: lavender |
| above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| − | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}} | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}} |
| − | | caption = {{{caption|}}} | + | | caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}} |
| header1 = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{residence|}}}{{{height|}}}{{{weight|}}}|Personal information}} | | header1 = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{residence|}}}{{{height|}}}{{{weight|}}}|Personal information}} | ||
| Line 30: | Line 30: | ||
| label6 = Height | | label6 = Height | ||
| − | | data6 = {{{height|}}} | + | | data6 = {{#if: {{{height|}}} | {{Infobox person/height| {{{height}}} }} }} |
| label7 = Weight | | label7 = Weight | ||
| − | | data7 = {{{weight|}}} | + | | data7 = {{#if: {{{weight|}}} | {{Infobox person/weight| {{{weight}}} }} }} |
| header8 = {{#if:{{{years_active|{{{yearsactive|}}}}}}{{{best_year|{{{bestyear|}}}}}} {{{career_earnings|{{{careerearnings|}}}}}}{{{sponsors|}}}{{{major_achievements|{{{majorachievements|{{{careerhighlights|}}}}}}}}}|Surfing career}} | | header8 = {{#if:{{{years_active|{{{yearsactive|}}}}}}{{{best_year|{{{bestyear|}}}}}} {{{career_earnings|{{{careerearnings|}}}}}}{{{sponsors|}}}{{{major_achievements|{{{majorachievements|{{{careerhighlights|}}}}}}}}}|Surfing career}} | ||
| Line 71: | Line 71: | ||
| label20 = Website | | label20 = Website | ||
| data20 = {{{website|}}} | | data20 = {{{website|}}} | ||
| + | |||
| + | | header21 = {{Infobox medal templates | ||
| + | | title = {{{medaltemplates-title|}}} | ||
| + | | medals = {{{medaltemplates|}}} | ||
| + | | expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}} | ||
| + | }} | ||
| + | |||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 19:03, 12 December 2019
| Script error: No such module "Wikidata". Script error: No such module "Wikidata". |
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
| name | |
|---|---|
| Personal information | |
| Born | birth_name birth_date birth_place |
| Died | death_date death_place |
| Nickname | nickname |
| Residence | residence |
| Height | height |
| Weight | weight |
| Surfing career | |
| Best year | best_year |
| Career earnings | career_earnings |
| Sponsors | sponsors |
| Major achievements | major_achievements |
| Surfing specifications | |
| Stance | stance |
| Shaper(s) | shapers |
| Quiver | quiver |
| Favorite waves | favorite_waves |
| Favorite maneuvers | favorite_maneuvers |
| Website | website |
{{Infobox surfer
| name =
| image = <!-- example.jpg -->
| caption =
| birth_name =
| birth_date = <!-- {{birth date and age|YYYY|MM|DD}} -->
| birth_place =
| death_date = <!-- {{death date and age|dYYYY|dMM|dDD|bYYYY|bMM|bDD}} -->
| death_place =
| residence =
| nickname =
| height = <!-- {{convert|?|ft|?|in|cm|abbr=on}} or {{convert|?|cm|ftin|frac=2|abbr=on}} -->
| weight = <!-- {{convert|?|lb|kg|abbr=on}} or {{convert|?|kg|lb|abbr=on}} -->
| best_year =
| career_earnings =
| sponsors =
| major_achievements =
| stance =
| shapers =
| quiver =
| favorite_waves = <!-- or favourite_waves for "favourite" -->
| favorite_maneuvers = <!-- or favourite_maneuvers for "favourite" -->
| website =
| show-medals =
| medaltemplates =
| medaltemplates-title =
}}
| The above documentation is transcluded from Template:Infobox surfer/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |