Template:Infobox skill/doc: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(+ptext2, +(text => ptext1), deprecate caption.)
(Switch property link "Skill/ptext?" to "Paginae/text?".)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{infobox skill
{{infobox skill
| name       = Example result
| name     = Example result
| caption     = {caption} or {text}
| caption   = {{{caption}}}
| skillcost   = 1234
|
| req         = [[skillreq::Metal Working]], [[skillreq::Rope Twining]], [[skillreq::Wheelwrighting]]
| ptext1    = {{{ptext1}}}
| ptext2    = {{{ptext2}}}
| ptext3    = {{{ptext3}}}
|
| skillcost = 1234
| req       = [[skillreq::Metal Working]], [[skillreq::Rope Twining]], [[skillreq::Wheelwrighting]]
}}
}}
;Description
;Description
:This template is used to create a skill infobox on skill pages.
:This template is used to create a skill infobox on skill pages.
Line 21: Line 27:
| image      = File:Example.ext (defaults to "...")
| image      = File:Example.ext (defaults to "...")
| imagewidth  = 123 (To resize image if needed. Capped to a maximum of 152)
| imagewidth  = 123 (To resize image if needed. Capped to a maximum of 152)
| caption    = text (Concise infobox-image caption text if needed) -- deprecated for skills.
| caption    = text (Concise infobox-image caption text if needed)


     Skill parts.
     Paginae parts.
| ptext1      = In-game/paginae poem(epigram/free verse) part (used as default caption text if given)
| ptext1      = In-game/paginae text - part-1. (the poem/epigram/free verse or other general info-story/verse)
| ptext2     = In-game/paginae informational text part. (used at top of page if given)
| 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
| skillcost  = 1234
| req        = [[skillreq::Metal Working]], [[skillreq::Rope Twining]], [[skillreq::Wheelwrighting]]
| req        = [[skillreq::Metal Working]], [[skillreq::Rope Twining]], [[skillreq::Wheelwrighting]]
Line 34: Line 42:


;Properties
;Properties
* [[Property:Skill/ptext1|ptext1]] (text)
* [[Property:Paginae/text1|ptext1]] (text)
* [[Property:Skill/ptext2|ptext2]] (text)
* [[Property:Paginae/text2|ptext2]] (text)
* [[Property:Paginae/text3|ptext3]] (text)


* skillcost -> [[property:lpcost|lpcost]] (nr)
* skillcost -> [[property:lpcost|lpcost]] (nr)

Latest revision as of 09:39, 5 June 2023

Example result
Infobox skill.png
{{{caption}}}

"{{{ptext1}}}"

LP Cost 1234
Skill(s)
Required
Metal Working, Rope Twining, Wheelwrighting
Skill(s)
Enabled
None
Hearth Magic(s) Unlocked None
Required By (0) Nothing
Go to Skills Page

"{{{ptext2}}}"


"{{{ptext3}}}"

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


Categories