Difference between revisions of "Template:Infobox Job"

From LeikaRO wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{| class="infobox"
+
<includeonly>
! 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]]
+
{|style="background-color: none; color: black; margin-bottom: 0.5em; border: 1px solid #07ACE3; margin-left: 1em; padding: 0.2em;float: right; clear: right;"
 +
| colspan="2" style="background:#{{#switch: {{{jobType}}} | Novice = 74CFED | First = 74CFED | 2-1 = 74CFED | 2-2 = 74CFED | 2-1 Transcendent = 74CFED | 2-2 Transcendent = 74CFED | 3-1 = 74CFED | 3-2 = 74CFED | Extended = 74CFED | 74CFED }};"| <center>'''{{PAGENAME}}'''</center> [[Category:{{PAGENAME}}]] [[Category:Classes]]
 
|-
 
|-
| colspan=2 style="text-align:center;" | [[Image:{{PAGENAME}}.png]]
+
| colspan="2" align="center"| [[Image:{{PAGENAME}}.png]]
 
|-
 
|-
 
{{#if: {{{jobBase|}}} |
 
{{#if: {{{jobBase|}}} |
{{!}} style="width:10em;" {{!}} '''Job Base(s):''' {{!}}{{!}} [[{{{jobBase}}}]] [[Category:{{{jobBase}}}]]{{#if: {{{jobBase2|}}} | <br/>[[{{{jobBase2}}}]] [[Category:{{{jobBase2}}}]] }} }}
+
{{!}}valign="top"{{!}}'''Job Base(s):''' {{!}}{{!}} [[{{{jobBase}}}]] [[Category:{{{jobBase}}}]]{{#if: {{{jobBase2|}}} | <br/> [[{{{jobBase2}}}]] [[Category:{{{jobBase2}}}]] }}
 +
{{!}}-
 +
}}
 +
|'''Job Type:''' || {{{jobType}}}
 
|-
 
|-
| '''Job Type:''' || {{{jobType}}}
+
|'''Changes At:''' || {{{changesAt}}}
 
|-
 
|-
| '''Changes At:''' || {{{changesAt}}}
+
|'''Number of Skills:''' || {{{skills}}}
 
|-
 
|-
| '''Number of Skills:''' || {{{skills}}}
+
|'''Total Skill Points:''' || {{{skillPoints}}}
 
|-
 
|-
| '''Total Skill Points:''' || {{{skillPoints}}}
+
|'''Total Quest Skills:''' || {{{questSkills}}}
 
|-
 
|-
| '''Total Quest Skills:''' || {{{questSkills}}}
+
|colspan="2" style="background:#{{#switch: {{{jobType}}} | Novice = 74CFED | First = 74CFED | 2-1 = 74CFED | 2-2 = 74CFED | 2-1 Transcendent = 74CFED | 2-2 Transcendent = 74CFED | | 3-1 = 74CFED | 3-2 = 74CFED | Extended = 74CFED | 74CFED }};" align="center"| '''Job Bonuses'''
 
|-
 
|-
! 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" align="center"|
 +
{{{!}} style="background-color: white;"
 +
{{!}}'''STR'''{{!}}{{!}}'''AGI'''{{!}}{{!}}'''VIT'''{{!}}{{!}}'''INT'''{{!}}{{!}}'''DEX'''{{!}}{{!}}'''LUK'''
 +
{{!}}-
 +
{{!}} +{{{str}}}{{!}}{{!}} +{{{agi}}}{{!}}{{!}} +{{{vit}}}{{!}}{{!}} +{{{int}}}{{!}}{{!}} +{{{dex}}}{{!}}{{!}} +{{{luk}}}
 +
{{!}}}
 +
|}</includeonly>
 +
<noinclude>
 +
{|style="border: 1px solid #07ACE3; background-color: #ffffff; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em;float: right; clear: right;"
 +
| colspan="2" style="background:#74CFED;"| <center>'''<nowiki>{{PAGENAME}}</nowiki>'''</center>
 
|-
 
|-
| colspan=2 |
+
|colspan="2" align="center"| [[Image:{{PAGENAME}}.png]]
{| style="width:100%;"
+
| '''STR''' || '''AGI''' || '''VIT''' || '''INT''' || '''DEX''' || '''LUK'''
+
 
|-
 
|-
| +{{{str}}} || +{{{agi}}} || +{{{vit}}} || +{{{int}}} || +{{{dex}}} || +{{{luk}}}
+
|valign="top"|'''Job Base(s):''' || {{{jobBase}}}<br>{{{jobBase2}}}
|}
+
|}</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
+
|'''Job Type:''' || {{{jobType}}}
 
|-
 
|-
| style="width:10em;" | '''Job Base(s):''' || {{{jobBase}}}<br>{{{jobBase2}}}
+
|'''Changes At:''' || {{{changesAt}}}
 
|-
 
|-
| '''Job Type:''' || {{{jobType}}}
+
|'''Number of Skills:''' || {{{skills}}}
 
|-
 
|-
| '''Changes At:''' || {{{changesAt}}}
+
|'''Total Skill Points:''' || {{{skillPoints}}}
 
|-
 
|-
| '''Number of Skills:''' || {{{skills}}}
+
|'''Total Quest Skills:''' || {{{questSkills}}}
 
|-
 
|-
| '''Total Skill Points:''' || {{{skillPoints}}}
+
|colspan="2" style="background:#74CFED;" align="center"| '''Job Bonuses'''
 
|-
 
|-
| '''Total Quest Skills:''' || {{{questSkills}}}
+
|colspan="2" align="center"|
 +
 
 +
{{{!}} style="background-color: #ffffff;"
 +
{{!}}'''STR'''{{!}}{{!}}'''AGI'''{{!}}{{!}}'''VIT'''{{!}}{{!}}'''INT'''{{!}}{{!}}'''DEX'''{{!}}{{!}}'''LUK'''
 +
{{!}}-
 +
{{!}} +{{{str}}}{{!}}{{!}} +{{{agi}}}{{!}}{{!}} +{{{vit}}}{{!}}{{!}} +{{{int}}}{{!}}{{!}} +{{{dex}}}{{!}}{{!}} +{{{luk}}}
 +
{{!}}}
 
|-
 
|-
! 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 ==
+
== '''Purpose:''' ==
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.
+
:To create create an infobox for a particular job class to ensure a consistent style across all of the job class pages on the wiki.
  
== Usage ==
+
'''Usage:'''
<pre>
+
:This template accepts the following arguments:
{{Infobox Job
+
*''jobType'': the job type (e.g. First, 2-1, 2-2 Transcendent, Extended, etc.)
| jobBase =
+
*''jobBase'': The job required to change into this job (e.g. Mage on Sage's page, Novice on Archer's page)
| jobBase2 =
+
*''jobBase2'': 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.
| jobType =
+
*''changesAt'': where one becomes this job class (e.g. Izlude, Prontera, Geffen, etc.)
| changesAt =
+
*''skills'': The total number of skills the job class possesses.
| skills =
+
*''skillPoints'': The total number of skill points required to master the above number of skills.
| skillPoints =
+
*''questSkills'': The total number of skills the job class may obtain by performing a quest.
| questSkills =
+
*''str'': The bonus to [[STR]] at the maximum job level for the job class.
| str =
+
*''agi'': The bonus to [[AGI]] at the maximum job level for the job class.
| agi =
+
*''vit'': The bonus to [[VIT]] at the maximum job level for the job class.
| vit =
+
*''int'': The bonus to [[INT]] at the maximum job level for the job class.
| int =
+
*''dex'': The bonus to [[DEX]] at the maximum job level for the job class.
| dex =
+
*''luk'': The bonus to [[LUK]] at the maximum job level for the job class.
| 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.)
 
|-
 
! 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]]
+
[[Category:Templates|Infobox Job]]
 +
 
 
</noinclude>
 
</noinclude>

Revision as of 00:54, 1 December 2014


{{PAGENAME}}
File:Infobox Job.png
Job Base(s): {{{jobBase}}}
{{{jobBase2}}}
Job Type: {{{jobType}}}
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}}}

Purpose:

To create create an infobox for a particular job class to ensure a consistent style across all of the job class pages on the wiki.

Usage:

This template accepts the following arguments:
  • jobType: the job type (e.g. First, 2-1, 2-2 Transcendent, Extended, etc.)
  • jobBase: The job required to change into this job (e.g. Mage on Sage's page, Novice on Archer's page)
  • jobBase2: 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.
  • changesAt: 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.