Difference between pages "Template:Infobox college football player" and "Template:Infobox college football player/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Eagles247
m (Reverted edits by Eagles247 (talk) to last version by Naraht)
 
imported>KolbertBot
m (Bot: HTTP→HTTPS (v477))
 
Line 5: Line 5:
 
| bodystyle  = width: 25em; font-size: 95%;
 
| bodystyle  = width: 25em; font-size: 95%;
  
 +
| titleclass = fn
 
| title      = {{#ifeq:{{Yesno|{{{embed|}}}}}|yes|'''College football career'''|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}
 
| title      = {{#ifeq:{{Yesno|{{{embed|}}}}}|yes|'''College football career'''|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}
| titleclass = fn
 
  
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image| {{#ifeq:{{Yesno|{{{embed|}}}}}|yes|| {{#invoke:Wikidata|claim|P18}} }} }}}|size={{{image_size|}}}|sizedefault=200px|alt={{{alt|}}}}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}} }}}|size={{{image_size|}}}|sizedefault=200px|alt={{{alt|}}}}}
| caption    = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}}
+
| caption    = {{{caption|{{#invoke:Wikidata |getImageLegend}}}}}
 
| captionstyle = font-size: 12px;
 
| captionstyle = font-size: 12px;
  
| headerstyle = {{#ifeq:{{Yesno|{{{embed|}}}}}|yes
+
| headerstyle = {{College stripe style|{{{school}}}}};
  |{{#if:{{{header_background|}}}|background-color:{{{header_background}}}|{{College stripe style|{{{school}}}}} }}
 
  |{{College stripe style|{{{school}}}}}
 
  }}
 
 
| labelstyle  = {{#ifeq:{{Yesno|{{{embed|}}}}}|yes||text-align: right; white-space: nowrap; border-top: 1px solid #ccc;}}
 
| labelstyle  = {{#ifeq:{{Yesno|{{{embed|}}}}}|yes||text-align: right; white-space: nowrap; border-top: 1px solid #ccc;}}
 
| datastyle  = {{#ifeq:{{Yesno|{{{embed|}}}}}|yes||border-top: 1px solid #ccc;}}
 
| datastyle  = {{#ifeq:{{Yesno|{{{embed|}}}}}|yes||border-top: 1px solid #ccc;}}
  
|  header1  = {{#if:{{{school|}}}|{{{school}}}{{#if:{{{currentnumber|}}}|&#32;–&#32;}}}}{{#if:{{{currentnumber|}}}|No.&nbsp;{{{currentnumber|}}}}}
+
|  header1  = {{#if:{{{school|}}}|{{{school}}}{{#if:{{{currentnumber|}}}|&nbsp;}}}} {{#if:{{{currentnumber|}}}|No.&nbsp;{{{currentnumber|}}}}}
 
| rowclass1  = note
 
| rowclass1  = note
 
|  label2  = Position
 
|  label2  = Position
|    data2  = {{{currentposition|{{{position|}}}}}}
+
|    data2  = {{{currentposition|}}}
 
|  class2  = category
 
|  class2  = category
 
|  label3  = Class
 
|  label3  = Class
Line 34: Line 31:
 
|    data6  = {{{pastschools|}}}
 
|    data6  = {{{pastschools|}}}
 
|  class6  = plainlist
 
|  class6  = plainlist
|  label7  = Bowl games
+
|  label7  = [[Bowl game]]s
 
|    data7  = {{{bowlgames|}}}
 
|    data7  = {{{bowlgames|}}}
 
|  class7  = plainlist
 
|  class7  = plainlist
Line 41: Line 38:
  
 
|  header9  = {{#if:{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{heightft|}}}{{{height_ft|}}}{{{heightin|}}}{{{height_in|}}}{{{height_m|}}}{{{weight_lb|}}}{{{weight_lbs|}}}{{{weight|}}}{{{weight_kg|}}}|Personal information}}
 
|  header9  = {{#if:{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{heightft|}}}{{{height_ft|}}}{{{heightin|}}}{{{height_in|}}}{{{height_m|}}}{{{weight_lb|}}}{{{weight_lbs|}}}{{{weight|}}}{{{weight_kg|}}}|Personal information}}
|  label10  = Born:
+
|  label10  = Date of birth
|    data10  = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}
+
|    data10  = {{{birth_date|}}}
label11 = Died:
+
|  label11  = Place of birth
|    data11 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
+
|   data11  = {{{birth_place|}}}
 +
label12 = Date of death
 +
|    data12 = {{{death_date|}}}
 +
|  label13  = Place of death
 +
|   data13  = {{{death_place|}}}
 
|  label14  = Height
 
|  label14  = Height
|    data14  = {{#if:{{{heightft|}}}{{{height_ft|}}}{{{heightin|}}}{{{height_in|}}}{{{height_m|}}}|{{Convinfobox|{{{heightft|{{{height_ft|}}}}}}|ft|{{{heightin|{{{height_in|}}}}}}|in|{{{height_m|}}}|m|{{#if:{{{heightft|}}}{{{height_ft|}}}{{{heightin|}}}{{{height_in|}}}|2}}}}}}
+
|    data14  = {{#if:{{{heightft|}}}{{{height_ft|}}}{{{heightin|}}}{{{height_in|}}}{{{height_m|}}}|{{Convinfobox|{{{heightft|{{{height_ft|}}}}}}|ft|{{{heightin|{{{height_in|}}}}}}|in|{{{height_m|}}}|m}}}}
 
|  label15  = Weight
 
|  label15  = Weight
 
|    data15  = {{#if:{{{weight_lb|}}}{{{weight_lbs|}}}{{{weight|}}}{{{weight_kg|}}}|{{Convinfobox|{{{weight_lb|{{{weight_lbs|{{{weight|}}}}}}}}}|lb|{{{weight_kg}}}|kg|0}}}}
 
|    data15  = {{#if:{{{weight_lb|}}}{{{weight_lbs|}}}{{{weight|}}}{{{weight_kg|}}}|{{Convinfobox|{{{weight_lb|{{{weight_lbs|{{{weight|}}}}}}}}}|lb|{{{weight_kg}}}|kg|0}}}}
 +
  
 
|  header17  = {{#if:{{{highlights|}}}|Career highlights and awards}}
 
|  header17  = {{#if:{{{highlights|}}}|Career highlights and awards}}
Line 54: Line 56:
 
{{{highlights}}}</div>}}
 
{{{highlights}}}</div>}}
  
| data19     = {{#if:{{{CFBHOF_year|}}}|{{Infobox|child=yes|decat=yes
+
| data19     = {{#if:{{{CFBHOF_year|}}}|[[College Football Hall of Fame]] ({{{CFBHOF_year}}})}}
| datastyle = background-color: #193050; font-weight:bold; border:2px solid #A1A7A9
 
| data1      = {{#if:{{{CFBHOF_year|}}}|[[College Football Hall of Fame|{{white|College Football Hall of Fame}}]] {{white|{{#if:{{{CFBHOF_id|}}}|[{{College Football HoF/url|id={{{CFBHOF_id}}}}} ({{{CFBHOF_year}}})]|({{{CFBHOF_year}}})}}}}}}
 
}}}}
 
 
 
| data20      = {{{module|}}}
 
  
 
| belowstyle = font-weight: bold;
 
| belowstyle = font-weight: bold;
| below      = {{Unbulleted list
+
| below      = {{Br separated entries
  | 1 = {{#if: {{{espn|}}}
+
  | 1 = {{#if:{{{espn|}}}|Stats at [http://sports.espn.go.com/ncf/player/profile?playerId={{{espn}}} ESPN.com]}}
      | Stats at [http://www.espn.com/ncf/player/profile?playerId={{{espn}}} ESPN.com]
+
  | 2 = {{#if:{{{cbs|}}}|Stats at [http://www.cbssports.com/collegefootball/players/playerpage/{{{cbs}}} CBSSports.com]}}
      }}
+
  | 3 = {{#if:{{{si|}}}|Stats at [http://sportsillustrated.cnn.com/football/ncaa/players/{{{si}}}/index.html SportsIllustrated.com]}}
  | 2 = {{#if: {{{cbs|}}}
+
  | 4 = {{#if:{{{yahoo|}}}|Stats at [https://sports.yahoo.com/ncaaf/players/{{{yahoo}}} Yahoo.com]}}
      | Stats at [https://www.cbssports.com/collegefootball/players/playerpage/{{{cbs}}} CBSSports.com]
+
  | 5 = {{#if:{{{rivals|}}}|Stats at [https://rivals100.rivals.com/cviewplayer.asp?Player={{{rivals}}} Rivals.com]}}
      }}
 
  | 3 = {{#if: {{{si|}}}
 
      | Stats at [https://www.si.com/college-football/player/{{{si}}} SportsIllustrated.com]
 
      | {{#if: {{{si-archive|}}}
 
        | Stats at [{{{si-archive}}} SportsIllustrated.com] (archive)
 
        }}
 
      }}
 
  | 4 = {{#if: {{{yahoo|}}}
 
      | Stats at [https://sports.yahoo.com/ncaaf/players/{{{yahoo}}} Yahoo.com]
 
      }}
 
  | 5 = {{#if: {{{rivals|}}}
 
      | Stats at [https://n.rivals.com/content/prospects/{{{rivals}}} Rivals.com]
 
      }}
 
 
  }}
 
  }}
 
+
}}<!-- Tracking -->{{main other|{{#ifeq:{{lc:{{{school}}}}} | free agent | [[Category:National Football League free agents]]}}}}<noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox college football player with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox college football player]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | birth_date | birth_place | bowlgames | caption | cbs | CFBHOF_id | CFBHOF_year | class | currentnumber | currentposition | death_date | death_place | embed | espn | header_background | height_ft | height_in | height_m | heightft | heightin | highlights | highschool | image | image_size | major | module | name | pastschools | position | rivals | school | si | si-archive | weight | weight_kg | weight_lb | weight_lbs | yahoo
 
}}{{#if: {{{si|}}}
 
| {{Main other|[[Category:Pages using infobox college football player with "si" parameter]]}}
 
}}{{#if: {{{rivals|}}}
 
| {{Main other|[[Category:Pages using infobox college football player with "rivals" parameter]]}}
 
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>