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

From Path of Exile Wiki
Jump to navigation Jump to search
(Update documentation for new template name)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


'''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>
<inputbox>
type=create
preload=Template:Create passive skill article/preload
editintro=Template:Create passive skill article/editintro
buttonlabel=Add new passive skill 
placeholder=Name of passive skill
summary=New passive skill page
useve=true
break=yes
</inputbox>


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.
==Parameters==
 
<section begin="parameters" />
<templatedata>
{| class="wikitable"
{
! Parameter
    "description": "Use this template to create a new page for a passive skill.",
! Description
    "format": "inline",
|-
    "params":
| name
    {
| Name of the passive skill. Defaults to <code><nowiki>{{subst:PAGENAME}}</nowiki></code>, which will be replaced with the name of the article once you click "Save page".
        "skillname": {
|-
            "label": "Skill name",
| version
            "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.",
| Version number of the patch in which the passive skill was added to the game. If unknown, leave the value as <code>?</code>.
            "type": "wiki-page-name",
|-
            "example": "Mace Damage"
| description
        },
| You may add a more detailed description of the passive skill using this parameter.
        "skillcat": {
|}<section end="parameters" />
            "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:Templates]]
[[Category:Article creation templates]]
[[Category:New page substitution templates]]
}}
}}

Latest revision as of 16:48, 14 December 2021

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



Parameters

Parameter Description
name Name of the passive skill. Defaults to {{subst:PAGENAME}}, which will be replaced with the name of the article once you click "Save page".
version Version number of the patch in which the passive skill was added to the game. If unknown, leave the value as ?.
description You may add a more detailed description of the passive skill using this parameter.