Difference between revisions of "Template:Infobox Field"

From LeikaRO wiki
Jump to: navigation, search
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="infobox"
+
{| class="infobox" style="max-width:400px;"
 
! colspan=2 style="background:#B9EAF4;" | {{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:#B9EAF4;" | Information
 
! colspan=2 style="background:#B9EAF4;" | Information
Line 15: Line 15:
 
|-
 
|-
 
| '''Map(s)''': || {{{map}}}
 
| '''Map(s)''': || {{{map}}}
|}
+
|} {{#switch: {{{type}}} | field = [[Category:Fields]] | Dungeon = [[Category:Dungeons]] | Instance = [[Category:Instances]] }}<noinclude>
{{#switch: {{{type}}} | field = [[Category:Fields]] | Dungeon = [[Category:Dungeons]] | Instance = [[Category:Instances]] }} <noinclude>
+
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 25: Line 24:
 
|element =  
 
|element =  
 
|map =  
 
|map =  
 +
|image =
 
}}
 
}}
 
</pre>
 
</pre>
 
==Fields==
 
==Fields==
{| class="wikitable"
+
{| class="wikitable"  
 
|-
 
|-
 
! Name !! Description
 
! Name !! Description
Line 41: Line 41:
 
|-
 
|-
 
| {{rh}} | map || Technical map name(s) of the location. (eg., pay_dun00)
 
| {{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>
 
<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.