Template:Student infobox: Difference between revisions
Appearance
Created page with "<includeonly> {| class="infobox" style="font-size:90%; border:1px solid #aaa; background:#fff;" |- ! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{student}}} |- | colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|350px]] |- {{#if:{{{city|}}}|{{!}}- ! style="background:#ececec; text-align:left; padding:4px;" {{!}} City {{!}} style="padding:4px;" {{!}} [[{{{city}}}]] }} |- {{#if:{{{location|}..." |
No edit summary |
||
Line 43: | Line 43: | ||
{{#if:{{{eligible age group|}}}|{{!}}- | {{#if:{{{eligible age group|}}}|{{!}}- | ||
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Eligible Age Group | ! style="background:#ececec; text-align:left; padding:4px;" {{!}} Eligible Age Group | ||
{{!}} style="padding:4px;" {{!}} {{{eligible age group}}} | {{!}} style="padding:4px;" {{!}} {{#arraymap:{{{eligible age group}}}|,|x|[[x]]}} | ||
}} | }} | ||
|- | |- | ||
Line 51: | Line 51: | ||
|- | |- | ||
|} | |} | ||
[[{{PAGENAME}}]] is a student at [[{{{school|}}}]] in [[{{{city|}}}]] in [[inZOI]]. | [[{{PAGENAME}}]] is a [[{{{grade}}}]] [[student]] at [[{{{school|}}}]] studying [[{{{major}}}]] in [[{{{city|}}}]] in [[inZOI]]. | ||
<div style="display:none;"> | <div style="display:none;"> | ||
{{#set:Student={{{student|}}} }} | {{#set:Student={{{student|}}} }} | ||
Line 62: | Line 62: | ||
{{#set:Hours={{{hours|}}} }} | {{#set:Hours={{{hours|}}} }} | ||
{{#set:Days of the Week={{{days of the week|}}} |+sep}} | {{#set:Days of the Week={{{days of the week|}}} |+sep}} | ||
{{#set:Eligible Age Group={{{eligible age group|}}} }} | {{#set:Eligible Age Group={{{eligible age group|}}} |+sep}} | ||
{{#set:Description={{{description|}}} }} | {{#set:Description={{{description|}}} }} | ||
</div> | </div> |
Revision as of 08:09, 31 March 2025
This template creates an infobox for Students in *inZOI* with Semantic MediaWiki annotations. Rows are only displayed if their corresponding parameters are filled.
Parameters
- student - Name of the student
- icon - Filename for the student's icon (e.g., Student_Icon.png)
- city - City where the student is located (e.g., Dowon)
- location - Specific location within the city
- school - Name of the school the student attends
- grade - Current grade level of the student
- major - Field of study or major
- hours - Study hours (e.g., 08:00 AM - 03:00 PM)
- days of the week - Days when the student attends school
- eligible age group - Age group eligible for this student status
- description - Brief description of the student or student program
Usage
{{Student infobox | student = | icon = | city = | location = | school = | grade = | major = | hours = | days of the week = | eligible age group = | description = }}
Example Usage
{{Student infobox | student = High School Student | icon = High_School_Student_Icon.png | city = Dowon | location = North District | school = Dowon High School | grade = 10th Grade | major = General Studies | hours = 08:00 AM - 03:00 PM | days of the week = Monday, Tuesday, Wednesday, Thursday, Friday | eligible age group = 15-18 | description = A typical high school student attending Dowon High School, focusing on general education curriculum with opportunities for extracurricular activities. }}
High School Student | |
---|---|
File:High School Student Icon.png | |
City | Dowon |
Location | North District |
School | Dowon High School |
Grade | 10th Grade |
Major | General Studies |
Hours | 08:00 AM - 03:00 PM |
Days of the Week | Monday, Tuesday, Wednesday, Thursday, Friday |
Eligible Age Group | 15-18 |
Description | |
A typical high school student attending Dowon High School, focusing on general education curriculum with opportunities for extracurricular activities. |
Student infobox is a 10th Grade student at Dowon High School studying General Studies in Dowon in inZOI.