Difference between revisions of "Template:Infobox Field"

From LeikaRO wiki
Jump to: navigation, search
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="infobox"
+
{| class="infobox" style="max-width:400px;"
! colspan=2 style="background:#{{#switch: {{{jobType}}} | Novice = E2F9FB | First = CAF1F3 | 2-1 = B0E6E9 | 2-2 = 7CC9CD | 2-1 Transcendent = B8CAED | 2-2 Transcendent = 89A3D5 | 3-1 = D7D1F6 | 3-2 = 988DD8 | Extended = FFF0D3 | CCCCCC }};" | {{PAGENAME}} [[Category:{{PAGENAME}}]] [[Category:Classes]]
+
! colspan=2 style="background:#B9EAF4;" | {{PAGENAME}}
 
|-
 
|-
| colspan=2 style="text-align:center;" | [[Image:{{PAGENAME}}.png]]
+
| colspan=2 style="text-align:center;" | [[Image:{{{image}}}|frameless|300px|link=|caption]]
 
|-
 
|-
{{#if: {{{jobBase|}}} |
+
! colspan=2 style="background:#B9EAF4;" | Information
{{!}} style="width:10em;" {{!}} '''Job Base(s):''' {{!}}{{!}} [[{{{jobBase}}}]] [[Category:{{{jobBase}}}]]{{#if: {{{jobBase2|}}} | <br/>[[{{{jobBase2}}}]] [[Category:{{{jobBase2}}}]] }} }}
+
 
|-
 
|-
| '''Job Type:''' || {{{jobType}}}
+
| '''Level Range''': || {{{level}}}
 
|-
 
|-
| '''Changes At:''' || {{{changesAt}}}
+
| '''Type''': || {{{type}}}
 
|-
 
|-
| '''Number of Skills:''' || {{{skills}}}
+
| '''Race(s)''': || {{{race}}}
 
|-
 
|-
| '''Total Skill Points:''' || {{{skillPoints}}}
+
| '''Element(s)''': || {{{element}}}
 
|-
 
|-
| '''Total Quest Skills:''' || {{{questSkills}}}
+
| '''Map(s)''': || {{{map}}}
 +
|} {{#switch: {{{type}}} | field = [[Category:Fields]] | Dungeon = [[Category:Dungeons]] | Instance = [[Category:Instances]] }}<noinclude>
 +
==Usage==
 +
<pre>
 +
{{Infobox Field
 +
|level =
 +
|type =
 +
|race =
 +
|element =
 +
|map =
 +
|image =
 +
}}
 +
</pre>
 +
==Fields==
 +
{| class="wikitable"
 
|-
 
|-
! colspan=2 style="background:#{{#switch: {{{jobType}}} | Novice = E2F9FB | First = CAF1F3 | 2-1 = B0E6E9 | 2-2 = 7CC9CD | 2-1 Transcendent = B8CAED | 2-2 Transcendent = 89A3D5 | 3-1 = D7D1F6 | 3-2 = 988DD8 | Extended = FFF0D3 | E2F9FB }};" | Job Bonuses
+
! Name !! Description
 
|-
 
|-
| colspan=2 |
+
| {{rh}} | level || level range of the map, if any
{| style="width:100%;"
+
| '''STR''' || '''AGI''' || '''VIT''' || '''INT''' || '''DEX''' || '''LUK'''
+
 
|-
 
|-
| +{{{str}}} || +{{{agi}}} || +{{{vit}}} || +{{{int}}} || +{{{dex}}} || +{{{luk}}}
+
| {{rh}} | type || Type of location that this is. (Field, Dungeon, Instance)
|}
+
|-
 +
| {{rh}} | race || Races of the monsters, if any. Use <nowiki>[[Race-type]]</nowiki> (eg., "<nowiki>[[Demi-Human]]</nowiki>").
 +
|-
 +
| {{rh}} | element || Elements of the monsters, if any. Use <nowiki>[[Element-type]]</nowiki> (eg., "<nowiki>[[Fire]]</nowiki>").
 +
|-
 +
| {{rh}} | map || Technical map name(s) of the location. (eg., pay_dun00)
 +
|-
 +
| {{rh}} | image || The name image to be displayed in the navbox. Must include the file extension (.png, .jpg, etc.) of the image in the name.
 
|}
 
|}
 +
</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 03:59, 14 January 2017

Infobox Field
[[Image:{{{image}}}|frameless|300px|link=|caption]]
Information
Level Range: {{{level}}}
Type: {{{type}}}
Race(s): {{{race}}}
Element(s): {{{element}}}
Map(s): {{{map}}}

Usage

{{Infobox Field
|level = 
|type = 
|race = 
|element = 
|map = 
|image = 
}}

Fields

Name Description
level level range of the map, if any
type Type of location that this is. (Field, Dungeon, Instance)
race Races of the monsters, if any. Use [[Race-type]] (eg., "[[Demi-Human]]").
element Elements of the monsters, if any. Use [[Element-type]] (eg., "[[Fire]]").
map Technical map name(s) of the location. (eg., pay_dun00)
image The name image to be displayed in the navbox. Must include the file extension (.png, .jpg, etc.) of the image in the name.