Difference between revisions of "Template:Inspirational"

From Salem Wiki
Jump to: navigation, search
(now modular.)
Line 1: Line 1:
<!-- Template START -->
+
<includeonly>|-
{| style="float:left; margin-right:25px"
+
! style="color:white; font-size:1.4em" | '''Proficiencies:'''
| style="vertical-align:top" |
 
<!-- Infobox START -->
 
{| 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="width:100%; border:black 2px solid; background:#efebe5"
+
{| style="width:100%; border:black 2px solid; background:#efebe5; padding=10px; vertical-align:bottom; text-align:center;"
| style="width:100px" |'''Skill(s) required:''' || {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = list  | default=None }}
+
| style="vertical-align:top; width:100px; text-align:left" |'''Proficiencie(s) gained:'''
|-
 
| style="vertical-align"top" | '''Object(s) required:''' || {{#switch: {{{Objects required|}}} | =None | {{T4|{{{Objects required}}} }} }}
 
|-
 
| style="vertical-align"top" | '''Required by:'''
 
| {{#ask: [[Category:Objects]] [[Requires::{{PAGENAME}}]] | ?Objects | format = ul | template=''{{i}}'' | default=None }}
 
|}
 
|-
 
! style="color:white; font-size:1.4em"|'''Proficiencies:'''
 
|-
 
 
|
 
|
{| style="width:100%; border:black 2px solid; background:#efebe5"
+
{| style="text-align:left"
| style="vertical-align:top; width:100px" |'''Proficiencie(s) gained:'''
 
|
 
{|
 
 
{{#if: {{{Arts & Crafts}}} | {{!}}[[Gives Arts & Crafts::{{{Arts & Crafts}}}]] {{i|Arts & Crafts}} |}}
 
{{#if: {{{Arts & Crafts}}} | {{!}}[[Gives Arts & Crafts::{{{Arts & Crafts}}}]] {{i|Arts & Crafts}} |}}
 
|-
 
|-
Line 53: Line 37:
 
{{#if: {{{Perennial Philosophy}}} | {{!}}[[Gives Perennial Philosophy::{{{Perennial Philosophy}}}]] {{i|Perennial Philosophy}} |}}
 
{{#if: {{{Perennial Philosophy}}} | {{!}}[[Gives Perennial Philosophy::{{{Perennial Philosophy}}}]] {{i|Perennial Philosophy}} |}}
 
|}
 
|}
|}
 
<!-- Infobox END -->
 
 
|}
 
|}
 
|}
 
|}
<!-- Template END -->
+
[[Category:Inspirationals]]</includeonly>
 
+
<noinclude>'''NOTE:''' This is a MODULAR template. It MUST be used after one the the following templates:
[[Category:Inspirationals]]
+
*[[Template:Foraged]] if the inspirational item is foraged.
 +
*[[Template:Crafted]] if the inspirational item is crafted.
  
<noinclude>{|
+
See [[Help:Contributing]] for instructions and examples for adding a new page to the wiki.
| style="max-width:640px" |
 
==When to use this template:==
 
:To add a new inspirational to the wiki. (or to update an old design to the new one by replacing it)
 
:{{Template List}}
 
  
==How to use this template:==
+
{| style="float:left; width:320px; padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri; margin-right:25px"
===Breakdown of parameters:===
+
{{Inspirational | Arts & Crafts=1 | Cloak & Dagger=2 | Faith & Wisdom=3 | Frontier & Wilderness=4 | Hammer & Nail=5 | Hunting & Gathering=6 | Law & Lore=7 | Mines & Mountains=8 | Pots & Pans=9 | Sparks & Embers=10 | Stocks & Cultivars=11 | Sugar & Spice=12 | Thread & Needle=13 | Natural Philosophy=14 | Perennial Philosophy=15 }}</noinclude>
;Objects required
 
:List any objects required such as ingredients and structures. Each object must be entered with an amount and each separate item should be separated with a comma.
 
:'''''For example:''''' Objects required=Clay;1, Flint;1, Stone;1, Lime;1
 
:Enter the values for each proficiency that the skill gives next to the same proficiency. Leave blank any proficiencies that the inspirational does not give.
 
:'''''For example:'''''
 
:: Arts & Crafts=
 
:: Cloak & Dagger=500
 
:: Faith & Wisdom=
 
:: Frontier & Wilderness=
 
:: Hammer & Nail=
 
:: Hunting & Gathering=
 
:: Law & Lore=500
 
:: Mines & Mountains=
 
:: Pots & Pans=
 
:: Sparks & Embers=
 
:: Stocks & Cultivars=
 
:: Sugar & Spice=
 
:: Thread & Needle=
 
:: Natural Philosophy=500
 
:: Perennial Philosophy=
 
===Blank code to copy+paste:===
 
|-
 
|<pre>{{Inspirational
 
| Objects required=
 
| Arts & Crafts=
 
| Cloak & Dagger=
 
| Faith & Wisdom=
 
| Frontier & Wilderness=
 
| Hammer & Nail=
 
| Hunting & Gathering=
 
| Law & Lore=
 
| Mines & Mountains=
 
| Pots & Pans=
 
| Sparks & Embers=
 
| Stocks & Cultivars=
 
| Sugar & Spice=
 
| Thread & Needle=
 
| Natural Philosophy=
 
| Perennial Philosophy=
 
}}</pre>
 
|}</noinclude>
 

Revision as of 00:22, 17 August 2012

NOTE: This is a MODULAR template. It MUST be used after one the the following templates:

See Help:Contributing for instructions and examples for adding a new page to the wiki.

Proficiencies:
Proficiencie(s) gained:
1 Arts & Crafts icon.png Arts & Crafts
2 Cloak & Dagger icon.png Cloak & Dagger
3 Faith & Wisdom icon.png Faith & Wisdom
4 Frontier & Wilderness icon.png Frontier & Wilderness
5 Hammer & Nail icon.png Hammer & Nail
6 Hunting & Gathering icon.png Hunting & Gathering
7 Law & Lore icon.png Law & Lore
8 Mines & Mountains icon.png Mines & Mountains
9 Pots & Pans icon.png Pots & Pans
10 Sparks & Embers icon.png Sparks & Embers
11 Stocks & Cultivars icon.png Stocks & Cultivars
12 Sugar & Spice icon.png Sugar & Spice
13 Thread & Needle icon.png Thread & Needle
14 Natural Philosophy icon.png Natural Philosophy
15 Perennial Philosophy icon.png Perennial Philosophy