Template:Infobox skill: Difference between revisions
Jump to navigation
Jump to search
(Apply RoB_style (infobox header, section, footer)) |
(+Boxed styling, +Save skillcost, ...) |
||
Line 1: | Line 1: | ||
{| class="infobox" style="font-size:89%; width:250px;" | <includeonly | ||
>{| class="infobox boxed" style="font-size:89%; width:250px;" | |||
|+ {{#if:{{REVISIONID}} | |+ {{#if:{{REVISIONID}} | ||
| | | | ||
Line 9: | Line 11: | ||
">Infobox Preview Mode:<br>Property Changes Not Shown.}}</span> | ">Infobox Preview Mode:<br>Property Changes Not Shown.}}</span> | ||
! colspan="2" | ! colspan="2" | {{{name|{{PAGENAME}}}}} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| colspan="2" style="padding:0.5em;" | {{Page-image-name-processing | image={{{image|}}} | imagewidth={{{imagewidth|}}} | maxsize=320 }}<br/>''{{{caption| | | colspan="2" style="padding:0.5em;" | {{Page-image-name-processing | image={{{image|}}} | imagewidth={{{imagewidth|}}} | maxsize=320 }}<br/>''{{{caption|}}}'' | ||
|- | |- | ||
! colspan="2" {{RoB_style|infoboxsection}} | | ! colspan="2" {{RoB_style|infoboxsection}} | | ||
|- | |- | ||
| <b>[[LP]] Cost</b> | |||
| [[skillcost::{{{cost|-999}}}]] | |||
|- | |- | ||
| <b>[[Skills | Skill(s)]]<br>Required</b> | |||
| {{{req|-999}}} | |||
|- | |- | ||
| <b>Skill(s)<br>Enabled</b> | |||
| {{#if: {{SkillsEnabled}} | {{SkillsEnabled}} | None}} | |||
|- | |- | ||
| <b>Required By</b> | |||
| {{#if: {{RequiredBy}} | {{RequiredBy}} | Nothing}} | |||
|- | |- | ||
! colspan="2" | ! colspan="2" | Back to [[:Category:Skills|Skills]] | ||
|} | |} | ||
{{#ifeq:{{NAMESPACE}}|{{ns:10}}| | | |||
[[Category:Skills|{{PAGENAME}}]] | |||
{{#set:object_type=skill}} | |||
}}</includeonly | |||
><noinclude> | |||
{{ {{PAGENAME}} | |||
| name = {{{name}}} | |||
| image = {{{image}}} | |||
| imagewidth = {{{imagewidth}}} | |||
| caption = {{{caption}}} | |||
| | |||
| cost = {{{cost}}} | |||
| req = {{{req}}} | |||
}} | |||
<br style="clear:both;" />{{documentation}}</noinclude> |
Revision as of 03:22, 16 March 2020
{{{name}}} | |
---|---|
[[ {{{image}}}|frameless|320x320px ]] {{{caption}}} | |
LP Cost | {{{cost}}} |
Skill(s) Required |
{{{req}}} |
Skill(s) Enabled |
None |
Required By | Nothing |
Back to Skills |
Template documentation (for the template shown above, sometimes hidden or invisible)
Example result | |
---|---|
{{{caption}}} | |
LP Cost | -999 |
Skill(s) Required |
Metal Working, Rope Twining, Wheelwrighting |
Skill(s) Enabled |
None |
Required By | Nothing |
Back to Skills |
- Description
- This template is used to create a skill infobox on skill pages.
- Basic syntax
- Type
{{infobox skill|...}}
at the top of the page. Available parameters shown below.
- Parameters
{{infobox skill General infobox parameters. Should only be used when needed or appropriate. | name = Infobox Title (defaults to related page-name) | image = File:Example.ext (defaults to "...") | imagewidth = 123 (To resize image if needed. Capped to a maximum of 152) | caption = text (Concise infobox-image caption text if needed) Paginae parts. | ptext1 = In-game/paginae text - part-1. (the poem/epigram/free verse or other general info-story/verse) | ptext2 = In-game/paginae text - part-2. (general informational text related to skill) | ptext3 = In-game/paginae text - part-3. (additional provide info/help) Skill specifics. | skillcost = 1234 | req = [[skillreq::Metal Working]], [[skillreq::Rope Twining]], [[skillreq::Wheelwrighting]] }}
- Properties
- skillcost -> lpcost (nr)
- (auto) -> object_type as "skill" (text)
- at-page:
- req -> skillreq (page)
- Categories
- (auto) -> Skills
Visit Template:Infobox skill/doc to edit this text! (How does this work?)