Jump to content

Template:Student infobox: Difference between revisions

From inZOI Wiki
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
 
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
{{#if:{{{grade|}}}|{{!}}-
{{#if:{{{grade|}}}|{{!}}-
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Grade
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Grade
{{!}} style="padding:4px;" {{!}} {{{grade}}}
{{!}} style="padding:4px;" {{!}} [[{{{grade}}}]]
}}
}}
|-
|-
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>
Line 103: Line 103:
<pre>
<pre>
{{Student infobox
{{Student infobox
| student = High School Student
| student = Business Administration University Student in Dowon
| icon = High_School_Student_Icon.png
| icon = Business Administration University Student in Dowon1.png
| city = Dowon
| city = Dowon
| location = North District
| location = Youngsung School
| school = Dowon High School
| school = University of Youngsung
| grade = 10th Grade
| grade = University
| major = General Studies
| major = Business Administration
| hours = 08:00 AM - 03:00 PM
| hours = 10:00AM - 05:00PM, 3 days/week
| days of the week = Monday, Tuesday, Wednesday, Thursday, Friday
| days of the week = Tuesday, Thursday, Friday
| eligible age group = 15-18
| eligible age group = Young Adult
| description = A typical high school student attending Dowon High School, focusing on general education curriculum with opportunities for extracurricular activities.
| description = Dowon Youngsung School provides an optimal learning environment where students can discover their potential and build a strong foundation for endless future possibilities.
}}
}}
</pre>
</pre>


{{Student infobox
{{Student infobox
| student = High School Student
| student = Business Administration University Student in Dowon
| icon = High_School_Student_Icon.png
| icon = Business Administration University Student in Dowon1.png
| city = Dowon
| city = Dowon
| location = North District
| location = Youngsung School
| school = Dowon High School
| school = University of Youngsung
| grade = 10th Grade
| grade = University
| major = General Studies
| major = Business Administration
| hours = 08:00 AM - 03:00 PM
| hours = 10:00AM - 05:00PM, 3 days/week
| days of the week = Monday, Tuesday, Wednesday, Thursday, Friday
| days of the week = Tuesday, Thursday, Friday
| eligible age group = 15-18
| eligible age group = Young Adult
| description = A typical high school student attending Dowon High School, focusing on general education curriculum with opportunities for extracurricular activities.
| description = Dowon Youngsung School provides an optimal learning environment where students can discover their potential and build a strong foundation for endless future possibilities.
}}
}}
</noinclude>
</noinclude>

Latest revision as of 08:54, 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 = Business Administration University Student in Dowon
| icon = Business Administration University Student in Dowon1.png
| city = Dowon
| location = Youngsung School
| school = University of Youngsung
| grade = University
| major = Business Administration
| hours = 10:00AM - 05:00PM, 3 days/week
| days of the week = Tuesday, Thursday, Friday
| eligible age group = Young Adult
| description = Dowon Youngsung School provides an optimal learning environment where students can discover their potential and build a strong foundation for endless future possibilities.
}}


Business Administration University Student in Dowon
City Dowon
Location Youngsung School
School University of Youngsung
Grade University
Major Business Administration
Hours 10:00AM - 05:00PM, 3 days/week
Days of the Week Tuesday, Thursday, Friday
Eligible Age Group Young Adult
Description
Dowon Youngsung School provides an optimal learning environment where students can discover their potential and build a strong foundation for endless future possibilities.

Student infobox is a University student at University of Youngsung studying Business Administration in Dowon in inZOI.