Difference between revisions of "Template:Race"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(23 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|deities= | |deities= | ||
|background= | |background= | ||
|pastlifeinfo= | |||
|expansion= | |||
|variantof= | |||
|vipfree= | |||
}} | }} | ||
</pre> | </pre> | ||
{{TemplateDocumentation | {{TemplateDocumentation | ||
|name = Race | |name = Race | ||
|description = This template is used to render information about a | |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 | ||
Line 32: | Line 37: | ||
|parameter8name = background | |parameter8name = background | ||
|parameter8description = Any basic race background information | |parameter8description = Any basic race background information | ||
|parameter9name = pastlifeinfo | |||
|parameter9description = Information on what you gain when [[Racial Reincarnation|Racial Reincarnating]] from this race | |||
|parameter10name = expansion | |||
|parameter10description = The expansion this is available in | |||
|parameter11name = variantof | |||
|parameter11description = The race that this is the variant of, to show the feat list | |||
|parameter12name = vipfree | |||
|parameter12description = Flag to specify that this is free to VIPs | |||
}}</noinclude> | }}</noinclude> | ||
{{RacesHeader|{{{name|}}}}} | {{RacesHeader|{{{name|}}}}} | ||
Line 39: | Line 52: | ||
<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 | {{#if: {{{ddopoints|}}}|'''Cost:''' {{formatnum:{{{ddopoints}}}}} [[File:DDOPointsIcon.png|link=DDO Point]]<br>}}{{#if: {{{favorunlock|}}}|'''Favor Unlock:''' {{{favorunlock}}}<br>}}{{#if: {{{vipfree|}}}|Free to VIPs<br>}}{{#if: {{{expansion|}}}|'''Expansion:''' {{RenderLink|{{{expansion}}}}}<br>}}</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 45: | Line 58: | ||
{{{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|}}}| |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"> | ||
{{{pastlifeinfo}}}</div>}}{{#if: {{{traits|}}}|<div class="paragraph-header">Racial Traits</div><div class="paragraph-body"> | |||
{{{traits}}}</div>}}{{#if: {{{background|}}}|<div class="paragraph-header">Background</div><div class="paragraph-body"> | {{{traits}}}</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 01:06, 13 June 2024
{{Template:Race |name = |ddopoints= |favorunlock= |overview= |traits= |startstat= |deities= |background= |pastlifeinfo= |expansion= |variantof= |vipfree= }}
Race[edit]
This template is used to render information about a Race. Example of the Template in Use: Human.
Usage[edit]
Parameter Documentation | |
name | The race name. |
ddopoints | The cost of this race if it is not free |
favorunlock | Information about a favor unlock for this race |
overview | Overview of the class |
traits | Specific traits given to the race - bulleted list |
startstat | This is the abilities the races starts with during character creation. Use Template:RaceStartStat. |
deities | The list of deities this race can worship - bulleted list |
background | Any basic race background information |
pastlifeinfo | Information on what you gain when Racial Reincarnating from this race |
expansion | The expansion this is available in |
variantof | The race that this is the variant of, to show the feat list |
vipfree | Flag to specify that this is free to VIPs |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Race Information
Racial Enhancement Tree
[[{{{name}}} Tree]]
[[{{{name}}} Tree]]
Starting Ability Scores
{{{startstat}}}
{{{startstat}}}
Feats
Overview
{{{overview}}}