Difference between revisions of "Template:Skill"

From Salem Wiki
Jump to: navigation, search
(New skillsbox to replace infobox on skills pages.)
 
 
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
<!-- Template START -->
 
<!-- Template START -->
{|
+
{| 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:#527ACC; 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="width:100%; border:black 2px solid; background:#bacae9"
+
{| style="width:100%; border:black 2px solid; background:#4c4c4c"
| style="text-align:center" |''"{{{Description|description unknown}}}"''
+
| style="text-align:center" | {{#switch: {{{Description|}}}
 +
| = ''description unknown''
 +
| "{{{Description}}}"
 +
}}
 
|}
 
|}
 
|-
 
|-
Line 14: Line 17:
 
|-
 
|-
 
|
 
|
{| style="width:100%; border:black 2px solid; background:#bacae9"
+
{| style="width:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;"
| style="width:90px" |'''Skill required:'''
+
| style="width:90px" |'''Skill(s) required:'''
 
| {{#switch: {{PAGENAME}}
 
| {{#switch: {{PAGENAME}}
 
  | Skill = ''automatically filled''
 
  | Skill = ''automatically filled''
  | Childish Things = None
+
  | Inherent Rights = None
  | {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Population | format=list }}
+
  | {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = ul | link=none | template=i | default=''unknown'' }}
 
}}
 
}}
 
|-
 
|-
| style="vertical-align:top" |'''Proficiencie(s) required:'''
+
| style="vertical-align:top" |'''Proficiencies required:'''
 
|
 
|
 
{|
 
{|
Line 31: Line 34:
 
{{#if: {{{Faith & Wisdom}}} | {{!}}[[Requires Faith & Wisdom::{{{Faith & Wisdom}}}]] {{i|Faith & Wisdom}} |}}
 
{{#if: {{{Faith & Wisdom}}} | {{!}}[[Requires Faith & Wisdom::{{{Faith & Wisdom}}}]] {{i|Faith & Wisdom}} |}}
 
|-
 
|-
{{#if: {{{Frontier & Wilderness}}} | {{!}}[[Requires Frontier & Wilderness::{{{Frontier & Wilderness}}}]] {{i|Frontier & Wilderness}} |}}
+
{{#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 & Gathering}}} | {{!}}[[Requires Hunting & Gathering::{{{Hunting & Gathering}}}]] {{i|Hunting & Gathering}} |}}
+
{{#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: {{{Pots & Pans}}} | {{!}}[[Requires Pots & Pans::{{{Pots & Pans}}}]] {{i|Pots & Pans}} |}}
 
 
|-
 
|-
 
{{#if: {{{Sparks & Embers}}} | {{!}}[[Requires Sparks & Embers::{{{Sparks & Embers}}}]] {{i|Sparks & Embers}} |}}
 
{{#if: {{{Sparks & Embers}}} | {{!}}[[Requires Sparks & Embers::{{{Sparks & Embers}}}]] {{i|Sparks & Embers}} |}}
Line 56: Line 59:
 
|}
 
|}
 
|}
 
|}
 +
|-
 +
<!-- Infobox END -->
 +
! style="color:white; font-size:1.4em; min-width:140px;"|'''Skills Unlocked:'''
 +
|-
 +
| style="vertical-align:top; height:100%;" |
 +
{| style="width:100%; height:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;"
 +
| style="vertical-align:top" |{{#if: {{{Skills unlocked}}} | {{TX|T3|{{{Skills unlocked}}}}} |None}}
 
|}
 
|}
<!-- Infobox END -->
 
 
|-
 
|-
| style="vertical-align:top" |
 
<!-- Unlocksbox START -->
 
{| style="min-width:300px; padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#527ACC; font-family:Calibri"
 
! style="color:white; font-size:1.4em; min-width:140px"|'''Skills Unlocked:'''
 
 
! 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="width:100%; height:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;"
 +
| 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="width:100%; height:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;"
 +
| 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:#bacae9"
+
{| 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: {{{Others unlocked}}} | {{TX|T3|{{{Others unlocked}}}}} |None}}
|}
 
| style="vertical-align:top; height:100%" |
 
{| style="width:100%; height:100%; border:black 2px solid; background:#bacae9"
 
| style="vertical-align:top" |{{#if: {{{Crafts unlocked}}} | {{T3|{{{Crafts unlocked}}}}} |None}}
 
|}
 
| style="vertical-align:top; height:100%" |
 
{| style="width:100%; height:100%; border:black 2px solid; background:#bacae9"
 
| style="vertical-align:top" |{{#if: {{{Builds unlocked}}} | {{T3|{{{Builds unlocked}}}}} |None}}
 
|}
 
| style="vertical-align:top; height:100%" |
 
{| style="width:100%; height:100%; border:black 2px solid; background:#bacae9"
 
| style="vertical-align:top" |{{#if: {{{Others unlocked}}} | {{T3|{{{Others unlocked}}}}} |None}}
 
 
|}
 
|}
 
|}
 
|}
Line 87: Line 92:
 
|}
 
|}
 
<!-- 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}}
  
<noinclude>
+
==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=
| Frontier & Wilderness=
+
| Flora & Fauna=
 
| Hammer & Nail=
 
| Hammer & Nail=
| Hunting & Gathering=
+
| Herbs & Sprouts=
 +
| Hunting & Hideworking=
 
| Law & Lore=
 
| Law & Lore=
 
| Mines & Mountains=
 
| Mines & Mountains=
| Pots & Pans=
 
 
| Sparks & Embers=
 
| Sparks & Embers=
 
| Stocks & Cultivars=
 
| Stocks & Cultivars=
Line 113: Line 160:
 
| Others unlocked=
 
| Others unlocked=
 
}}</pre>
 
}}</pre>
</noinclude>
+
|}</noinclude>

Latest revision as of 21:43, 13 December 2021

Unknown Item icon.png Skill
description unknown
Requirements:
Skill(s) required: automatically filled
Proficiencies required:
{{{Arts & Crafts}}} Arts & Crafts icon.png Arts & Crafts
{{{Cloak & Dagger}}} Cloak & Dagger icon.png Cloak & Dagger
{{{Faith & Wisdom}}} Faith & Wisdom icon.png Faith & Wisdom
{{{Flora & Fauna}}} Flora & Fauna icon.png Flora & Fauna
{{{Hammer & Nail}}} Hammer & Nail icon.png Hammer & Nail
{{{Herbs & Sprouts}}} Herbs & Sprouts icon.png Herbs & Sprouts
{{{Hunting & Hideworking}}} Hunting & Hideworking icon.png Hunting & Hideworking
{{{Law & Lore}}} Law & Lore icon.png Law & Lore
{{{Mines & Mountains}}} Mines & Mountains icon.png Mines & Mountains
{{{Sparks & Embers}}} Sparks & Embers icon.png Sparks & Embers
{{{Stocks & Cultivars}}} Stocks & Cultivars icon.png Stocks & Cultivars
{{{Sugar & Spice}}} Sugar & Spice icon.png Sugar & Spice
{{{Thread & Needle}}} Thread & Needle icon.png Thread & Needle
{{{Natural Philosophy}}} Natural Philosophy icon.png Natural Philosophy
{{{Perennial Philosophy}}} Perennial Philosophy icon.png Perennial Philosophy
Skills Unlocked:
  • Unknown Item icon.png{{{Skills unlocked}}}
Crafts Unlocked:
  • Unknown Item icon.png{{{Crafts unlocked}}}
Builds Unlocked:
  • Unknown Item icon.png{{{Builds unlocked}}}
Others Unlocked:
  • Unknown Item icon.png{{{Others unlocked}}}

When to use this template:

To add a new skill to the wiki.

How to use this template:

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:

{{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=
}}