Difference between revisions of "Template:5e24 Background"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Created page with "<noinclude> <!-- {{#cargo_declare: _table = 5e24_Background |Name = String |Sort_Text = String |Ability = List (, ) of String |Feat = String |Featnote = String |Skill = List (...")
 
m
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
'''Feat:''' {{#if: {{{feat|}}}|{{5e24|{{{feat}}}}}|None}} {{#if: {{{featnote|}}}|({{{featnote}}})|}}<br />
 
'''Feat:''' {{#if: {{{feat|}}}|{{5e24|{{{feat}}}}}|None}} {{#if: {{{featnote|}}}|({{{featnote}}})|}}<br />
 
'''Skill Proficiencies:''' {{#arraymap: {{{skills|}}}|, |xSkill|{{5e24|xSkill}}}}<br />
 
'''Skill Proficiencies:''' {{#arraymap: {{{skills|}}}|, |xSkill|{{5e24|xSkill}}}}<br />
 +
'''Tool Proficiency:''' {{{tool|}}} {{#if: {{{toolnote|}}}|({{{toolnote}}})|}}<br />
 
'''Equipment:''' {{#if: {{{equipment|}}}|{{{equipment}}}|None}}<br />
 
'''Equipment:''' {{#if: {{{equipment|}}}|{{{equipment}}}|None}}<br />
  
Line 26: Line 27:
 
-->
 
-->
 
{{#if: {{{nodb|}}}|<!--skip-->|<!--Data Store-->
 
{{#if: {{{nodb|}}}|<!--skip-->|<!--Data Store-->
{{#set: Name = {{{name|}}}}}{{#set: SortText = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}|}}}}{{#arraymap: {{{abilities|}}}|, |xAbl|{{#set: Ability = xAbl}}|}}{{#set: Feat = {{{feat|}}}}}{{#set: FeatNote = {{featnote|}}}}{{#arraymap: {{{skills|}}}|, |xSkill|{{#set: Skill = xSkill}}|}}{{#set: Tool = {{tool|}}}}{{#set: Equipment = {{{equipment|}}}}}{{#set: Summary = {{{summary|}}}}}
+
{{#set: Name = {{{name|}}}}}{{#set: SortText = {{#if: {{{sorttext|}}}|{{{sorttext}}}|{{PAGENAME}}|}}}}{{#arraymap: {{{abilities|}}}|, |xAbl|{{#set: Ability = xAbl}}|}}{{#set: Feat = {{{feat|}}}}}{{#set: FeatNote = {{featnote|}}}}{{#arraymap: {{{skills|}}}|, |xSkill|{{#set: Skill = xSkill}}|}}{{#set: Tools = {{{tool|}}}}}{{#set: Equipment = {{{equipment|}}}}}{{#set: Summary = {{{summary|}}}}}
 
<!-- Categories-->
 
<!-- Categories-->
 
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY: {{{sorttext}}} 5e24}}|{{#if: {{{name|}}}|{{DEFAULTSORTKEY: {{{name}}} 5e24}}|{{DEFAULTSORTKEY: {{BASEPAGENAME}} 5e24}}|}}|}}[[Category:5e24 Backgrounds]]
 
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY: {{{sorttext}}} 5e24}}|{{#if: {{{name|}}}|{{DEFAULTSORTKEY: {{{name}}} 5e24}}|{{DEFAULTSORTKEY: {{BASEPAGENAME}} 5e24}}|}}|}}[[Category:5e24 Backgrounds]]
Line 54: Line 55:
 
|featnote= <!--notes on feat-->
 
|featnote= <!--notes on feat-->
 
|pointer= <!--blank, true-->
 
|pointer= <!--blank, true-->
 +
|toolnote= <!--notes on tool-->
 
|nodb= <!--blank, true-->
 
|nodb= <!--blank, true-->
 
</pre>
 
</pre>

Latest revision as of 01:19, 21 January 2025

Use[edit]

Describes Background for 5e (2024) D&D.

Syntax[edit]

{{5e24 Background
|name=
|sorttext=
|refs=
|abilities=
|feat= 
|skills= 
|tool= 
|equipment=
|summary=
|description=
}}

Optional Entries[edit]

|featnote= <!--notes on feat-->
|pointer= <!--blank, true-->
|toolnote= <!--notes on tool-->
|nodb= <!--blank, true-->

Example[edit]

{{5e24 Background
|name=Foo
|sorttext=
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Nothing (5e24)|pages=24}}</ref>
|abilities=Dexterity, Wisdom, Charisma
|feat=Alert
|skills=Acrobatics, Stealth 
|tool=Brewer's Tools
|equipment=Choose A or B: (A) Backpack, Brewer's Tools, Crowbar, Traveler's Clothes, 15 GP; or (B) 50 GP
|summary=Fool
|description=You were a fool or a village idiot
}}

Produces[edit]

Foo [1] (background)
Ability Scores: Dexterity, Wisdom, Charisma
Feat: Alert
Skill Proficiencies: Acrobatics, Stealth
Tool Proficiency: Brewer's Tools
Equipment: Choose A or B: (A) Backpack, Brewer's Tools, Crowbar, Traveler's Clothes, 15 GP; or (B) 50 GP

You were a fool or a village idiot
  1. p. 24.