Vorlage:Infobox Job: Unterschied zwischen den Versionen

Aus NyanWiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>{|style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em;float: right; clear: right;"
<includeonly>{|style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em;float: right; clear: right;"
| colspan="6" style="background:#{{#switch: {{{jobType}}} | Novice = FFFAAF | First = CCCCCC | 2-1 = 33CC66 | 2-2 = 33CC66 | 2-1 Transcendent = 339933 | 2-2 Transcendent = 339933 | Extended = CCCC66 | 99FFFF }};"| <center>'''{{PAGENAME}}'''</center> [[Category:{{PAGENAME}}]] [[Category:Classes]]
! 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]]
|-
|-
|colspan="6" align="center"| [[Image:{{PAGENAME}}.png]]
| colspan=2 style="text-align:center;" | [[Image:{{PAGENAME}}.png]]
|-
|-
{{#if: {{{jobBase|}}} |
{{#if: {{{jobBase|}}} |
{{!}}colspan="3"{{!}}'''Job Base:''' {{!}}{{!}}colspan="3"{{!}} [[{{{jobBase}}}]] [[Category:{{{jobBase}}}]]
{{!}} style="width:10em;" {{!}} '''Job Base(s):''' {{!}}{{!}} [[{{{jobBase}}}]] [[Category:{{{jobBase}}}]]{{#if: {{{jobBase2|}}} | <br/>[[{{{jobBase2}}}]] [[Category:{{{jobBase2}}}]] }} }}
{{!}}-
|-
}}
| '''Job Type:''' || {{{jobType}}}
| '''Job Type:''' || {{{jobType}}}
|-
|-
Zeile 22: Zeile 21:
| '''Total Quest Skills:''' || {{{questSkills}}}
| '''Total Quest Skills:''' || {{{questSkills}}}
|-
|-
|colspan="6" style="background:#{{#switch: {{{jobType}}} | Novice = FFFAAF | First = CCCCCC | 2-1 = 33CC66 | 2-2 = 33CC66 | 2-1 Transcendent = 339933 | 2-2 Transcendent = 339933 | Extended = CCCC66 | 99FFFF }};" 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
|-
|-
|'''STR'''||'''AGI'''||'''VIT'''||'''INT'''||'''DEX'''||'''LUK'''
| colspan=2 |
{| style="width:100%;"
| '''STR''' || '''AGI''' || '''VIT''' || '''INT''' || '''DEX''' || '''LUK'''
|-
|-
| +{{{str}}}|| +{{{agi}}}|| +{{{vit}}}|| +{{{int}}}|| +{{{dex}}}|| +{{{luk}}}
| +{{{str}}} || +{{{agi}}} || +{{{vit}}} || +{{{int}}} || +{{{dex}}} || +{{{luk}}}
|}
|}</includeonly><noinclude>
{| class="infobox"
! colspan=2 style="background:#CCCCCC;"| <nowiki>{{PAGENAME}}</nowiki>
|-
|-
|}</includeonly>
| colspan=2 style="text-align:center; color:red;" | Image:<nowiki>{{PAGENAME}}</nowiki>.png
<noinclude>
{|style="border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em;float: right; clear: right;"
| colspan="6" style="background:#CCCCCC;"| <center>'''<nowiki>{{PAGENAME}}</nowiki>'''</center>
|-
|-
|colspan="6" align="center"| [[Image:{{PAGENAME}}.png]]
| style="width:10em;" | '''Job Base(s):''' || {{{jobBase}}}<br>{{{jobBase2}}}
|-
|-
|colspan="3"|'''Job Base:''' ||colspan="3"| {{{jobBase}}}
| '''Job Type:''' || {{{jobType}}}
|-
|-
|colspan="3"|'''Job Type:''' ||colspan="3"| {{{jobType}}}
| '''Job Level:''' || {{{jobLevel}}}
|-
|-
|colspan="3"|'''Changes At:''' ||colspan="3"| {{{changesAt}}}
| '''Race:''' || {{{Race}}}
|-
|-
|colspan="3"|'''Number of Skills:''' ||colspan="3"| {{{skills}}}
| '''Changes At:''' || {{{changesAt}}}
|-
|-
|colspan="3"|'''Total Skill Points:''' ||colspan="3"| {{{skillPoints}}}
| '''Number of Skills:''' || {{{skills}}}
|-
|-
|colspan="3"|'''Total Quest Skills:''' ||colspan="3"| {{{questSkills}}}
| '''Total Skill Points:''' || {{{skillPoints}}}
|-
|-
|colspan="6" style="background:#CCCCCC;" align="center"| '''Job Bonuses'''
| '''Total Quest Skills:''' || {{{questSkills}}}
|-
|-
|'''STR'''||'''AGI'''||'''VIT'''||'''INT'''||'''DEX'''||'''LUK'''
! colspan=2 style="background:#CCCCCC;" | Job Bonuses
|-
|-
| +{{{str}}}|| +{{{agi}}}|| +{{{vit}}}|| +{{{int}}}|| +{{{dex}}}|| +{{{luk}}}
| colspan=2 |
{| style="width:100%;"
| '''STR''' || '''AGI''' || '''VIT''' || '''INT''' || '''DEX''' || '''LUK'''
|-
|-
| +{{{str}}} || +{{{agi}}} || +{{{vit}}} || +{{{int}}} || +{{{dex}}} || +{{{luk}}}
|}
|}
|}
== '''Purpose:''' ==
== Description ==
: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.
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:'''
== Usage ==
:This template accepts the following arguments:
<pre>
*''jobType'': the job type (e.g. First, 2-1, 2-2 Transcendent, Extended, etc.)
{{Infobox Job
*''jobBase'': The job required to change into this job (e.g. Mage on Sage's page, Novice on Archer's page)
| jobBase =
*''changesAt'': where one becomes this job class (e.g. Izlude, Prontera, Geffen, etc.)
| jobBase2 =
*''skills'': The total number of skills the job class possesses.
| jobType =
*''skillPoints'': The total number of skill points required to master the above number of skills.
| jobLevel =
*''questSkills'': The total number of skills the job class may obtain by performing a quest.
| Race =
*''str'': The bonus to [[STR]] at the maximum job level for the job class.
| changesAt =
*''agi'': The bonus to [[AGI]] at the maximum job level for the job class.
| skills =
*''vit'': The bonus to [[VIT]] at the maximum job level for the job class.
| skillPoints =
*''int'': The bonus to [[INT]] at the maximum job level for the job class.
| questSkills =
*''dex'': The bonus to [[DEX]] at the maximum job level for the job class.
| str =
*''luk'': The bonus to [[LUK]] at the maximum job level for the job class.
| 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|Infobox Job]]
[[Category:Templates]]
 
</noinclude>
</noinclude>

Aktuelle Version vom 3. Juli 2020, 13:30 Uhr

{{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.