Difference between revisions of "Template:Infobox"

From QBWiki
Jump to navigation Jump to search
Line 16: Line 16:
 
|-
 
|-
 
|'''Middle School Team'''|| {{{middleschool|None}}}
 
|'''Middle School Team'''|| {{{middleschool|None}}}
 +
|-
 +
|'''Stats'''|| {{if|test={{{SplitName|}}}|then=[https://hdwhite.org/qb/stats/player/{{{SplitName}}}]<br>}}{{{naqtstats|}}}
 
|-
 
|-
 
|}
 
|}
Line 21: Line 23:
 
<noinclude>
 
<noinclude>
 
{{Infobox
 
{{Infobox
   |Name = Name
+
   |Name = Full Name
 
   |Image =
 
   |Image =
 
   |Subjects = Subjects
 
   |Subjects = Subjects
Line 28: Line 30:
 
   |highschool = highschool
 
   |highschool = highschool
 
   |middleschool = middleschool
 
   |middleschool = middleschool
 +
  |SplitName = Full+Name
 +
  |naqtstats = naqtstats
 
}}
 
}}
 
Usage:<pre>{{Infobox
 
Usage:<pre>{{Infobox
   |Name = Name
+
   |Name = Full Name
   |Image = Image, formatted to 200px (optional)
+
   |Image =
 
   |Subjects = Subjects
 
   |Subjects = Subjects
 
   |schoolcur = schoolcur
 
   |schoolcur = schoolcur
Line 37: Line 41:
 
   |highschool = highschool
 
   |highschool = highschool
 
   |middleschool = middleschool
 
   |middleschool = middleschool
 +
  |SplitName = Full+Name
 +
  |naqtstats = naqtstats
 
}}</pre>
 
}}</pre>
 +
 +
SplitName should be their name as it appears in stats, formatted with +'s in place of spaces so as to be appended to 'hdwhite.org/qb/stats/player/'.
 
</noinclude>
 
</noinclude>

Revision as of 12:35, 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 [1]
naqtstats

Usage:

{{Infobox
  |Name = Full Name
  |Image =
  |Subjects = Subjects
  |schoolcur = schoolcur
  |schoolpast = schoolpast
  |highschool = highschool
  |middleschool = middleschool
  |SplitName = Full+Name
  |naqtstats = naqtstats
}}

SplitName should be their name as it appears in stats, formatted with +'s in place of spaces so as to be appended to 'hdwhite.org/qb/stats/player/'.