Difference between revisions of "Template:Infobox Field"

From LeikaRO wiki
Jump to: navigation, search
 
(16 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="infobox"
+
{| class="infobox" style="max-width:400px;"
! colspan=2 style="background:#89E3F6;" | {{PAGENAME}}
+
! 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]]
 
|-
 
|-
! colspan=2 style="background:#89E3F6;" | Information
+
! colspan=2 style="background:#B9EAF4;" | Information
 
|-
 
|-
 
| '''Level Range''': || {{{level}}}
 
| '''Level Range''': || {{{level}}}
Line 15: Line 15:
 
|-
 
|-
 
| '''Map(s)''': || {{{map}}}
 
| '''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"
 +
|-
 +
! Name !! Description
 +
|-
 +
| {{rh}} | level || level range of the map, if any
 +
|-
 +
| {{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.
 
|}
 
|}
{{#switch: {{{type}}} | field = [[Category:Fields]] | Dungeon = [[Category:Dungeons]] | Instance = [[Category:Instances]] }}
+
</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.