Difference between revisions of "Template:Infobox Job"

From Project Alfheim Wiki
Jump to navigation Jump to search
(Created page with "{|class="navbox mw-collapsible mw-collapsed" style="width:750px; clear:right; font-size:smaller; margin:1em auto;" !colspan=2|''Classes of Ragnarok Online'' |- !Novice Cla...")
 
Line 1: Line 1:
{|class="navbox mw-collapsible mw-collapsed" style="width:750px; clear:right; font-size:smaller; margin:1em auto;"
+
<includeonly>{| class="infobox"
!colspan=2|''[[Classes]] of Ragnarok Online''
+
! colspan=2 style="background:#{{#switch: {{{jobType}}} | Novice = FFFAAF | First = CCCCCC | 2-1 = 33CC66 | 2-2 = 33CC66 | 2-1 Transcendent = 339933 | 2-2 Transcendent = 339933 | 3-1 = F660AB | 3-2 = F660AB | Extended = CCCC66 | CCCCCC }};" | {{PAGENAME}} [[Category:{{PAGENAME}}]] [[Category:Classes]]
 
|-
 
|-
!Novice Class
+
| colspan=2 style="text-align:center;" | [[Image:{{PAGENAME}}.png]]
|[[Novice]]{{-}}[[High Novice]]{{-}}[[Super Novice]]
 
 
|-
 
|-
!First Class /<br/>[[High First Class]]
+
{{#if: {{{jobBase|}}} |
|[[Swordman]]{{-}}[[Thief]]{{-}}[[Archer]]{{-}}[[Mage]]{{-}}[[Merchant]]{{-}}[[Acolyte]]
+
{{!}} style="width:10em;" {{!}} '''Job Base(s):''' {{!}}{{!}} [[{{{jobBase}}}]] [[Category:{{{jobBase}}}]]{{#if: {{{jobBase2|}}} | <br/>[[{{{jobBase2}}}]] [[Category:{{{jobBase2}}}]] }} }}
 
|-
 
|-
!Second Class
+
| '''Job Type:''' || {{{jobType}}}
|[[Knight]]{{-}}[[Crusader]]{{-}}[[Assassin]]{{-}}[[Rogue]]{{-}}[[Hunter]]{{-}}[[Bard]]{{-}}[[Dancer]]{{-}}[[Wizard]]{{-}}[[Sage]]{{-}}[[Blacksmith]]{{-}}[[Alchemist]]{{-}}[[Priest]]{{-}}[[Monk]]
 
 
|-
 
|-
![[Transcendent]] Second Class
+
| '''Job Level:''' || {{{jobLevel}}}
|[[Lord Knight]]{{-}}[[Paladin]]{{-}}[[Assassin Cross]]{{-}}[[Stalker]]{{-}}[[Sniper]]{{-}}[[Minstrel]]{{-}}[[Gypsy]]{{-}}[[High Wizard]]{{-}}[[Scholar]]{{-}}[[Mastersmith]]{{-}}[[Biochemist]]{{-}}[[High Priest]]{{-}}[[Champion]]
 
 
|-
 
|-
!Expanded Class
+
| '''Race:''' || {{{Race}}}
|[[TaeKwon Kid]]{{-}}[[Ninja]]{{-}}[[Gunslinger]]
 
 
|-
 
|-
!Expanded Second Class
+
| '''Changes At:''' || {{{changesAt}}}
|[[Star Gladiator]]{{-}}[[Soul Linker]]
+
|-
|}<noinclude>[[Category:Templates]]</noinclude>
+
| '''Number of Skills:''' || {{{skills}}}
 +
|-
 +
| '''Total Skill Points:''' || {{{skillPoints}}}
 +
|-
 +
| '''Total Quest Skills:''' || {{{questSkills}}}
 +
|-
 +
! colspan=2 style="background:#{{#switch: {{{jobType}}} | Novice = FFFAAF | First = CCCCCC | 2-1 = 33CC66 | 2-2 = 33CC66 | 2-1 Transcendent = 339933 | 2-2 Transcendent = 339933 | 3-1 = F660AB | 3-2 = F660AB | Extended = CCCC66 | CCCCCC }};" | Job Bonuses
 +
|-
 +
| colspan=2 |
 +
{| style="width:100%;"
 +
| '''STR''' || '''AGI''' || '''VIT''' || '''INT''' || '''DEX''' || '''LUK'''
 +
|-
 +
| +{{{str}}} || +{{{agi}}} || +{{{vit}}} || +{{{int}}} || +{{{dex}}} || +{{{luk}}}
 +
|}
 +
|}</includeonly><noinclude>
 +
{| class="infobox"
 +
! colspan=2 style="background:#CCCCCC;"| <nowiki>{{PAGENAME}}</nowiki>
 +
|-
 +
| colspan=2 style="text-align:center; color:red;" | Image:<nowiki>{{PAGENAME}}</nowiki>.png
 +
|-
 +
| style="width:10em;" | '''Job Base(s):''' || {{{jobBase}}}<br>{{{jobBase2}}}
 +
|-
 +
| '''Job Type:''' || {{{jobType}}}
 +
|-
 +
| '''Job Level:''' || {{{jobLevel}}}
 +
|-
 +
| '''Race:''' || {{{Race}}}
 +
|-
 +
| '''Changes At:''' || {{{changesAt}}}
 +
|-
 +
| '''Number of Skills:''' || {{{skills}}}
 +
|-
 +
| '''Total Skill Points:''' || {{{skillPoints}}}
 +
|-
 +
| '''Total Quest Skills:''' || {{{questSkills}}}
 +
|-
 +
! colspan=2 style="background:#CCCCCC;" | Job Bonuses
 +
|-
 +
| colspan=2 |
 +
{| style="width:100%;"
 +
| '''STR''' || '''AGI''' || '''VIT''' || '''INT''' || '''DEX''' || '''LUK'''
 +
|-
 +
| +{{{str}}} || +{{{agi}}} || +{{{vit}}} || +{{{int}}} || +{{{dex}}} || +{{{luk}}}
 +
|}
 +
|}
 +
== Description ==
 +
This template creates an info box for a particular job class to ensure a consistent style across all of the job class pages on the wiki.
 +
 
 +
== Usage ==
 +
<pre>
 +
{{Infobox Job
 +
| jobBase =
 +
| jobBase2 =
 +
| jobType =
 +
| jobLevel =
 +
| Race =
 +
| changesAt =
 +
| skills =
 +
| skillPoints =
 +
| questSkills =
 +
| str =
 +
| agi =
 +
| vit =
 +
| int =
 +
| dex =
 +
| luk =
 +
}}
 +
</pre>
 +
Remember to erase the empty fields.
 +
 
 +
=== Fields ===
 +
{| class="wikitable"
 +
! Field !! Description
 +
|-
 +
! jobBase
 +
| Optional. The Job required to change into this Job (e.g. [[Mage]] on [[Sage]]'s page, [[Novice]] on [[Archer]]'s page)
 +
|-
 +
! jobBase2
 +
| Optional. If there's two Jobs that fit the requirement to change into the job, use both jobBase and jobBase2. Currently only 3rd jobs use this field. (Requires jobBase)
 +
|-
 +
! jobType
 +
| The Job type (e.g. First, 2-1, 2-2 Transcendent, Extended, etc.)
 +
|-
 +
! jobLevel
 +
| The maximum Job level.
 +
|-
 +
! Race
 +
| The race the Job is available to (Human, Doram).
 +
|-
 +
! changesAt
 +
| The place where one becomes this Job Class (e.g. [[Izlude]], [[Prontera]], [[Geffen]], etc.)
 +
|-
 +
! skills
 +
| The total number of skills the Job Class possesses.
 +
|-
 +
! skillPoints
 +
| The total number of skill points required to master the above number of skills.
 +
|-
 +
! questSkills
 +
| The total number of skills the Job Class may obtain by performing a quest.
 +
|-
 +
! str
 +
| The bonus to STR at the maximum Job Level for the Job Class.
 +
|-
 +
! agi
 +
| The bonus to AGI at the maximum Job Level for the Job Class.
 +
|-
 +
! vit
 +
| The bonus to VIT at the maximum Job Level for the Job Class.
 +
|-
 +
! int
 +
| The bonus to INT at the maximum Job Level for the Job Class.
 +
|-
 +
! dex
 +
| The bonus to DEX at the maximum Job Level for the Job Class.
 +
|-
 +
! luk
 +
| The bonus to LUK at the maximum Job Level for the Job Class.
 +
|}
 +
 
 +
[[Category:Templates]]
 +
</noinclude>

Revision as of 12:08, 23 September 2022

{{PAGENAME}}
Image:{{PAGENAME}}.png
Job Base(s): {{{jobBase}}}
{{{jobBase2}}}
Job Type: {{{jobType}}}
Job Level: {{{jobLevel}}}
Race: {{{Race}}}
Changes At: {{{changesAt}}}
Number of Skills: {{{skills}}}
Total Skill Points: {{{skillPoints}}}
Total Quest Skills: {{{questSkills}}}
Job Bonuses
STR AGI VIT INT DEX LUK
+{{{str}}} +{{{agi}}} +{{{vit}}} +{{{int}}} +{{{dex}}} +{{{luk}}}

Description

This template creates an info box for a particular job class to ensure a consistent style across all of the job class pages on the wiki.

Usage

{{Infobox Job
| jobBase = 
| jobBase2 = 
| jobType = 
| jobLevel = 
| Race = 
| changesAt = 
| skills = 
| skillPoints = 
| questSkills = 
| str = 
| agi = 
| vit = 
| int = 
| dex = 
| luk = 
}}

Remember to erase the empty fields.

Fields

Field Description
jobBase Optional. The Job required to change into this Job (e.g. Mage on Sage's page, Novice on Archer's page)
jobBase2 Optional. If there's two Jobs that fit the requirement to change into the job, use both jobBase and jobBase2. Currently only 3rd jobs use this field. (Requires jobBase)
jobType The Job type (e.g. First, 2-1, 2-2 Transcendent, Extended, etc.)
jobLevel The maximum Job level.
Race The race the Job is available to (Human, Doram).
changesAt The place where one becomes this Job Class (e.g. Izlude, Prontera, Geffen, etc.)
skills The total number of skills the Job Class possesses.
skillPoints The total number of skill points required to master the above number of skills.
questSkills The total number of skills the Job Class may obtain by performing a quest.
str The bonus to STR at the maximum Job Level for the Job Class.
agi The bonus to AGI at the maximum Job Level for the Job Class.
vit The bonus to VIT at the maximum Job Level for the Job Class.
int The bonus to INT at the maximum Job Level for the Job Class.
dex The bonus to DEX at the maximum Job Level for the Job Class.
luk The bonus to LUK at the maximum Job Level for the Job Class.