Template:Infobox skill: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(added link to skills enabled for consistency)
(Implement {{Infobox/preview_mode_note}}.)
Line 2: Line 2:


>{| class="infobox boxed" style="font-size:89%; width:300px;"
>{| class="infobox boxed" style="font-size:89%; width:300px;"
|+ {{#if:{{REVISIONID}}
|+ {{Infobox/preview_mode_note}}
|
|<span style="
font-size: 0.8em;
font-style: italic;
color: blue;
background-color: yellow;
">Infobox Preview Mode:<br>Property Changes Not Shown.}}</span>
 
! colspan="2" | {{{name|{{PAGENAME}}}}}
! colspan="2" | {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
|- style="text-align:center;"

Revision as of 21:07, 19 August 2021

{{{name}}}
[[ {{{image}}}|frameless|320x320px ]]
{{{caption}}}
LP Cost {{{cost}}}
Skill(s)
Required
{{{req}}}
Skill(s)
Enabled
None
Hearth Magic(s) Unlocked None
Required By (0) Nothing
Back to Skills

Property "Skilltxt1" (as page type) with input value "{{{txt1}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.Property "Skilltxt2" (as page type) with input value "{{{txt2}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

Template documentation (for the template shown above, sometimes hidden or invisible)
Example result
Infobox skill.png
{{{caption}}}
LP Cost -999
Skill(s)
Required
Metal Working, Rope Twining, Wheelwrighting
Skill(s)
Enabled
None
Hearth Magic(s) Unlocked None
Required By (0) 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


Categories