Difference between revisions of "Template:Infobox Job"
Jump to navigation
Jump to search
Njosefbeck (talk | contribs) (Add default image to use when no job class image can be found) |
Njosefbeck (talk | contribs) (Add auto-categorization to template) |
||
| Line 1: | Line 1: | ||
<includeonly>{|class="infobox" | <includeonly>{|class="infobox" | ||
! colspan=2 class="{{#switch: {{{jobType}}} | Novice = novice | First = first | 2-1 | 2-2 = second | Expanded = expanded | no }}-class-bg" | {{PAGENAME}} | ! colspan=2 class="{{#switch: {{{jobType}}} | Novice = novice | First = first | 2-1 | 2-2 = second | Expanded = expanded | no }}-class-bg" | {{PAGENAME}} [[Category:{{PAGENAME}}]] [[Category:Classes]] | ||
|- | |- | ||
| colspan=2 style="text-align: center;" | {{#ifexist: Media:{{PAGENAME}}.png | [[Image:{{PAGENAME}}.png]] | [[Image:No_Job_Image.png]] }} | | colspan=2 style="text-align: center;" | {{#ifexist: Media:{{PAGENAME}}.png | [[Image:{{PAGENAME}}.png]] | [[Image:No_Job_Image.png]] }} | ||
Latest revision as of 14:53, 8 May 2018
| {{PAGENAME}} | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
| Job Base: | {{{jobBase}}} | ||||||||||||
| Job Type: | {{{jobType}}} | ||||||||||||
| Job Bonuses | |||||||||||||
| |||||||||||||
Description
Use this template on any class pages to ensure a consistent look and feel to those pages.
Usage
{{Infobox Job
|jobType=
|jobBase=
|str=0
|agi=0
|vit=0
|int=0
|dex=0
|luk=0
}}
Fields
| Field | Description |
|---|---|
| jobBase | The Job required to change into this Job (e.g. Mage on Sage's page, Novice on Archer's page). 'None' on Novice's page. |
| jobType | The Job type (e.g. First, 2-1, 2-2, Expanded, etc.) |
| 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. |
Credit
The original Infobox Job template comes from this iROWiki template. They have given us permission to use it, and we have modified it to serve our purposes.
