Template:5e Background Pointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:


<span style="font-size: 1.4em;">'''''{{{name|Name Missing}}}'''''</span>
<span style="font-size: 1.4em;">'''''{{{name|Name Missing}}}'''''</span>
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY: {{{sorttext}}} 5e}}|{{DEFAULTSORTKEY: {{{name}}} 5e}}|}}[[Category:5e Backgrounds]]{{#if: {{{summary|}}}|[[Summary::{{{summary|}}}| ]]|}}{{#set: Canon=true}}
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY: {{{sorttext}}} 5e}}|{{DEFAULTSORTKEY: {{{name}}} 5e}}|}}[[Category:5e Backgrounds]]{{#if: {{{summary|}}}|[[Summary::{{{summary|}}}| ]]|}}


'''Skill Proficiencies:''' {{#if: {{{skillsalt|}}}|{{{skillsalt}}}{{#set: Skill={{{skillsalt}}}}}|{{#if: {{{skills|}}}|{{5e Skills|skills={{{skills}}}}}|}}|}}<br>
'''Skill Proficiencies:''' {{#if: {{{skillsalt|}}}|{{{skillsalt}}}|{{#if: {{{skills|}}}|{{5e Skills|skills={{{skills}}}}}|}}|}}<br>
'''Tool Proficiencies:''' {{#if: {{{tools|}}}|{{{tools}}}{{#set: Tools={{{tools}}}}}|}}<br>
'''Tool Proficiencies:''' {{#if: {{{tools|}}}|{{{tools}}}<br>
'''Languages:''' {{#if: {{{languages|}}}|{{{languages}}}{{#set: Languages={{{languages}}}}}|}}<br />{{#if: {{{specialtyname|}}}|'''Specialty:''' [[Specialty::{{{specialtyname}}}]]<br />|}}
'''Languages:''' {{#if: {{{languages|}}}|{{{languages}}}|}}<br />{{#if: {{{specialtyname|}}}|'''Specialty:''' [[Specialty::{{{specialtyname}}}]]<br />|}}
'''Feature:''' {{#if: {{{featurename|}}}|{{#set: Features={{{featurename}}}}}{{{featurename}}}|}}
'''Feature:''' {{#if: {{{featurename|}}}|{{{featurename}}}|}}


'''Unofficial Description:''' {{{description|''No description written.''}}}
'''Unofficial Description:''' {{{description|''No description written.''}}}

Revision as of 10:12, 6 May 2020

This template adds rows to the table "5e_Background", which is declared by the template 5e Background. View table.

</includeonly>

Template documentation (for the above template, sometimes hidden or invisible)

Use

To be used on pointer pages that describe a published background.

Syntax

{{5e Background Pointer
|name=
|sorttext=
|refs=
|skills=
|skillsalt= <!-- for skill list with extra verbage -->
|tools=
|languages=
|equipment=
|specialtyname=
|featurename=
|summary=
|description= <!-- UNOFFICIAL, nonplagiarized description -->
}}

Example

{{5e Background Pointer
|name=Foo
|sorttext=
|refs=<ref name="foor">{{Cite Pub|Foo's Guide to Everything|pages=65}} Licensed: [[Public Domain]].</ref>
|skills=Performance, Persuasion
|tools=Cartagrapher's Tools
|languages=One of choice
|equipment=Common clothes
|specialtyname=
|featurename=Foo's Errand
|summary=Used to be a Foo
|description=Foo is a type of fool <!-- UNOFFICIAL, nonplagiarized description -->
}}

produces...


Foo is a background in 5th edition.

Foo

Skill Proficiencies: Performance, Persuasion
Tool Proficiencies: {{#if: Cartagrapher's Tools|Cartagrapher's Tools
Languages: One of choice
Feature: Foo's Errand

Unofficial Description: Foo is a type of fool