Template:Create passive skill article/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
m (Typo)
(Added TemplateData)
Line 9: Line 9:
It will automatically generate a basic passive skill page with an infobox, and mark it as a stub. You can then manually edit it to add any needed information, and remove the stub tag if appropriate.
It will automatically generate a basic passive skill page with an infobox, and mark it as a stub. You can then manually edit it to add any needed information, and remove the stub tag if appropriate.


<templatedata>
{
    "description": "Use this template to create a new page for a passive skill.",
    "format": "inline",
    "params":
    {
        "skillname": {
            "label": "Skill name",
            "description": "The name of the skill you're defining. Defaults to the name of the page you're creating. You'll only need to set this in special cases like tests.",
            "type": "wiki-page-name",
            "example": "Mace Damage"
        },
        "skillcat": {
            "label": "Skill category",
            "description": "The category of skill you're defining.",
            "type": "string",
            "example": "Ascendancy passive skill",
            "default": "passive skill"
        }
    }
}
</templatedata>


'''This template does not support viewing directly from the template page.''' To see how it will look, substitute it into a sandbox page, and set the {{para|pagename}} parameter to the name of an actual passive skill.
{{Documentation categories|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->

Revision as of 00:35, 8 December 2021

This subpage provides documentation for Template:Create passive skill article.

This template should always be substituted.

When you create a page for a new passive skill, just paste this in as the page text:

{{subst:Path of Exile Wiki:Manual of Style/skill/passive skill}}

It will automatically generate a basic passive skill page with an infobox, and mark it as a stub. You can then manually edit it to add any needed information, and remove the stub tag if appropriate.

Use this template to create a new page for a passive skill.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Skill nameskillname

The name of the skill you're defining. Defaults to the name of the page you're creating. You'll only need to set this in special cases like tests.

Example
Mace Damage
Page nameoptional
Skill categoryskillcat

The category of skill you're defining.

Default
passive skill
Example
Ascendancy passive skill
Stringoptional