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

From Path of Exile Wiki
Jump to navigation Jump to search
(categories)
(Create documentation)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
 
{{Preload article box}}
'''This template should always be substituted.'''
 
When you create a page for a new passive skill, just paste this in as the page text:
 
<pre>{{subst:Preload passive skill article}}</pre>
 
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>
 
{{Documentation categories|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:Article creation templates]]
[[Category:Article creation preload templates]]
}}
}}

Revision as of 00:50, 13 December 2021