Template:Book sections/doc

From PathfinderWiki

{{Book sections}} produces a list of contents for a publication. It takes its information from the publication's fact database entry. This template employs {{Book sections/Section}} to render each section.

Template

Basic

This template uses the Facts article with the same name as the current article by default. Assuming we are on the article City of Seven Spears, using:

{{Book sections}}

is equivalent to manually specifying:

{{Book sections|Facts:City of Seven Spears}}

which results in:

Foreword
p. 4
City of Seven Spears
p. 6
Expedition to Saventh-Yhi
p. 58
The Path of Juju
p. 66
Pregenerated Characters
p. 90
Preview
p. 92

These sections are

Advanced

To display the template for a specific Facts article, such as Facts:Dark Archive (sourcebook), pass the Facts article name as the first parameter:

{{Book sections|Facts:Dark Archive (sourcebook)}}

which results in:

Introduction
pp. 4–5
The Archivist's Training Manual
pp. 6–49
The Stolen Casefiles
pp. 50–215
pp. 52–73
  • Eyes in the Forest, Tracks in the Mud
    • Creature Aftermath Feats
    • Experimental Adjustment
    • Mutant Adjustment
    • Primeval Adjustment
    • Rumored Adjustment
    • Cryptid Gear
    • Cryptid Feats
    • The Beast of Birchfrost
  • Incident Report: Swirls in the Sand
  • Incident Report: On the Topic of the Twin Village
Secret Societies
pp. 74–93
  • A Web of Connections
    • Occult Skill Feats
    • Secret Society Adjustment
    • Secret Society Gear
    • Membership Services
    • Shaking the Helping Hand
  • Incident Report: The Empty Vale
  • Incident Report: The Anvil and the Duck
Deviant Abilities
pp. 94–115
  • Spontaneous Ignition of Supernatural Might
    • Deviant Abilities
    • Deviant Spells
    • A Song of Making and Unmaking
  • Incident Report: The Inn of Healing
  • Incident Report: Sounds of Violence
Mirrors and Imposters
pp. 116–135
  • Doors into the Echoing Pale
    • Reflection Versatile Heritage
    • Hazards of Perception
    • Alter Ego Archetype
    • Lady of the Harvest
  • Incident Report: Village of the Lost
  • Incident Report: The Criminal Hammer
Cults
pp. 136–155
  • Prayers Uttered in Darkness
    • Living Vessel Archetype
    • Apocryphal Domain Spells
    • Cult Rituals
    • The Verdure of Iblydos
  • Incident Report: The Missing Moment
  • Incident Report: The Wood Pile
Curses and Pacts
pp. 156–177
  • A Chain of Consequences to Bind the Soul
    • Pacts Witch Patron
    • Cursed Items
    • Tempting Curses
    • Bargained Contracts
    • Pactbinder Archetype
    • Curse Maelstrom Archetype
    • Wishes in Krasnoprudny
  • Incident Report: Land of Second Souls
  • Incident Report: The Sacral King
Temporal Abnormalities
pp. 178–195
  • Twists in the Endless River
    • Temporal Spells
    • Time Mage Archetype
    • Chronoskimmer Archetype
    • Time Oracle Mystery
    • Tomorrow's Feast
pp. 196–215
  • Lands of Thought and Imagination
    • Mindscapes Statistics
    • Psychic Duels
    • Psychic Duelist Archetype
    • Mind Smith Archetype
    • Sleepwalker Archetype
    • The Last Dream
Spell & Item Lists, Glossary & Index
p. 216

Facts formatting

This template formats certain facts in a specific manner.

Titles

Section titles can contain wikitext.

Authors

If multiple authors worked on a section, list each author separately.

  • If editing the Facts source, use a semicolon-delimited list of plain text without wikilink markup in the Author parameter of {{Facts/Book/Section}}.
  • If editing the Facts as a form, enter each author separately in the Author field of the section's entry in the Sections key.

For example, for a section with two authors, that section's Facts source should list:

{{Facts/Book/Section
...
|Author=Wolfgang Baur;Greg A. Vaughan

This template then renders the authors of that section as "Wolfgang Baur, Greg A. Vaughan" as on the article Fortress of the Stone Giants.

Subsections

If a section contains subsections, add them as separate Section items and enable the Is subsection Boolean parameter.

If editing a Facts article's source, the parameter name is case sensitive and begins with a capital I:

{{Facts/Book/Section|Is subsection=y

Any other spelling or capitalization will have no effect on the section.