Using Templates: Difference between revisions

From Epic Path
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 24: Line 24:


<pre>
<pre>
[[Category:Metamagic Feats]]
[[Category:Metamagic Feats]][[Category:Bard]][[Category:Cleric]][[Category:Druid]][[Category:Paladin]][[Category:Sorcerer]][[Category:Wizard]]
[[Category:Bard]]
[[Category:Cleric]]
[[Category:Druid]]
[[Category:Paladin]]
[[Category:Sorcerer]]
[[Category:Wizard]]


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

Revision as of 13:07, 7 April 2016

Epic Path \

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 Reese. If you have any questions about this, please ask Reese.

Feats Template

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

{{Template:Feats
| Category=

| Flavor=

| Prerequisites=

| Benefit=

}}
  • 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=None

| Benefit=In melee, every time you roll to see if you missed an attack because of 
concealment (see Combat), roll twice and choose the best result.

An invisible attacker gets no advantages related to hitting you in melee. That is, 
you don't lose your Dexterity bonus to Armor Class, and the attacker doesn't get 
the usual +2 bonus for being invisible. The invisible attacker's bonuses do still 
apply for ranged attacks, however.

You do not need to make Acrobatics skill checks to move at full speed while 
blinded.

'''Normal''': Regular attack roll modifiers for invisible attackers trying to hit 
you apply, and you lose your Dexterity bonus to AC. The speed reduction for 
darkness and poor visibility also applies.

'''Special''': The Blind-Fight feat is of no use against a character who is the 
subject of a blink spell.
}}

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
| Links=[[Alchemist Extracts]] \ [[Bard Spells]] \ [[Cleric Spells]] \ [[Druid Spells]] \ [[Paladin Spells]] \ [[Ranger Poultices]] \ [[Sorcerer/Wizard Spells]]

| Level=

| School=

| CastTime=

| Components=

| Range=

| Target=

| Duration=

| Save=

| SR=

| Description=

| Source=

}}
  • Links: The schema includes links to the spells page for every spell-casting character class. Remove any which are not able to cast the spell in question (which can be seen in the "Level" section).
  • 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.
  • Source: If the spell 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 spell has no copyright information listed, or the spell is part of the Open Gaming License (OGL), just leave this section blank.

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


You can see the resulting page here: Daze (Spell). Note that only the "Bard" and "Sorcerer/Wizard" links remain in the schema, since only those classes have access to this cantrip. Also note the Copyright information in the "Source" section and note how the title of each book was bolded manually.

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=

| CL=

| Aura=

| Weight=

| Description=

| 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.
  • 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./level (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 15 + spell level, or 15 + 1/2 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.

Detect magic can be made permanent with a permanency spell.
}}

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.