الگو:Infobox sportsperson: تفاوت میان نسخه‌ها

از ویکی البرز
صفحه‌ای تازه حاوی «{{#invoke:infobox|infoboxTemplate | child = {{{child|{{{embed|}}}}}} | bodyclass = vcard | headerstyle = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||background:{{#if:{{{headercolor|}}}|{{{headercolor}}}; {{#if:{{{textcolor|}}}|color:{{{textcolor}}}}}|#CCCC99}};}} | title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#ifeq:{{{embed_header_large|}}}|yes|<div style="text-align: center; font-size: 125%; line-height: 1.2em; font-weight: bo...» ایجاد کرد
 
برچسب: تغییر مسیر جدید
 
خط ۱: خط ۱:
{{#invoke:infobox|infoboxTemplate
#تغییر_مسیر [[الگو:جعبه اطلاعات ورزشکار]]
| child    = {{{child|{{{embed|}}}}}}
{{R from move}}
 
| bodyclass  = vcard
| headerstyle = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||background:{{#if:{{{headercolor|}}}|{{{headercolor}}}; {{#if:{{{textcolor|}}}|color:{{{textcolor}}}}}|#CCCC99}};}}
 
| title    = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#ifeq:{{{embed_header_large|}}}|yes|<div style="text-align: center; font-size: 125%; line-height: 1.2em; font-weight: bold;">{{#if:{{{embed-header|}}}|{{{embed-header}}}|Sports career}}</div>|{{#if:{{{embed-header|}}}|'''{{{embed-header}}}'''|'''Sports career'''}}}}|{{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}}<div class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal; display:inline;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}}}}
| titlestyle = font-size:125%;
 
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption  = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
 
| header1  = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{#if:{{{native_name|}}}{{{native_name_lang|}}}{{{birth_name|}}}{{{birthname|}}}{{{full_name|}}}{{{fullname|}}}{{{nickname|}}}{{{national_team|}}}{{{nationality|}}}{{{citizenship|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{resting_place|}}}{{{resting place|}}}{{{restingplace|}}}{{{resting_place_coordinates|}}}{{{resting place coordinates|}}}{{{restingplacecoordinates|}}}{{{monuments|}}}{{{hometown|}}}{{{education|}}}{{{alma_mater|}}}{{{alma mater|}}}{{{occupation|}}}{{{years_active|}}}{{{years active|}}}{{{yearsactive|}}}{{{employer|}}}{{{agent|}}}{{{height_cm|}}}{{{height_ft|}}}{{{height_in|}}}{{{height|}}}{{{weight_kg|}}}{{{weight_lb|}}}{{{weight_st|}}}{{{weight|}}}{{{spouse|}}}{{{life_partner|}}}{{{children|}}}{{{parents|}}}{{{father|}}}{{{mother|}}}{{{relations|}}}{{{relatives|}}}{{{other_interests|}}}{{{other-interests|}}}{{{website|}}}|Personal information}}}}
 
| label2  = Native&nbsp;name
|  data2  = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
| label3  = Birth&nbsp;name
|  data3  = {{if empty|{{{birth_name|}}}|{{{birthname|}}}}}
| class3  = nickname
| label4  = Full&nbsp;name
|  data4  = {{if empty|{{{full_name|}}}|{{{fullname|}}}}}
| class4  = nickname
| label5  = <span class="nowrap">Nickname{{Pluralize from text|{{{nickname|}}}|likely=(s)|plural=s}}</span>
|  data5  = {{{nickname|}}}
| class5  = nickname
| label6  = {{#if:{{{national_team|}}}|National&nbsp;team|Nationality}}
|  data6  = {{#if:{{{national_team|}}}|{{{national_team}}}|{{{nationality|}}}}}
| class6  = category
| label8  = Citizenship
|  data8  = {{{citizenship|}}}
| class8  = category
| label9  = Born
|  data9  = {{br separated entries|{{{birth_date|}}}|{{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}
| label10  = Died
|  data10  = {{br separated entries|{{{death_date|}}}|{{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
| label11  = Resting&nbsp;place
|  data11  = {{br separated entries|{{if empty|{{{resting_place|}}}|{{{resting place|}}}|{{{restingplace|}}}}} |{{if empty|{{{resting_place_coordinates|}}}|{{{resting place coordinates|}}}|{{{restingplacecoordinates|}}}}} }}
| class11  = label
| label12  = Monument{{Pluralize from text|{{{monuments|}}}|likely=(s)|plural=s}}
|  data12  = {{{monuments|}}}
| label14  = Home&nbsp;town
|  data14  = {{{hometown|}}}
| label15  = Education
|  data15  = {{{education|}}}
| label16  = ''[[Alma&nbsp;mater]]''
|  data16  = {{if empty|{{{alma_mater|}}}|{{{alma mater|}}}}}
| label17  = Occupation{{Pluralize from text|{{{occupation|}}}|likely=(s)|plural=s}}
|  data17  = {{{occupation|}}}
| class17  = role
| label18  = Years&nbsp;active
|  data18  = {{if empty|{{{years_active|}}}|{{{years active|}}}|{{{yearsactive|}}}}}
| label19  = Employer{{Pluralize from text|{{{employer|}}}|likely=(s)|plural=s}}
|  data19  = {{{employer|}}}
| class19  = org
| label20  = Agent
|  data20  = {{{agent|}}}
| class20  = agent
| label21  = Height
|  data21  = {{convinfobox|{{{height_cm|}}}|cm|{{{height_ft|}}}|ft|{{{height_in|}}}|in|{{#if:{{{height_in|}}}|0}}}}{{#if:{{{height|}}}|{{infobox person/height|{{{height}}}}}}}
| label22  = Weight
|  data22  = {{convinfobox|{{{weight_kg|}}}|kg|{{{weight_st|}}}|st|{{{weight_lb|}}}|lb|{{#if:{{{weight_kg|}}}|0}}}}{{#if:{{{weight|}}}|{{infobox person/weight|{{{weight}}}}}}}
| label23  = <span class="nowrap">Spouse{{Pluralize from text|{{{spouse|}}}|likely=(s)|plural=s}}</span>
|  data23  = {{{spouse|}}}
| label24  = [[Life partner|Life <span class="nowrap">partner{{Pluralize from text|{{{life_partner|}}}|likely=(s)|plural=s}}</span>]]
|  data24  = {{{life_partner|}}}
| label25  = Children
|  data25  = {{{children|}}}
| label26  = Parent{{#if:{{{parents|}}}|{{Pluralize from text|{{{parents|}}}|likely=(s)|plural=s}}|<!--
              -->{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|s}}}}
|  data26  = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}
| label27  = Relative{{Pluralize from text|{{if empty|{{{relations|}}}|{{{relatives|}}}}}|likely=(s)|plural=s}}
|  data27  = {{if empty|{{{relations|}}}|{{{relatives|}}}}}
| label28  = Other interests
|  data28  = {{if empty|{{{other_interests|}}}|{{{other-interests|}}}}}
| label29  = Website
|  data29  = {{{website|}}}
 
|  data30  = {{{module|}}}{{{misc|}}}
 
| header31  = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{#if:{{{country|}}}{{{sport|}}}{{{position|}}}{{{shoots|}}}{{{catches|}}}{{{disability|}}}{{{disability_class|}}}{{{weight_class|}}}{{{rank|}}}{{{event|}}}{{{universityteam|}}}{{{collegeteam|}}}{{{league|}}}{{{club|}}}{{{team|}}}{{{turnedpro|}}}{{{partner|}}}{{{former_partner|}}}{{{formerpartner|}}}{{{coach|}}}{{{retired|}}}{{{coaching|}}}|Sport}}}}
| label34  = Country
|  data34  = {{{country|}}}
| label35  = Sport
|  data35  = {{{sport|}}}
| label36  = Position
|  data36  = {{{position|}}}
| label37  = Shoots
|  data37  = {{{shoots|}}}
| label38  = Catches
|  data38  = {{{catches|}}}
| label39  = Disability
|  data39  = {{{disability|}}}
| label40  = {{#if:{{{disability_class_type|}}}|{{{disability_class_type}}}|[[Disability sport classification|Disability&nbsp;class]]}}
|  data40  = {{{disability_class|}}}
| label41  = {{#if:{{{weight_class_type|}}}|{{{weight_class_type}}}|Weight&nbsp;class}}
|  data41  = {{{weight_class|}}}
| label42  = {{#if:{{{rank_type|}}}|{{{rank_type}}}|Rank}}
|  data42  = {{{rank|}}}
| label43  = {{#if:{{{event_type|}}}|{{{event_type}}}|<span class="nowrap">Event{{Pluralize from text|{{{event|}}}|likely=(s)|plural=s}}</span>}}
|  data43  = {{{event|}}}
| label44  = {{#if:{{{universityteam|}}}|University|College}} team
|  data44  = {{#if:{{{universityteam|}}}|{{{universityteam}}}|{{{collegeteam|}}}}}
| label45  = {{#if:{{{league_type|}}}|{{{league_type}}}|League}}
|  data45  = {{{league|}}}
| class45  = org
| label46  = Club
|  data46  = {{{club|}}}
| class46  = org
| label47  = Team
|  data47  = {{{team|}}}
| class47  = org
| label48  = {{#if:{{{turnedpro_type|}}}|{{{turnedpro_type}}}|Turned pro}}
|  data48  = {{{turnedpro|}}}
| label49  = Partner{{Pluralize from text|{{{partner|}}}|likely=(s)|plural=s}}
|  data49  = {{{partner|}}}
| label50  = Former <span class="nowrap">partner{{Pluralize from text|{{if empty|{{{former_partner|}}}|{{{formerpartner|}}}}}|likely=(s)|plural=s}}</span>
|  data50  = {{if empty|{{{former_partner|}}}|{{{formerpartner|}}}}}
| label51  = Coached by
|  data51  = {{{coach|}}}
| class51  = agent
| label52  = Retired
|  data52  = {{{retired|}}}
| label53  = Now coaching
|  data53  = {{{coaching|}}}
 
|  data54  = {{{module2|}}}{{{misc2|}}}
 
| header55  = {{#if:{{{worlds|}}}{{{regionals|}}}{{{nationals|}}}{{{olympics|}}}{{{paralympics|}}}{{{commonwealth|}}}{{{highestranking|}}}{{{pb|}}}|{{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{embed-achievements-header|}}}|{{{embed-achievements-header}}}|Sports achievements and titles}}|Achievements and titles}}}}
 
| label58  = {{#if:{{{worlds_type|}}}|{{{worlds_type|}}}|World finals}}
|  data58  = {{{worlds|}}}
| label59  = {{#if:{{{regionals_type|}}}|{{{regionals_type|}}}|Regional finals}}
|  data59  = {{{regionals|}}}
| label60  = {{#if:{{{nationals_type|}}}|{{{nationals_type|}}}|National finals}}
|  data60  = {{{nationals|}}}
| label56  = {{#if:{{{olympics_type|}}}|{{{olympics_type|}}}|[[Olympic Games|Olympic finals]]}}
|  data56  = {{{olympics|}}}
| label57  = {{#if:{{{paralympics_type|}}}|{{{paralympics_type|}}}|[[Paralympic Games|Paralympic finals]]}}
|  data57  = {{{paralympics|}}}
| label61  = {{#if:{{{commonwealth_type|}}}|{{{commonwealth_type|}}}|[[Commonwealth Games|Commonwealth finals]]}}
|  data61  = {{{commonwealth|}}}
| label62  = Highest world ranking
|  data62  = {{{highestranking|}}}
| label63  = Personal <span class="nowrap">best{{Pluralize from text|{{{pb|}}}|likely=(s)|plural=s}}</span>
|  data63  = {{{pb|}}}
 
| header64  = {{Infobox medal templates
| title  = {{{medaltemplates-title|}}}
| medals = {{{medaltemplates|}}}
| expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}}
}}
 
|  data65  = {{{module3|}}}{{{misc3|}}}
|  data66  = {{{module4|}}}{{{misc4|}}}
 
| belowstyle  = color:darkslategray;
| below    = {{#if:{{{updated|}}}|Updated on {{{updated}}}}}
 
}}<includeonly>{{#if:{{{textcolor|}}}|[[Category:Pages using infobox sportsperson with textcolor]]
}}{{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}} }}
}}</includeonly>{{#invoke:Check for unknown parameters | check | ignoreblank = y
| unknown = {{main other|[[Category:Pages using {{if empty|{{{template_name|}}}|Infobox sportsperson}} with unknown parameters|_VALUE_{{PAGENAME}}]]}}
| preview = Page using [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox sportsperson}}]] with unknown parameter "_VALUE_"
| child | embed | embed-achievements-header | embed-header | embed_header_large | headercolor | textcolor | honorific_prefix | honorific prefix | honorific-prefix | pre-nominals | name | honorific_suffix | honorific suffix | honorific-suffix | post-nominals | image | image caption | image size | image_caption | image_size | image_upright | imagesize | landscape | alt | caption | native_name | native_name_lang | birth_name | birthname | full_name | fullname | nickname | national_team | nationality | citizenship | birth_date | birth_place | death_date | death_place | resting_place | resting place | restingplace | resting_place_coordinates | resting place coordinates | restingplacecoordinates | monuments | hometown | education | alma_mater | alma mater | occupation | years_active | years active | yearsactive | employer | agent | height_cm | height_ft | height_in | height | weight_kg | weight_lb | weight_st | weight | spouse | life_partner | children | parents | father | mother | relations | relatives| other_interests | other-interests | website | module | misc | country | sport | position | shoots | catches | disability | disability_class | disability_class_type | weight_class | rank_type | rank | event | universityteam | collegeteam | league | club | team | turnedpro | partner | former_partner | formerpartner | coach | retired | coaching | weight_class_type | event_type | league_type | turnedpro_type | module2 | misc2 | worlds_type | worlds | regionals_type | regionals | nationals_type | nationals | olympics_type | olympics | paralympics_type | paralympics | commonwealth_type | commonwealth | highestranking | pb | medaltemplates-title | medaltemplates | show-medals | module3 | misc3 | module4 | misc4 | updated | nocat_wdimage | template_name
}}{{#invoke:Check for clobbered parameters|check
| template = [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox sportsperson}}]]
| cat = {{main other|Category:Pages using {{if empty|{{{template_name|}}}|infobox sportsperson}} with conflicting parameters}}
| child; embed
| honorific prefix; honorific_prefix; honorific-prefix; pre-nominals
| honorific suffix; honorific_suffix; honorific-suffix; post-nominals
| image size; image_size; imagesize
| image caption; caption; image_caption
| birth_name; birthname
| full_name; fullname
| national_team; nationality
| resting_place; resting place; restingplace
| resting_place_coordinates; resting place coordinates; restingplacecoordinates
| alma_mater; alma mater
| years_active; years active; yearsactive
| height; height_cm; height_ft
| weight; weight_kg; weight_lb
| parents; father
| parents; mother
| relations; relatives
| module; misc
| universityteam; collegeteam
| former_partner; formerpartner
| module2; misc2
| module3; misc3
}}<noinclude>
{{documentation}}
<!--PLEASE PUT CATEGORIES IN [[Template:Infobox sportsperson/doc]].-->
</noinclude>

نسخهٔ کنونی تا ‏۸ دسامبر ۲۰۲۴، ساعت ۲۰:۳۴