Difference between revisions of "Template:Infobox surfer"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Nemo bis (Wikidata fallback for image.) |
imported>Frietjes (fix for case where there is more than one image) |
||
| Line 5: | Line 5: | ||
| above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| − | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{# | + | | 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}} | ||
Revision as of 22:47, 26 September 2016
| 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. |