Difference between revisions of "Template:Skill"
From Salem Wiki
(changed 'unlocks' property to 'requires' property to better indicate its usage.) |
Pistolshrimp (talk | contribs) |
||
(16 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<!-- Template START --> | <!-- Template START --> | ||
− | {| style="float:left; margin-right: | + | {| style="float:left; margin-right:25px" |
| style="vertical-align:top" | | | style="vertical-align:top" | | ||
<!-- Infobox START --> | <!-- Infobox START --> | ||
{| style="width:320px; padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri" | {| style="width:320px; padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri" | ||
! style="color:white; font-size:1.4em"|{{i|{{PAGENAME}}}} | ! style="color:white; font-size:1.4em"|{{i|{{PAGENAME}}}} | ||
+ | |- | ||
+ | | style="color:white; font-size:1.2em; text-align:center"|{{CheckNamespace}} | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c" |
| style="text-align:center" | {{#switch: {{{Description|}}} | | style="text-align:center" | {{#switch: {{{Description|}}} | ||
| = ''description unknown'' | | = ''description unknown'' | ||
Line 17: | Line 19: | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;" |
| style="width:90px" |'''Skill(s) required:''' | | style="width:90px" |'''Skill(s) required:''' | ||
| {{#switch: {{PAGENAME}} | | {{#switch: {{PAGENAME}} | ||
| Skill = ''automatically filled'' | | Skill = ''automatically filled'' | ||
− | | | + | | Inherent Rights = None |
− | | {{#ask: [[Category:Skills]] [[ | + | | {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = ul | link=none | template=i | default=''unknown'' }} |
}} | }} | ||
|- | |- | ||
− | | style="vertical-align:top" |''' | + | | style="vertical-align:top" |'''Proficiencies required:''' |
| | | | ||
{| | {| | ||
Line 34: | Line 36: | ||
{{#if: {{{Faith & Wisdom}}} | {{!}}[[Requires Faith & Wisdom::{{{Faith & Wisdom}}}]] {{i|Faith & Wisdom}} |}} | {{#if: {{{Faith & Wisdom}}} | {{!}}[[Requires Faith & Wisdom::{{{Faith & Wisdom}}}]] {{i|Faith & Wisdom}} |}} | ||
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{Flora & Fauna}}} | {{!}}[[Requires Flora & Fauna::{{{Flora & Fauna}}}]] {{i|Flora & Fauna}} |}} |
|- | |- | ||
{{#if: {{{Hammer & Nail}}} | {{!}}[[Requires Hammer & Nail::{{{Hammer & Nail}}}]] {{i|Hammer & Nail}} |}} | {{#if: {{{Hammer & Nail}}} | {{!}}[[Requires Hammer & Nail::{{{Hammer & Nail}}}]] {{i|Hammer & Nail}} |}} | ||
|- | |- | ||
− | {{#if: {{{Hunting & | + | {{#if: {{{Herbs & Sprouts}}} | {{!}}[[Requires Herbs & Sprouts::{{{Herbs & Sprouts}}}]] {{i|Herbs & Sprouts}} |}} |
+ | |- | ||
+ | {{#if: {{{Hunting & Hideworking}}} | {{!}}[[Requires Hunting & Hideworking::{{{Hunting & Hideworking}}}]] {{i|Hunting & Hideworking}} |}} | ||
|- | |- | ||
{{#if: {{{Law & Lore}}} | {{!}}[[Requires Law & Lore::{{{Law & Lore}}}]] {{i|Law & Lore}} |}} | {{#if: {{{Law & Lore}}} | {{!}}[[Requires Law & Lore::{{{Law & Lore}}}]] {{i|Law & Lore}} |}} | ||
|- | |- | ||
{{#if: {{{Mines & Mountains}}} | {{!}}[[Requires Mines & Mountains::{{{Mines & Mountains}}}]] {{i|Mines & Mountains}} |}} | {{#if: {{{Mines & Mountains}}} | {{!}}[[Requires Mines & Mountains::{{{Mines & Mountains}}}]] {{i|Mines & Mountains}} |}} | ||
− | |||
− | |||
|- | |- | ||
{{#if: {{{Sparks & Embers}}} | {{!}}[[Requires Sparks & Embers::{{{Sparks & Embers}}}]] {{i|Sparks & Embers}} |}} | {{#if: {{{Sparks & Embers}}} | {{!}}[[Requires Sparks & Embers::{{{Sparks & Embers}}}]] {{i|Sparks & Embers}} |}} | ||
Line 61: | Line 63: | ||
|- | |- | ||
<!-- Infobox END --> | <!-- Infobox END --> | ||
− | ! style="color:white; font-size:1.4em; min-width:140px"|'''Skills Unlocked:''' | + | ! style="color:white; font-size:1.4em; min-width:140px;"|'''Skills Unlocked:''' |
|- | |- | ||
− | | style="vertical-align:top; height:100%" | | + | | style="vertical-align:top; height:100%;" | |
− | {| style="width:100%; height:100%; border:black 2px solid; background:# | + | {| style="width:100%; height:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;" |
− | | style="vertical-align:top" |{{#if: {{{Skills unlocked}}} | {{T3|{{{Skills unlocked}}}}} |None}} | + | | style="vertical-align:top" |{{#if: {{{Skills unlocked}}} | {{TX|T3|{{{Skills unlocked}}}}} |None}} |
|} | |} | ||
|- | |- | ||
! style="color:white; font-size:1.4em; min-width:140px"|'''Crafts Unlocked:''' | ! style="color:white; font-size:1.4em; min-width:140px"|'''Crafts Unlocked:''' | ||
|- | |- | ||
− | | style="vertical-align:top; height:100%" | | + | | style="vertical-align:top; height:100%;" | |
− | {| style="width:100%; height:100%; border:black 2px solid; background:# | + | {| style="width:100%; height:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;" |
− | | style="vertical-align:top" |{{#if: {{{Crafts unlocked}}} | {{T3|{{{Crafts unlocked}}}}} |None}} | + | | style="vertical-align:top" |{{#if: {{{Crafts unlocked}}} | {{TX|T3|{{{Crafts unlocked}}}}} |None}} |
|} | |} | ||
|- | |- | ||
! style="color:white; font-size:1.4em; min-width:140px"|'''Builds Unlocked:''' | ! style="color:white; font-size:1.4em; min-width:140px"|'''Builds Unlocked:''' | ||
|- | |- | ||
− | | style="vertical-align:top; height:100%" | | + | | style="vertical-align:top; height:100%;" | |
− | {| style="width:100%; height:100%; border:black 2px solid; background:# | + | {| style="width:100%; height:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;" |
− | | style="vertical-align:top" |{{#if: {{{Builds unlocked}}} | {{T3|{{{Builds unlocked}}}}} |None}} | + | | style="vertical-align:top" |{{#if: {{{Builds unlocked}}} | {{TX|T3|{{{Builds unlocked}}}}} |None}} |
|} | |} | ||
|- | |- | ||
! style="color:white; font-size:1.4em; min-width:140px"|'''Others Unlocked:''' | ! style="color:white; font-size:1.4em; min-width:140px"|'''Others Unlocked:''' | ||
|- | |- | ||
− | | style="vertical-align:top; height:100%" | | + | | style="vertical-align:top; height:100%;" | |
− | {| style="width:100%; height:100%; border:black 2px solid; background:# | + | {| style="width:100%; height:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;" |
− | | style="vertical-align:top" |{{#if: {{{Others unlocked}}} | {{T3|{{{Others unlocked}}}}} |None}} | + | | style="vertical-align:top" |{{#if: {{{Others unlocked}}} | {{TX|T3|{{{Others unlocked}}}}} |None}} |
|} | |} | ||
|} | |} | ||
Line 92: | Line 94: | ||
|} | |} | ||
<!-- Template END --> | <!-- Template END --> | ||
− | |||
[[Category:Skills]] | [[Category:Skills]] | ||
+ | <noinclude> | ||
+ | {| | ||
+ | | style="max-width:640px" | | ||
+ | ==When to use this template:== | ||
+ | :To add a new skill to the wiki. | ||
+ | :{{Template List}} | ||
− | + | ==How to use this template:== | |
− | <pre>{{Skill | + | ===Breakdown of parameters:=== |
+ | ;Description | ||
+ | :Enter any text from in-game that accompanies the item. | ||
+ | ;All the Proficiencies | ||
+ | :Enter the values for each proficiency that the skill requires next to the same proficiency. Leave blank any proficiencies that are not required. | ||
+ | :'''''For example:''''' | ||
+ | :: Arts & Crafts= | ||
+ | :: Cloak & Dagger= | ||
+ | :: Faith & Wisdom= | ||
+ | :: Flora & Fauna= | ||
+ | :: Hammer & Nail= | ||
+ | :: Herbs & Sprouts= | ||
+ | :: Hunting & Hideworking= | ||
+ | :: Law & Lore= | ||
+ | :: Mines & Mountains= | ||
+ | :: Sparks & Embers= | ||
+ | :: Stocks & Cultivars= | ||
+ | :: Sugar & Spice= | ||
+ | :: Thread & Needle= | ||
+ | :: Natural Philosophy= | ||
+ | :: Perennial Philosophy= | ||
+ | ;Skills unlocked | ||
+ | :Enter all skills that are unlocked when you learn the new skill. Separate multiple entries with a comma. | ||
+ | :'''''For example:''''' Skills unlocked=Hiking, Labouring, Whittling | ||
+ | ;Crafts unlocked | ||
+ | :Enter all crafts (anything found in the craft menu and submenus) that are unlocked when you learn the new skill. Separate multiple entries with a comma. | ||
+ | :'''''For example:''''' Crafts unlocked=Cricket Moth, Cricket Team, Stuffed Rabbit | ||
+ | ;Builds unlocked | ||
+ | :Enter all builds (anything found in the build menu and submenus) that are unlocked when you learn the new skill. Separate multiple entries with a comma. | ||
+ | :'''''For example:''''' Builds unlocked=Pilgrim's Hovel, Stake Claim, Torchpost | ||
+ | ;Others unlocked | ||
+ | :Enter anything else that is unlocked when you learn the new skill, such as Movements, Attacks etc. Separate multiple entries with a comma. | ||
+ | :'''''For example:''''' Others unlocked=Stomp, Uppercut | ||
+ | ===Blank code to copy+paste:=== | ||
+ | |- | ||
+ | | | ||
+ | <pre> | ||
+ | {{Skill | ||
| Description= | | Description= | ||
| Arts & Crafts= | | Arts & Crafts= | ||
| Cloak & Dagger= | | Cloak & Dagger= | ||
| Faith & Wisdom= | | Faith & Wisdom= | ||
− | | | + | | Flora & Fauna= |
| Hammer & Nail= | | Hammer & Nail= | ||
− | | Hunting & | + | | Herbs & Sprouts= |
+ | | Hunting & Hideworking= | ||
| Law & Lore= | | Law & Lore= | ||
| Mines & Mountains= | | Mines & Mountains= | ||
− | |||
| Sparks & Embers= | | Sparks & Embers= | ||
| Stocks & Cultivars= | | Stocks & Cultivars= | ||
Line 118: | Line 162: | ||
| Others unlocked= | | Others unlocked= | ||
}}</pre> | }}</pre> | ||
− | </noinclude> | + | |}</noinclude> |
Latest revision as of 22:39, 4 May 2024
|
When to use this template:
How to use this template:Breakdown of parameters:
Blank code to copy+paste: |
{{Skill | Description= | Arts & Crafts= | Cloak & Dagger= | Faith & Wisdom= | Flora & Fauna= | Hammer & Nail= | Herbs & Sprouts= | Hunting & Hideworking= | Law & Lore= | Mines & Mountains= | Sparks & Embers= | Stocks & Cultivars= | Sugar & Spice= | Thread & Needle= | Natural Philosophy= | Perennial Philosophy= | Skills unlocked= | Crafts unlocked= | Builds unlocked= | Others unlocked= }} |