Difference between revisions of "Template:Race"

From DDO Compendium
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{Template:Race
{{Template:Race
|name =  
|name =  
|ddopoints=
|unlock=
|favorunlock=
|overview=
|overview=
|traits=
|traits=
Line 11: Line 10:
|background=
|background=
|pastlifeinfo=
|pastlifeinfo=
|expansion=
|variantof=
|variantof=
}}
}}
Line 22: Line 20:
|parameter1name = name
|parameter1name = name
|parameter1description = The race name.
|parameter1description = The race name.
|parameter2name = ddopoints
|parameter2name = unlock
|parameter2description = The cost of this race if it is not free
|parameter2description = This specifies information on how to unlock. Use one of the drop location templates to specify it. The list of templates can be found here: [[:Category:DropLocation Templates]]. If there is more than one, put each on its own line starting with an asterisk.
|parameter3name = favorunlock
|parameter3name = overview
|parameter3description = Information about a favor unlock for this race
|parameter3description = Overview of the class
|parameter4name = overview
|parameter4name = traits
|parameter4description = Overview of the class
|parameter4description = Specific traits given to the race - bulleted list
|parameter5name = traits
|parameter5name = startstat
|parameter5description = Specific traits given to the race - bulleted list
|parameter5description = This is the abilities the races starts with during character creation.  Use [[Template:RaceStartStat]].
|parameter6name = startstat
|parameter6name = deities
|parameter6description = This is the abilities the races starts with during character creation.  Use [[Template:RaceStartStat]].
|parameter6description = The list of deities this race can worship - bulleted list
|parameter7name = deities
|parameter7name = background
|parameter7description = The list of deities this race can worship - bulleted list
|parameter7description = Any basic race background information
|parameter8name = background
|parameter8description = Any basic race background information
|parameter8name = pastlifeinfo
|parameter8name = pastlifeinfo
|parameter8description = Information on what you gain when [[Racial Reincarnation|Racial Reincarnating]] from this race
|parameter8description = Information on what you gain when [[Racial Reincarnation|Racial Reincarnating]] from this race
|parameter9name = expansion
|parameter9name = variantof
|parameter9description = The expansion this is available in
|parameter9description = The race that this is the variant of, to show the feat list
|parameter10name = variantof
|parameter10description = The race that this is the variant of, to show the feat list
}}</noinclude>
}}</noinclude>
{{RacesHeader|{{{name|}}}}}
{{RacesHeader|{{{name|}}}}}
Line 49: Line 43:
<div class="box inner-box">
<div class="box inner-box">
<span class="box-header">'''Race Information'''</span>
<span class="box-header">'''Race Information'''</span>
{{#if: {{{ddopoints|}}}|'''Cost:''' {{formatnum:{{{ddopoints}}}}} [[File:DDOPointsIcon.png|link=DDO Points]]<br>{{#if: {{{favorunlock|}}}|'''Favor Unlock:''' {{{favorunlock}}}<br>}}|{{#if: {{{expansion|}}}||Free<br>}}}}{{#if: {{{expansion|}}}|'''Expansion:''' [[{{{expansion}}}]]<br>}}</div>
</div>
<div class="box inner-box"><span class="box-header">'''Unlock:'''</span>{{#if: {{{unlock|}}}|{{WrapMultiLine|{{{unlock}}}}}|* Free}}</div>
<div class="box inner-box"><span class="box-header">'''Racial Enhancement Tree'''</span><br>[[{{{name}}} Tree]]</div>
<div class="box inner-box"><span class="box-header">'''Racial Enhancement Tree'''</span><br>[[{{{name}}} Tree]]</div>
<div class="box inner-box"><span class="box-header">'''Starting Ability Scores'''</span><br>{{{startstat}}}</div>
<div class="box inner-box"><span class="box-header">'''Starting Ability Scores'''</span><br>{{{startstat}}}</div>
Line 58: Line 53:
|category={{{name}}} Racial Feats
|category={{{name}}} Racial Feats
|uses = Template:Feat
|uses = Template:Feat
|noresultsheader={{#if: {{{variantof|}}}|&nbsp;|None}}
|noresultsheader={{#if: {{{variantof|}}}|&nbsp;|None}}}}{{#if: {{{variantof|}}}|{{#DPL:
}}{{#if: {{{variantof|}}}|{{#DPL:
|category={{{variantof}}} Racial Feats
|category={{{variantof}}} Racial Feats
|uses = Template:Feat
|uses = Template:Feat
|noresultsheader=None
|noresultsheader=None}}}}}}</div>
}}}}}}</div>
</div>
</div>
<div class="paragraph-header">Overview</div>
<div class="paragraph-header">Overview</div>

Latest revision as of 16:19, 24 March 2025

{{Template:Race
|name = 
|unlock=
|overview=
|traits=
|startstat=
|deities=
|background=
|pastlifeinfo=
|variantof=
}}

Race[edit]

This template is used to render information about a Race. Example of the Template in Use: Human.

Usage[edit]

Parameter Documentation
nameThe race name.
unlockThis specifies information on how to unlock. Use one of the drop location templates to specify it. The list of templates can be found here: Category:DropLocation Templates. If there is more than one, put each on its own line starting with an asterisk.
overviewOverview of the class
traitsSpecific traits given to the race - bulleted list
startstatThis is the abilities the races starts with during character creation. Use Template:RaceStartStat.
deitiesThe list of deities this race can worship - bulleted list
backgroundAny basic race background information
pastlifeinfoInformation on what you gain when Racial Reincarnating from this race
variantofThe race that this is the variant of, to show the feat list

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


Race Information

Unlock:
  • Free
Racial Enhancement Tree
[[{{{name}}} Tree]]
Starting Ability Scores
{{{startstat}}}
Feats
Overview
{{{overview}}}