Difference between revisions of "Template:Infobox"
From Shining Moon Wikipedia
(Created page with "<onlyinclude>{| class="infobox" style="font-size:89%; width:300px; border-color:{{{bc|#efefef}}}; border-style:solid; border-width:{{{bw|2}}}px; background-color:#{{{backgroun...") |
|||
| Line 1: | Line 1: | ||
| − | + | {| class="infobox" style="max-width:400px;" | |
| + | ! colspan=2 style="background:#B9EAF4;" | {{PAGENAME}} | ||
|- | |- | ||
| − | ! colspan= | + | | colspan=2 style="text-align:center;" | [[Image:{{{image}}}|frameless|300px|link=|caption]] |
| + | |- | ||
| + | ! colspan=2 style="background:#B9EAF4;" | Information | ||
| + | |- | ||
| + | | '''Level Range''': || {{{level}}} | ||
| + | |- | ||
| + | | '''Type''': || {{{type}}} | ||
| + | |- | ||
| + | | '''Race(s)''': || {{{race}}} | ||
| + | |- | ||
| + | | '''Element(s)''': || {{{element}}} | ||
| + | |- | ||
| + | | '''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. | ||
| + | |} | ||
| + | </noinclude> | ||
| + | <noinclude>[[Category:Templates]]</noinclude> | ||
Revision as of 15:37, 12 October 2020
| Infobox | |
|---|---|
| [[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. |