Template:5e Background Pointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly> {{{name|}}} is a {{srd5lc|Background}} in 5th edition. <span style="font-size: 1.4em;">'''''{{{name|Name Missing}}}'''''</span> {{#if: {{{sorttext|}}}|{{DEFAULT...")
 
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
{{#cargo_attach:
_table = 5e_Background
}}<!--
|Name = String
|Sort_Text = String
|Skills = List (, ) of Wikitext String
|Skills_Alt = Wikitext String
|Tools = List (, ) of Wikitext String
|Languages = List (, ) of Wikitext String
|Equipment = List (, ) of Wikitext String
|Specialty_Name = Wikitext String
|Feature_Name = String
|Feature_Desc = Wikitext
|Characteristics = {{{suggestedchar|}}}
|Summary = Wikitext
}}--></noinclude><includeonly>
{{{name|}}} is a {{srd5lc|Background}} in 5th edition.
{{{name|}}} is a {{srd5lc|Background}} in 5th edition.


<span style="font-size: 1.4em;">'''''{{{name|Name Missing}}}'''''</span>
<span style="font-size: 1.4em;">'''''{{{name|Name Missing}}}'''''</span> {{{refs|}}}
{{#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 />
'''Feature:''' {{#if: {{{featurename|}}}|{{#set: Features={{{featurename}}}}}{{{featurename}}}|}}
'''Equipment:''' {{#if: {{{equipment|}}}|{{{equipment}}}|}}<br />{{#if: {{{specialtyname|}}}|<br />'''Specialty:''' {{{specialtyname}}}<br />|}}
'''Feature:''' {{#if: {{{featurename|}}}|{{{featurename}}}|}}


'''Unofficial Description:''' {{{description|''No description written.''}}}
'''Unofficial Description:''' {{{description|''No description written.''}}}
Line 67: Line 84:
==== Variant {{{name}}}: {{{variant2}}} ====
==== Variant {{{name}}}: {{{variant2}}} ====
{{{variant2desc|No variant2desc written.}}} }}
{{{variant2desc|No variant2desc written.}}} }}
 
<!--
Date Store
-->
{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = 5e_Background
|Name = {{{name|}}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}|}}
|Skills = {{{skills|}}}
|Skills_Alt = {{{skillsalt|}}}
|Tools = {{{tools|}}}
|Languages = {{{languages|}}}
|Equipment = {{{equipment|}}}
|Specialty_Name = {{{specialtyname|}}}
|Feature_Name = {{{featurename|}}}
|Summary = {{{summary|}}}
}}}}
</includeonly><noinclude>
</includeonly><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Latest revision as of 11:41, 11 March 2022

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

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

Use[edit]

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

Syntax[edit]

{{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[edit]

{{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 [1]

Skill Proficiencies: Performance, Persuasion
Tool Proficiencies: Cartagrapher's Tools
Languages: One of choice
Equipment: Common clothes
Feature: Foo's Errand

Unofficial Description: Foo is a type of fool