Using Templates

From Epic Path
Revision as of 03:14, 2 August 2017 by Tbolling (talk | contribs)
Jump to navigation Jump to search

Templates offer a means of ensuring the formatting and spacing of each page is uniform, when those pages share a common set of characteristics. Several templates have been developed for the Epic Path wiki to make inputting these data easier for everyone. This page provides the appropriate schemas to use when using these templates.

Please do not make changes to the Template pages without consulting me. If you have any questions about this, please ask me.

Skill Use Template

This template is used multiple times on each skill page, to detail each way the skill may be used.

{{Template:SkillUse

| Skill-Use = 

| Core-Skill = 

| Benefit = 

| Action = 

| DC = 

| Modifiers = 

| Take10-Take20 = 

| Assist = 

| Success = 

| Failure = 

| Retry = 

| Provokes = 

}}

Magic Property Template

{{Magic Property

<!-- Enchantable On:-->
| Melee Weapons = 
| Ranged Weapons = 
| Implements = 
| Armor = 
| Shields = 

| Limitations = 
<!-- e.g. "bludgeoning only"-->

| PlusCost=<onlyinclude>{{#ifeq:{{{transcludesection|PlusCost}}}
| PlusCost|
}}</onlyinclude>

| Aura=<onlyinclude>{{#ifeq:{{{transcludesection|Aura}}}
| Aura|
}}</onlyinclude>

| CL=<onlyinclude>{{#ifeq:{{{transcludesection|CL}}}
| CL|
}}</onlyinclude>

| Weight = -

| IsEpic = 

| Description = 

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|
}}</onlyinclude>

| Components = 

}}

Rage Power Template

{{Template:Rage Power

| Name = 

| Type = 

| Mien=<onlyinclude>{{#ifeq:{{{transcludesection|Mien}}}
| Mien|
}}</onlyinclude>

| MinLvl=<onlyinclude>{{#ifeq:{{{transcludesection|MinLvl}}}
| MinLvl|
}}</onlyinclude>

| Prereqs=<onlyinclude>{{#ifeq:{{{transcludesection|Prereqs}}}
| Prereqs|
}}</onlyinclude>

| Fury=<onlyinclude>{{#ifeq:{{{transcludesection|Fury}}}
| Fury|
}}</onlyinclude>

| Benefit = 

| Addtl-Fury = 

| Prog1 = 

| Prog2 = 

| Prog3 = 

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|
}}</onlyinclude>

}}

Fighter Tactic Template

{{Template:Tactic

| Prerequisites=<onlyinclude>{{#ifeq:{{{transcludesection|Prerequisites}}}
| Prerequisites|
}}</onlyinclude>

| Benefit=

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|
}}</onlyinclude>

}}

Rogue Talent Template

{{Template:Talent

| Category=[[Category:Ruthless Rogue Talents]] [[Category:Cunning Rogue Talents]] [[Category:Sneak Attack Talents]]

| Type=<onlyinclude>{{#ifeq:{{{transcludesection|Type}}}
| Type|
}}</onlyinclude>

| Prerequisites=<onlyinclude>{{#ifeq:{{{transcludesection|Prerequisites}}}
| Prerequisites|
}}</onlyinclude>

| Benefit=

| Cunning=<onlyinclude>{{#ifeq:{{{transcludesection|Cunning}}}
| Cunning|
}}</onlyinclude>

| Ruthless=<onlyinclude>{{#ifeq:{{{transcludesection|Ruthless}}}
| Ruthless|
}}</onlyinclude>

| SneakAtk=<onlyinclude>{{#ifeq:{{{transcludesection|SneakAtk}}}
| SneakAtk|
}}</onlyinclude>

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|
}}</onlyinclude>

}}
  • Category: delete any which aren't applicable. Use Cunning and Ruthless only if the talent grants a special benefit to that path. Use sneak attack only if the talent cannot be combined with other sneak attack-modifying talents.
  • Type: values are "Ex," "Su" and "Sp" (Extraordinary, Supernatural and Spell-Like).
  • Ruthless: value is "Y" or blank; use if the talent offers a special benefit to ruthless rogues.
  • Cunning: value is "Y" or blank; use if the talent offers a special benefit to cunning rogues.
  • SneakAtk: value is "Y" or blank; use if the talent modifies sneak attack and cannot be combined with other sneak attack-modifying talents.

For an example, see Acrobatic Charge.

Simple Weapon Template

{{Template:SimpleWeapon

| Name = 

| Image = 

| FlavorText = 

| Type = 

| Cost = 

| TinyDmg = 

| SmallDmg = 

| MedDmg = 

| LgDmg = 

| Crit = 

| Range = 

| Weight = 

| DamageType = 

| Quality1 = 
| Quality2 = 
| Quality3 = 
| Quality4 = 
| Quality5 = 
| Quality6 = 
| Quality7 = 
| Quality8 = 
| Quality9 = 

| Description = 

}}


Feats Template

To input new feats, or update the page contents of existing feats, please use the following schema:

{{Template:Feats
| Category=

| Flavor=

| Prerequisites=<onlyinclude>{{#ifeq:{{{transcludesection|Prerequisites}}}
| Prerequisites|
}}</onlyinclude>

| Benefit=

| LevelInc=<onlyinclude>{{#ifeq:{{{transcludesection|LevelInc}}}
| LevelInc|
}}</onlyinclude>


| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|
}}</onlyinclude>

}}
  • Category: The template will put every feat into the [[Category:Epic Path]] and [[Category:Feats]] category, but if you want to add additional categories (in particular, categories for character classes which pertain directly to the feats, please do so. Note that you do not need to include spaces between the categories, nor should you add line breaks. Here's a list of commonly used categories, in case you need them:
[[Category:Metamagic Feats]][[Category:Bard]][[Category:Cleric]][[Category:Druid]][[Category:Paladin]][[Category:Sorcerer]][[Category:Wizard]]

[[Category:Teamwork Feats]]
[[Category:Epic Feats]]

[[Category:Alchemist]]
[[Category:Barbarian]]
[[Category:Brawler]]
[[Category:Fighter]]
[[Category:Monk]]
[[Category:Prowler]]
[[Category:Ranger]]
[[Category:Rogue]]
[[Category:Warlord]]
  • Flavor: Use this section to put any flavor text the feat may have. The template will automatically change the text to italics.
  • Prerequisites: Use this section to input any prerequisites (duh!). Ideally, any specific level requirement, or the requirement with the highest implied level should come first in the list. If a feat has no prerequisites, make sure to put "None" in this section.
  • Benefit: In addition to pasting the feat's effects into this section, additional information like Special, Normal and Level Increase (metamagic feats only) should be pasted into this section, when present. Note that, while the Benefit: text is supplied to the page from the template, additional sections like Special: will have to be made bold manually after pasting it into the section.

Here's an example of a filled out schema:

{{Template:Feats
| Category=

| Flavor=You are skilled at attacking opponents that you cannot clearly perceive.

| Prerequisites=<onlyinclude>{{#ifeq:{{{transcludesection|Prerequisites}}}
| Prerequisites|[[Perception]] 10 ranks
}}</onlyinclude>

| Benefit=In melee, you ignore all miss chances from any source.

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|Ignore miss chances in combat
}}</onlyinclude>
}}

You can see the resulting page here: Blind-Fight. Note that no additional categories were added (since the feat could be taken by anyone), so the section was left blank. Also note the Normal: and Special: sections were manually added as part of the contents of the "Benefit=" section of the schema.

Spell Template

The spell template allows spells to be added to the wiki after copying the content from an OGL site (such as the Paizo PRD, or the d20pfsrd).

{{Template:Spell

<!-- Spell Level -->
<!-- Values: Integer (spell level if castable) or leave blank (if not available to listed class) -->
| Alchemist = 
| Bard = 
| Cleric = 
| Druid = 
| Paladin = 
| Pariah = 
| Ranger = 
| Sorcerer/Wizard = 


| School=<onlyinclude>{{#ifeq:{{{transcludesection|School}}}
| School|
}}</onlyinclude>

| CastTime=<onlyinclude>{{#ifeq:{{{transcludesection|CastTime}}}
| CastTime|
}}</onlyinclude>

| Components=<onlyinclude>{{#ifeq:{{{transcludesection|Components}}}
| Components|
}}</onlyinclude>

| Range=<onlyinclude>{{#ifeq:{{{transcludesection|Range}}}
| Range|
}}</onlyinclude>

| Target=<onlyinclude>{{#ifeq:{{{transcludesection|Target}}}
| Target|
}}</onlyinclude>

| Duration=<onlyinclude>{{#ifeq:{{{transcludesection|Duration}}}
| Duration|
}}</onlyinclude>

| Save=<onlyinclude>{{#ifeq:{{{transcludesection|Save}}}
| Save|
}}</onlyinclude>

| SR=<onlyinclude>{{#ifeq:{{{transcludesection|SR}}}
| SR|
}}</onlyinclude>

| Description = 

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|
}}</onlyinclude>

| Reviewed = N

}}
  • Level: Copy the spell level information into this section.
  • School: Copy the spell school information into this section. If the spell includes any Subschools or Elemental Schools, these should be included in the same section, but on separate lines, with a ":" in front of them, and the word Subschools: and/or Elemental School: bolded.
  • CastTime: Copy the casting time information into this section.
  • Components: Copy the components into this section. Just put the letter codes, not the full text ("V, S, M" not "Verbal, Somatic, Material").
  • Range: Copy the spell's range into this section.
  • Target: This section could be for Target, Area or Effect, depending on the spell. Do not change the parameter name if you input Area or Effect information here, just leave it as "Target=".
  • Duration: Input the spell's duration here.
  • Save: Input the spell's saving throw information here.
  • SR: Input the spell's Spell Resistance information here (usually "Yes" or "No").
  • Description: Copy the spell's description into this section. It's okay if there are line breaks, links to other pages, etc. If there are tables, or more complicated wiki text, you may want to ask Reese to help, or take a look at the #Advanced: Exclusion Template section below for help.

Here's an example of a filled-out Spell schema:

{{Template:Spell

<!-- Spell Level -->
<!-- Values: Integer (spell level if castable) or leave blank (if not available to listed class) -->
| Alchemist = 4
| Bard = 4
| Cleric = 4
| Druid = 4
| Paladin = 
| Pariah = 
| Ranger = 4
| Sorcerer/Wizard = 

| School=<onlyinclude>{{#ifeq:{{{transcludesection|School}}}
| School|[[abjuration]]
}}</onlyinclude>
::'''''Domain:''''' liberation 4, luck 4
:::'''''Subdomain:''''' flowing 4

| CastTime=<onlyinclude>{{#ifeq:{{{transcludesection|CastTime}}}
| CastTime|1 [[standard action]]
}}</onlyinclude>

| Components=<onlyinclude>{{#ifeq:{{{transcludesection|Components}}}
| Components|V, S, DF, M (a leather strip bound to the target)
}}</onlyinclude>

| Range=<onlyinclude>{{#ifeq:{{{transcludesection|Range}}}
| Range|personal or [[touch]]
}}</onlyinclude>

| Target=<onlyinclude>{{#ifeq:{{{transcludesection|Target}}}
| Target|you or creature touched
}}</onlyinclude>

| Duration=<onlyinclude>{{#ifeq:{{{transcludesection|Duration}}}
| Duration|10 min/lvl
}}</onlyinclude>

| Save=<onlyinclude>{{#ifeq:{{{transcludesection|Save}}}
| Save|[[WILL]] negates (harmless)
}}</onlyinclude>

| SR=<onlyinclude>{{#ifeq:{{{transcludesection|SR}}}
| SR|yes (harmless)
}}</onlyinclude>

| Description = This spell enables you or a creature you touch to move and attack normally for the duration of the spell, even under the influence of magic that usually impedes movement, such as paralysis, solid fog, slow, and web. All combat maneuver checks made to grapple the target automatically fail. The subject automatically succeeds on any combat maneuver checks and Escape Artist checks made to escape a grapple or a pin.

:The spell also allows the subject to move and attack normally while underwater, even with slashing weapons such as axes and swords or with bludgeoning weapons such as flails, hammers, and maces, provided that the weapon is wielded in the hand rather than hurled. The freedom of movement spell does not, however, grant water breathing.

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|Subject moves normally despite impediments to restrict movement.
}}</onlyinclude>

}}

Magic Item Template

Magic items also have a template to make inputting them into the wiki simpler, whether from another source, or when creating new items.

{{Template:Magic_Item

| Slot =  

| Price=<onlyinclude>{{#ifeq:{{{transcludesection|Price}}}
| Price|
}}</onlyinclude>

| CL = 

| Aura = 

| Weight = 

| Description = 

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|
}}</onlyinclude>

| Requirements = 

| Source = 

}}
  • Slot: This is the slot on the character's body where the magic item can be worn. E.g. "Wrist" or "Neck".
  • Price: This is how much the item costs. If an item has multiple prices, because it can be bought at different levels of power, list each price here and its associated power level (see example below).
  • CL: This is the caster level required to make the item.
  • Aura: Most magic items give off an aura of some kind, indicating what kind of magic was used to make them. Input that information here.
  • Weight: All items in Epic Path have a weight. If you are copying an item from somewhere else, and no weight is listed, unless it can magically float or fly, it must have a weight of at least 0.1 lbs.
  • Description: Input the item's description here. It's okay if there are line breaks, links to other pages, etc. If there are tables, or more complicated wiki text, you may want to ask Reese to help, or take a look at the #Advanced: Exclusion Template section below for help.
  • ShortDesc: This is a short description for the master list page. Short descriptions should be between 10 and 20 words in length.
  • Requirements: These are the requirements for building the item using the Creator feat. The template will automatically add the Creator feat as a requirement, but any other requirements should be added here (such as a spell or specific material component(s)).
  • Source: If the item you are copying is not open gaming license, but instead has a "Section 15: Copyright" notice at the bottom, please copy the sourcebooks bibliography info from inside that copyright box and paste it into this section. Once copied, make the titles of any sourcebooks bold, but leave everything from the copyright symbol on as regular text. If the item has no copyright information listed, or the item is part of the Open Gaming License (OGL), just leave this section blank.

Here's an example of a filled-out Magic Item schema:


You can see the resulting page here: Bracers of Armor (Magic Item). Note the price information and how it is laid out, as well as the spacing in the description section. Note also the sourcebooks listed in the "Source" section, and the fact that the book title was made bold.

Advanced: Exclusion Template

If you are comfortable using the templates, and also comfortable creating tables and other complex(-ish) wiki techniques, the Exclusion template can be very helpful to avoid having special wiki text interpreted as part of the template's own schema. In particular, trying to put a table inside of a schema parameter will cause the template to behave oddly.

To avoid this, whenever you are using wiki markup that includes the "|" character (such as tables), you will need to surround the entire table's code with the following template: "{{#!:" in front of the code, and "}}" after the code (do not include the quotes).

This is pretty advanced stuff, so feel free to just defer such situations to Reese. Send him an email or something.

Here's an example of the template in use (inside the "Description" parameter):

{{Template:Spell|Links=[[Bard Spells]] \ [[Cleric Spells]] \ [[Druid Spells]] \ [[Sorcerer/Wizard Spells]]

|School=divination

|Level=bard 0, cleric 0, druid 0, sorcerer/wizard 0

|CastTime=1 standard action

|Components=V, S

|Range=60 ft.

|Target=cone-shaped emanation

|Duration=concentration, up to 1 min/lvl (D)

|Save=none

|SR=no

|Description=You detect magical auras. The amount of information revealed depends on how long you study a particular area or subject.

: ''1st Round:'' Presence or absence of magical auras.

: ''2nd Round:'' Number of different magical auras and the power of the most potent aura.

: ''3rd Round:'' The strength and location of each aura. If the items or creatures bearing the auras are in line of sight, you can make [[Knowledge (Arcana)]] skill checks to determine the school of magic involved in each. (Make one check per aura: DC 10 + 4x spell level, or 10 + 2x caster level for a non-spell effect.) If the aura emanates from a magic item, you can attempt to identify its properties (see [[Spellcraft]]).

Magical areas, multiple types of magic, or strong local magical emanations may distort or conceal weaker auras.

: ''Aura Strength:'' An aura's power depends on a spell's functioning spell level or an item's caster level; see the accompanying table. If an aura falls into more than one category, detect magic indicates the stronger of the two.

{{#!:
:{| border="1" cellpadding="5" style="text-align:center"
|- style="Background:LightBlue"
! rowspan="2" align="left" | Spell or Object || colspan="4" | Aura Power
|- style="Background:LightBlue"
! Faint || Moderate || Strong || Overwhelming
|-
| align="left" | Functioning spell (spell level) || 3rd or lower || 4th-6th || 7th-9th || 10th+ (epic)
|- style="Background:WhiteSmoke"
| align="left" | Magic item (caster level) || 5th or lower || 6th-11th || 12th-20th || 21st+ (epic or artifact)
|}
}}

: ''Lingering Aura:'' A magical aura lingers after its original source dissipates (in the case of a spell) or is destroyed (in the case of a magic item). If detect magic is cast and directed at such a location, the spell indicates an aura strength of dim (even weaker than a faint aura). How long the aura lingers at this dim level depends on its original power:

{{#!:
:{| border="1" cellpadding="5" style="text-align:center"
|- style="Background:LightBlue"
! align="left" | Original Strength || Duration of Lingering Aura
|-
| align="left" | Faint || 1d6 rounds
|- style="Background:WhiteSmoke"
| align="left" | Moderate || 1d6 minutes
|-
| align="left" | Strong || 1d6x10 minutes
|- style="Background:WhiteSmoke"
| align="left" | Overwhelming || 1d6 days
|}
}}

Outsiders and elementals are not magical in themselves, but if they are summoned, the conjuration spell registers. Each round, you can turn to detect magic in a new area. The spell can penetrate barriers, but 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt blocks it.


}}

You can see the resulting page here: Detect Magic (Spell). Note the two tables in the description section were surrounded with the {{#!: and }} markups, to exclude the table code from being parsed as part of the Spell template's schema.