Difference between revisions of "Template:Race"

From DDO Compendium
 
(19 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 10: Line 9:
|deities=
|deities=
|background=
|background=
|isiconic=
|pastlifeinfo=
|variantof=
}}
}}
</pre>
</pre>
Line 16: Line 16:
|name = Race
|name = Race
|description = This template is used to render information about a Race. Example of the Template in Use: [[Human]].
|description = This template is used to render information about a Race. Example of the Template in Use: [[Human]].
|category = Player Character Templates
|usesnamedparameters = true
|usesnamedparameters = true
|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
|parameter8name = pastlifeinfo
|parameter8description = Any basic race background information
|parameter8description = Information on what you gain when [[Racial Reincarnation|Racial Reincarnating]] from this race
|parameter9name = isiconic
|parameter9name = variantof
|parameter9description = Is this an iconic race
|parameter9description = The race that this is the variant of, to show the feat list
}}</noinclude>
}}</noinclude>
{{#if: {{{isiconic|}}}|{{IconicsHeader|{{{name|}}}}}|{{RacesHeader|{{{name|}}}}}}}
{{RacesHeader|{{{name|}}}}}
<div>
<div>
<div class="quest">
<div class="quest">
Line 42: 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>}}|Free<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 48: Line 50:
{{{deities}}}</div>}}
{{{deities}}}</div>}}
<div class="box inner-box"><span class="box-header">'''Feats'''</span>
<div class="box inner-box"><span class="box-header">'''Feats'''</span>
<br>{{#DPL:
<br>{{#ifeq: {{FULLPAGENAME}} |Template:Race||{{#DPL:
|category={{{name}}} Racial Feats
|category={{{name}}} Racial Feats
|uses = Template:Feat
|uses = Template:Feat
|noresultsheader=None
|noresultsheader={{#if: {{{variantof|}}}|&nbsp;|None}}}}{{#if: {{{variantof|}}}|{{#DPL:
}}</div>
|category={{{variantof}}} Racial Feats
|uses = Template:Feat
|noresultsheader=None}}}}}}</div>
</div>
</div>
<div class="paragraph-header">Overview</div>
<div class="paragraph-header">Overview</div>
<div class="paragraph-body">{{{overview}}}</div>
<div class="paragraph-body">{{{overview}}}</div>
{{#if: {{{traits|}}}|<div class="paragraph-header">Racial Traits</div><div class="paragraph-body">
{{#if: {{{pastlifeinfo|}}}|<div class="paragraph-header">Racial Past Life Increases</div><div class="paragraph-body">
{{{traits}}}</div>}}{{#if: {{{isiconic|}}}|<div class="paragraph-header">Iconic Past Lives</div>
{{{pastlifeinfo}}}</div>}}{{#if: {{{traits|}}}|<div class="paragraph-header">Racial Traits</div><div class="paragraph-body">
<div class="paragraph-body">
{{{traits}}}</div>}}{{#if: {{{background|}}}|<div class="paragraph-header">Background</div><div class="paragraph-body">
</div>
}}{{#if: {{{background|}}}|<div class="paragraph-header">Background</div><div class="paragraph-body">
{{{background}}}</div>}}
{{{background}}}</div>}}
</div>
</div>
</div>
</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}}}