Difference between revisions of "Template:Infobox"
Kevin Wang (talk | contribs) |
Kevin Wang (talk | contribs) |
||
Line 41: | Line 41: | ||
{{!}}'''Elementary School Team'''{{!!}} {{{elementaryschool}}} | {{!}}'''Elementary School Team'''{{!!}} {{{elementaryschool}}} | ||
{{!-}} | {{!-}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if:{{{forums|}}}| | ||
+ | {{!}}'''Forums Profile{{!!}}{{{forums}}} | ||
}} | }} | ||
|- | |- | ||
Line 91: | Line 95: | ||
|middleschool = middleschool (optional) | |middleschool = middleschool (optional) | ||
|elementaryschool = elementaryschool (optional) | |elementaryschool = elementaryschool (optional) | ||
+ | |forums = forums (optional) | ||
|firstname = Full | |firstname = Full | ||
|lastname = Name | |lastname = Name | ||
Line 104: | Line 109: | ||
|middleschool = middleschool (optional) | |middleschool = middleschool (optional) | ||
|elementaryschool = elementaryschool (optional) | |elementaryschool = elementaryschool (optional) | ||
+ | |forums = forums (optional) | ||
|firstname = Full (optional) | |firstname = Full (optional) | ||
|lastname = Name (optional) | |lastname = Name (optional) | ||
Line 114: | Line 120: | ||
An alternative to ''firstname/lastname'' is {{{1}}}/{{{2}}}, the first two anonymous parameters. All named parameters will take precedence over these anonymous parameters, though. | An alternative to ''firstname/lastname'' is {{{1}}}/{{{2}}}, the first two anonymous parameters. All named parameters will take precedence over these anonymous parameters, though. | ||
− | ''nostats'' removes the entire stats section of the infobox. Using''nostats'' requires setting it to any non-whitespace value (e.g. not " " or ""). | + | ''nostats'' removes the entire stats section of the infobox. Using ''nostats'' requires setting it to any non-whitespace value (e.g. not " " or ""). |
{{Infobox | {{Infobox |
Revision as of 08:28, 20 April 2021
Full Name | |
200px | |
---|---|
Noted Subjects: Subjects (optional) | |
Current Collegiate Team | schoolcur (optional) |
Past Collegiate Teams | schoolpast (optional) |
High School Team | highschool (optional) |
Middle School Team | middleschool (optional) |
Elementary School Team | elementaryschool (optional) |
Forums Profile | forums (optional) |
Stats |
HDWhite |
Usage:
{{Infobox |Name = Full Name |Image = Image (optional) |Subjects = Subjects (optional) |schoolcur = schoolcur (optional) |schoolpast = schoolpast (optional) |highschool = highschool (optional) |middleschool = middleschool (optional) |elementaryschool = elementaryschool (optional) |forums = forums (optional) |firstname = Full (optional) |lastname = Name (optional) |naqtstats = naqtstats (optional) |nostats = optional }}
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.
An alternative to firstname/lastname is {{{1}}}/{{{2}}}, the first two anonymous parameters. All named parameters will take precedence over these anonymous parameters, though.
nostats removes the entire stats section of the infobox. Using nostats requires setting it to any non-whitespace value (e.g. not " " or "").
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
Minimal box:
{{Infobox |Name = Full Name }}
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
Box with firstname/lastname but no naqtstats:
{{Infobox |Name = Full Name |firstname = Full |lastname = Name }}
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
HDWhite |
Box with naqtstats but no firstname/lastname:
{{Infobox |Name = Full Name |naqtstats = naqtstats }}
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
Box with full name passed in anonymous parameters.
{{Infobox |Full|Name }}
Full Middle Initials Name | |
Noted Subjects: n/a | |
---|---|
Stats |
Box with full name + middle name passed in anonymous parameters.
{{Infobox |Full|Middle Initials|Name }}
Explicitly specified full name | |
Noted Subjects: n/a | |
---|---|
Stats |
Box with full name passed in anonymous parameters and also manually specified.
{{Infobox |Name=Explicitly specified full name |Full|Name }}
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
HDWhite |
Box with full name passed in anonymous parameters and naqtstats.
{{Infobox |Full|Name |naqtstats = naqtstats }}
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
stats |
Box with full name passed in anonymous parameters and stats.
{{Infobox |Full|Name |naqtstats = naqtstats }}