Difference between pages "Template:Infobox NFL biography" and "Template:Infobox NFL biography/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Muboshgu
 
imported>Goszei
 
Line 2: Line 2:
 
| child      = {{lc:{{{embed|}}}}}
 
| child      = {{lc:{{{embed|}}}}}
 
| bodyclass  = vcard
 
| bodyclass  = vcard
| bodystyle  = width: 25em; font-size: 95%; line-height: 1.2em;
 
  
 
| headerstyle = line-height: 1.5em; {{#switch:{{lc:{{{current_team|{{{currentteam|}}}}}}}}
 
| headerstyle = line-height: 1.5em; {{#switch:{{lc:{{{current_team|{{{currentteam|}}}}}}}}
Line 77: Line 76:
 
  | data2      = {{{pastteams|{{{teams|}}}}}}
 
  | data2      = {{{pastteams|{{{teams|}}}}}}
 
  | data3      = {{#if:{{#invoke:String |match |s=_{{{pastteams|}}}{{{teams|}}}|pattern=%)%* |plain=false |nomatch=}} | {{Pad|1.5em}}* Offseason and/or practice squad member only}}
 
  | data3      = {{#if:{{#invoke:String |match |s=_{{{pastteams|}}}{{{teams|}}}|pattern=%)%* |plain=false |nomatch=}} | {{Pad|1.5em}}* Offseason and/or practice squad member only}}
  | rowstyle3  = color: #555;
+
  | rowstyle3  = font-size: 90%; color: #555;
 
  | header4    = {{#if:{{{pastcoaching|}}}|As coach:}}
 
  | header4    = {{#if:{{{pastcoaching|}}}|As coach:}}
 
  | data5      = {{{pastcoaching|}}}
 
  | data5      = {{{pastcoaching|}}}
Line 123: Line 122:
 
| label8 = {{{statlabel8}}}:
 
| label8 = {{{statlabel8}}}:
 
|  data8 = {{#if:{{{statlabel8|}}}|{{{statvalue8|}}}}}
 
|  data8 = {{#if:{{{statlabel8|}}}|{{{statvalue8|}}}}}
|  data9 = {{#if: {{{nflwd|{{{nfl-wd|}}}}}}
+
}} }}
          | Player stats at '''[http://www.nfl.com/player/wd/{{{nflwd|{{{nfl-wd}}}}}}/stats/ NFL.com]'''
 
          | {{#if: {{{nflnew|{{{nfl-new|}}}}}}
 
          | Player stats at '''[http://www.nfl.com/players/{{{nflnew|{{{nfl-new}}}}}}/stats/ NFL.com]'''
 
          | {{#if: {{{nfl|}}} | Player stats at '''[http://www.nfl.com/players/{{{nfl}}}/stats/ NFL.com]'''
 
          | {{#if: {{#property:P3539}} | Player stats at '''[http://www.nfl.com/player/wd/{{#property:P3539}}/stats/ NFL.com]'''{{EditAtWikidata|pid=P3539}}}}
 
          }}
 
}} }} }} }}
 
  
 
| header35 = {{#if:{{Both|{{{cflstatlabel1|}}}|{{{cflstatvalue1|}}}}}{{Both|{{{cflstatlabel2|}}}|{{{cflstatvalue2|}}}}}{{Both|{{{cflstatlabel3|}}}|{{{cflstatvalue3|}}}}}{{Both|{{{cflstatlabel4|}}}|{{{cflstatvalue4|}}}}}{{Both|{{{cflstatlabel5|}}}|{{{cflstatvalue5|}}}}}
 
| header35 = {{#if:{{Both|{{{cflstatlabel1|}}}|{{{cflstatvalue1|}}}}}{{Both|{{{cflstatlabel2|}}}|{{{cflstatvalue2|}}}}}{{Both|{{{cflstatlabel3|}}}|{{{cflstatvalue3|}}}}}{{Both|{{{cflstatlabel4|}}}|{{{cflstatvalue4|}}}}}{{Both|{{{cflstatlabel5|}}}|{{{cflstatvalue5|}}}}}
Line 173: Line 165:
 
| belowstyle = border-top: 1px solid #ccc;
 
| belowstyle = border-top: 1px solid #ccc;
 
| below = {{Infobox|child=yes|decat=yes
 
| below = {{Infobox|child=yes|decat=yes
  | data1 = {{#if: {{{pfr|}}}<!--
+
  | data1 = {{#if: {{{nflwd|{{{nfl-wd|{{{nflnew|{{{nfl-new|{{{nfl|{{{pfr|{{{cfl|{{{cfl-archive|{{{afl|}}}}}}}}}}}}}}}}}}}}}}}}}}}
 +
          | Player stats at {{#if: {{{nflwd|{{{nfl-wd|{{{nflnew|{{{nfl-new|{{{nfl|}}}}}}}}}}}}}}}| '''[http://www.nfl.com/players/{{{nflwd|{{{nfl-wd|{{{nflnew|{{{nfl|}}}}}}}}}}}}/stats/ NFL.com]'''}}{{#if: {{#property:P3539}} | '''[https://www.nfl.com/players/{{#property:P3539}}/stats NFL.com]'''{{EditAtWikidata|pid=P3539}}}}{{ #if: {{{pfr|}}} |  &nbsp;·&nbsp; | {{ #if: {{{cfl|}}} | &nbsp;·&nbsp; | {{ #if: {{{afl|}}} | &nbsp;·&nbsp; | }}}}}}{{#if: {{{pfr|}}}<!--
 
           The string replacement function for the Pro-Football-Reference.com link display is intended to ensure that
 
           The string replacement function for the Pro-Football-Reference.com link display is intended to ensure that
 
           the URL contains the first letter of the player last name followed by a slash and then the rest of the player
 
           the URL contains the first letter of the player last name followed by a slash and then the rest of the player
Line 179: Line 172:
 
           "A/AvenJo20" would be left unchanged. This change avoids a situation where the Pro-Football-Reference.com site
 
           "A/AvenJo20" would be left unchanged. This change avoids a situation where the Pro-Football-Reference.com site
 
           generates a series of redirects between HTTP and HTTPS resources. -->
 
           generates a series of redirects between HTTP and HTTPS resources. -->
           | Player stats at '''[https://www.pro-football-reference.com/players/{{#invoke:String|replace|source={{{pfr}}}|pattern=^(%u)(%a)|replace=%1/%1%2|count=1|plain=false}}.htm PFR]''' }}
+
           | '''[https://www.pro-football-reference.com/players/{{#invoke:String|replace|source={{{pfr}}}|pattern=^(%u)(%a)|replace=%1/%1%2|count=1|plain=false}}.htm PFR]''' }}{{ #if: {{{cfl|}}} | &nbsp;·&nbsp; | {{ #if: {{{afl|}}} | &nbsp;·&nbsp; | }}}}{{ #if: {{{cfl|}}} | {{#if: {{isnumeric|{{{cfl|text}}}}} | <!-- don't display dead links --> | '''[https://www.cfl.ca/players/{{{cfl}}} CFL.ca]''' }}{{#if: {{{cfl-archive|}}} | '''[{{{cfl-archive}}} CFL.ca]''' (archive) }}{{ #if: {{{afl|}}} | &nbsp;·&nbsp; '''[http://www.arenafan.com/players/{{{afl}}}/ ArenaFan.com]'''}}}}}}
 
  | data2 = {{#if: {{{pfrcoach|}}}
 
  | data2 = {{#if: {{{pfrcoach|}}}
 
           | Coaching stats at '''[https://www.pro-football-reference.com/coaches/{{{pfrcoach}}}.htm PFR]''' }}
 
           | Coaching stats at '''[https://www.pro-football-reference.com/coaches/{{{pfrcoach}}}.htm PFR]''' }}
  | data3 = {{#if: {{{cfl|}}}
+
  | data3 = {{#if: {{{HOF|}}}
          | {{#if: {{isnumeric|{{{cfl|text}}}}} | <!--don't display dead links --> | Player stats at '''[https://www.cfl.ca/players/{{{cfl}}} CFL.ca]''' }}
 
          | {{#if: {{{cfl-archive|}}} | Player stats at '''[{{{cfl-archive}}} CFL.ca]''' (archive) }}
 
          }}
 
| data4 = {{#if:{{{afl|}}}
 
          | Player stats at '''[http://www.arenafan.com/players/{{{afl}}}/ ArenaFan.com]''' }}
 
| data5 = {{#if: {{{HOF|}}}
 
 
           | <div style="background-color: #ffbb00;">'''[http://www.profootballhof.com/players/{{{HOF}}} Pro Football Hall of Fame]'''</div> }}
 
           | <div style="background-color: #ffbb00;">'''[http://www.profootballhof.com/players/{{{HOF}}} Pro Football Hall of Fame]'''</div> }}
  | data6 = {{#if: {{{CollegeHOF|}}}
+
  | data4 = {{#if: {{{CollegeHOF|}}}
 
           | <div style="background-color: #ffbb00;">'''[{{College Football HoF/url|id={{{CollegeHOF}}}}} College Football Hall of Fame]'''</div> }}
 
           | <div style="background-color: #ffbb00;">'''[{{College Football HoF/url|id={{{CollegeHOF}}}}} College Football Hall of Fame]'''</div> }}
  | data7 = {{#if: {{{CFHOF|}}}
+
  | data5 = {{#if: {{{CFHOF|}}}
 
           | <div style="background-color: #ffbb00;">'''[http://www.cfhof.ca/members/{{{CFHOF}}}/ Canadian Football Hall of Fame]'''</div>
 
           | <div style="background-color: #ffbb00;">'''[http://www.cfhof.ca/members/{{{CFHOF}}}/ Canadian Football Hall of Fame]'''</div>
 
           }}
 
           }}
Line 213: Line 200:
 
|Denver Broncos =[[Category:Denver Broncos currentteam parameter articles]]
 
|Denver Broncos =[[Category:Denver Broncos currentteam parameter articles]]
 
|Kansas City Chiefs =[[Category:Kansas City Chiefs currentteam parameter articles]]
 
|Kansas City Chiefs =[[Category:Kansas City Chiefs currentteam parameter articles]]
|Las Vegas Raiders =[[Category:Las Vegas Raiders currentteam parameter articles]]
+
|Oakland Raiders =[[Category:Oakland Raiders currentteam parameter articles]]
|Los Angeles Chargers =[[Category:Los Angeles Chargers currentteam parameter articles]]
+
|San Diego Chargers =[[Category:San Diego Chargers currentteam parameter articles]]
 
|Dallas Cowboys =[[Category:Dallas Cowboys currentteam parameter articles]]
 
|Dallas Cowboys =[[Category:Dallas Cowboys currentteam parameter articles]]
 
|New York Giants =[[Category:New York Giants currentteam parameter articles]]
 
|New York Giants =[[Category:New York Giants currentteam parameter articles]]
Line 231: Line 218:
 
|San Francisco 49ers =[[Category:San Francisco 49ers currentteam parameter articles]]
 
|San Francisco 49ers =[[Category:San Francisco 49ers currentteam parameter articles]]
 
|Seattle Seahawks =[[Category:Seattle Seahawks currentteam parameter articles]]
 
|Seattle Seahawks =[[Category:Seattle Seahawks currentteam parameter articles]]
|Alabama Vipers
 
|Albany Empire
 
|Atlantic City Blackjacks
 
|Austin Wranglers
 
|Baltimore Brigade
 
|Bossier–Shreveport Battle Wings
 
|Chicago Rush
 
|Colorado Crush
 
|Columbus Destroyers
 
|Dallas Desperados
 
|Dallas Vigilantes
 
|Detroit Fury
 
|Georgia Force
 
|Grand Rapids Rampage
 
|Indiana Firebirds
 
|Kansas City Brigade
 
|Kansas City Command
 
|Las Vegas Outlaws
 
|Los Angeles Avengers
 
|Los Angeles Kiss
 
|Milwaukee Iron
 
|Milwaukee Mustangs
 
|Nashville Kats
 
|New Orleans VooDoo
 
|New York Dragons
 
|Oklahoma City Yard Dawgz
 
|Philadelphia Soul
 
|Pittsburgh Power
 
|Portland Steel
 
|Portland Thunder
 
|San Antonio Talons
 
|San Jose SaberCats
 
|Tampa Bay Storm
 
|Toronto Phantoms
 
|Utah Blaze
 
|Washington Valor
 
|Arizona Hotshots
 
|Atlanta Legends
 
|Birmingham Iron
 
|Memphis Express
 
|Orlando Apollos
 
|Salt Lake Stallions
 
|San Antonio Commanders
 
|San Diego Fleet =[[Category:Infobox NFL biography defunct leagues currentteam parameter articles]]
 
|Carolina Cobras
 
|Columbus Lions
 
|Jacksonville Sharks
 
|Jersey Flight
 
|Massachusetts Pirates
 
|Orlando Predators
 
|West Virginia Roughriders =[[Category:National Arena League currentteam parameter articles]]
 
|Arizona Rattlers
 
|Bismarck Bucks
 
|Cedar Rapids River Kings
 
|Duke City Gladiators
 
|Green Bay Blizzard
 
|Iowa Barnstormers
 
|Oakland Panthers
 
|Quad City Steamwheelers
 
|San Diego Strike Force
 
|Sioux Falls Storm
 
|Spokane Shock
 
|Tucson Sugar Skulls =[[Category:Indoor Football League currentteam parameter articles]]
 
 
|Free Agent
 
|Free Agent
 
|Free agent
 
|Free agent
Line 324: Line 248:
 
}}{{#if:{{isnumeric|{{{cfl|text}}}}}|[[Category:Pages using infobox NFL biography with invalid cfl parameter]]
 
}}{{#if:{{isnumeric|{{{cfl|text}}}}}|[[Category:Pages using infobox NFL biography with invalid cfl parameter]]
 
}}{{#if:{{{image|}}}|{{#if:{{{alt|}}}||{{#if:{{{caption|}}}|[[Category:Infobox NFL biography articles missing alt text]]|[[Category:Infobox NFL biography articles missing alt text and caption]]}} }}  
 
}}{{#if:{{{image|}}}|{{#if:{{{alt|}}}||{{#if:{{{caption|}}}|[[Category:Infobox NFL biography articles missing alt text]]|[[Category:Infobox NFL biography articles missing alt text and caption]]}} }}  
}}{{#if:{{#invoke:String |match |s=_{{{nfl|}}}{{{nflnew|}}}{{{nfl-new|}}}{{{nfl-wd|}}} |pattern=%d+ |plain=false |nomatch=}} | [[Category:Infobox NFL biography articles with old NFL.com URL]]
 
 
}}{{#if:{{#invoke:String |match |s=_{{{pastteams|}}}{{{teams|}}}{{{pastcoaching|}}}{{{pastexecutive|}}}{{{pastadmin|}}} |pattern=small |plain=false |nomatch=}} | [[Category:Infobox NFL biography articles with small text]]  
 
}}{{#if:{{#invoke:String |match |s=_{{{pastteams|}}}{{{teams|}}}{{{pastcoaching|}}}{{{pastexecutive|}}}{{{pastadmin|}}} |pattern=small |plain=false |nomatch=}} | [[Category:Infobox NFL biography articles with small text]]  
 
}}{{#if:{{#invoke:String |match |s=_{{{pastteams|}}}{{{teams|}}}|pattern=%<%s*br |plain=false |nomatch=}} | [[Category:Infobox NFL biography articles with line breaks]]  
 
}}{{#if:{{#invoke:String |match |s=_{{{pastteams|}}}{{{teams|}}}|pattern=%<%s*br |plain=false |nomatch=}} | [[Category:Infobox NFL biography articles with line breaks]]  
Line 331: Line 254:
 
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox NFL biography with unsupported parameters|_VALUE_{{PAGENAME}}]]|preview = Page using [[Template:Infobox NFL biography]] with unknown parameter "_VALUE_"
 
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox NFL biography with unsupported parameters|_VALUE_{{PAGENAME}}]]|preview = Page using [[Template:Infobox NFL biography]] with unknown parameter "_VALUE_"
 
| embed | name | image | image_size | alt | caption| current_team | currentteam | number | position | birth_date | birth_place | death_date | death_place | height_ft | height_in | weight_lbs | weight_lb | high_school | college | cis | draftyear | suppdraftyear | cfldraftyear | afldraftyear | undraftedyear | expansiondraftyear | draftround | draftpick | suppdraftround | cfldraftround | cfldraftpick | afldraftround | afldraftpick | expansiondraftround | expansiondraftpick | pastteams | teams | pastcoaching | pastexecutive | pastadmin | status | cflstatus | pastteamsnote | highlights | statlabel1 | statvalue1 | statlabel2 | statvalue2 | statlabel3 | statvalue3 | statlabel4 | statvalue4 | statlabel5 | statvalue5 | statlabel6 | statvalue6 | statlabel7 | statvalue7 | statlabel8 | statvalue8 | nfl | nflnew | nfl-new | nflwd | nfl-wd | statleague | statseason | statweek | cflstatlabel1 | cflstatvalue1 | cflstatlabel2 | cflstatvalue2 | cflstatlabel3 | cflstatvalue3 | cflstatlabel4 | cflstatvalue4 | cflstatlabel5 | cflstatvalue5 | cflstatseason | aflstatlabel1 | aflstatvalue1 | aflstatlabel2 | aflstatvalue2 | aflstatlabel3 | aflstatvalue3 | aflstatlabel4 | aflstatvalue4 | aflstatlabel5 | aflstatvalue5 | aflstatseason | regular_record | coachregrecord | playoff_record | coachplayoffrecord | overall_record | coachrecord | pfr | pfrcoach | cfl | cfl-archive | afl | HOF | CollegeHOF | CFHOF }}
 
| embed | name | image | image_size | alt | caption| current_team | currentteam | number | position | birth_date | birth_place | death_date | death_place | height_ft | height_in | weight_lbs | weight_lb | high_school | college | cis | draftyear | suppdraftyear | cfldraftyear | afldraftyear | undraftedyear | expansiondraftyear | draftround | draftpick | suppdraftround | cfldraftround | cfldraftpick | afldraftround | afldraftpick | expansiondraftround | expansiondraftpick | pastteams | teams | pastcoaching | pastexecutive | pastadmin | status | cflstatus | pastteamsnote | highlights | statlabel1 | statvalue1 | statlabel2 | statvalue2 | statlabel3 | statvalue3 | statlabel4 | statvalue4 | statlabel5 | statvalue5 | statlabel6 | statvalue6 | statlabel7 | statvalue7 | statlabel8 | statvalue8 | nfl | nflnew | nfl-new | nflwd | nfl-wd | statleague | statseason | statweek | cflstatlabel1 | cflstatvalue1 | cflstatlabel2 | cflstatvalue2 | cflstatlabel3 | cflstatvalue3 | cflstatlabel4 | cflstatvalue4 | cflstatlabel5 | cflstatvalue5 | cflstatseason | aflstatlabel1 | aflstatvalue1 | aflstatlabel2 | aflstatvalue2 | aflstatlabel3 | aflstatvalue3 | aflstatlabel4 | aflstatvalue4 | aflstatlabel5 | aflstatvalue5 | aflstatseason | regular_record | coachregrecord | playoff_record | coachplayoffrecord | overall_record | coachrecord | pfr | pfrcoach | cfl | cfl-archive | afl | HOF | CollegeHOF | CFHOF }}
}}<!--
+
}}<noinclude>
  Tracking category
 
-->{{#if:{{{pastadmin|}}}|[[Category:Infobox NFL biography articles with pastadmin parameter used]]}}<noinclude>
 
 
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
 
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>