Difference between revisions of "Template:Infobox"

From QBWiki
Jump to navigation Jump to search
Line 17: Line 17:
 
|'''Middle School Team'''|| {{{middleschool|None}}}
 
|'''Middle School Team'''|| {{{middleschool|None}}}
 
|-
 
|-
|'''Stats'''||{{if|test={{{firstname|}}}{{{lastname|}}}{{{naqtstats|}}}|then={{if|test={{{firstname|}}}{{{lastname|}}}|then=[https://hdwhite.org/qb/stats/player/{{{firstname}}}+{{{lastname}}}]<br>}}{{if|test={{{naqtstats|}}}|then={{{naqtstats}}}|else=[https://www.naqt.com/stats/player/search.jsp?PASSBACK=PLAYER_SEARCH&first_name={{{firstname}}}&last_name={{{lastname}}}}}|else=n/a}}
+
|'''Stats'''||{{if|test={{{firstname|}}}{{{lastname|}}}{{{naqtstats|}}}|then={{if|test={{{firstname|}}}{{{lastname|}}}|then=[https://hdwhite.org/qb/stats/player/{{{firstname}}}+{{{lastname}}} HDWhite]<br>}}{{if|test={{{naqtstats|}}}|then={{{naqtstats}}}|else=[https://www.naqt.com/stats/player/search.jsp?PASSBACK=PLAYER_SEARCH&first_name={{{firstname}}}&last_name={{{lastname}}} NAQT page]}}|else=n/a}}
 
|-
 
|-
 
|}
 
|}

Revision as of 12:16, 19 December 2020


Full Name
Noted Subjects:
Subjects
Current Collegiate Team schoolcur
Past Collegiate Teams schoolpast
High School Team highschool
Middle School Team middleschool
Stats HDWhite
naqtstats

Usage:

{{Infobox
  |Name = Full Name
  |Image =
  |Subjects = Subjects
  |schoolcur = schoolcur
  |schoolpast = schoolpast
  |highschool = highschool
  |middleschool = middleschool
  |firstname = Full
  |lastname = Name
  |naqtstats = naqtstats
}}

firstname and lastname should be their first and last name as it appears in stats and is used to look up the name on HDWhite. If an explicit link to naqt stats is not provided via naqtstats, it will use the firstname and lastname to search them up on NAQT's player search.


Full Name
Noted Subjects:
n/a
Current Collegiate Team None
Past Collegiate Teams None
High School Team None
Middle School Team None
Stats n/a

Minimal box:

{{Infobox
  |Name = Full Name
}}