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={{{SplitName|}}}|then=[https://hdwhite.org/qb/stats/player/{{{SplitName}}}]<br>}}{{{naqtstats|}}}
+
|'''Stats'''||{{if|test={{{SplitName|}}}{{{naqtstats|}}}|then={{if|test={{{SplitName|}}}|then=[https://hdwhite.org/qb/stats/player/{{{SplitName}}}]<br>}}{{{naqtstats|}}}|else=n/a}}
 
|-
 
|-
 
|}
 
|}
Line 46: Line 46:
  
 
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/'.
 
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/'.
 +
 +
{{Infobox
 +
  |Name = Full Name
 +
}}
 +
Minimal box:<pre>{{Infobox
 +
  |Name = Full Name
 +
}}</pre>
 +
 
</noinclude>
 
</noinclude>

Revision as of 12:40, 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/'.


Full Name
Noted Subjects:
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
}}