Difference between revisions of "Template:BonusTypeNameConversion"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude> {{TemplateDocumentation |name=BonusTypeNameConversion |description= Template is used to convert the bonus type name correctly. They are named differently in the t...") |
MNDeveloper (talk | contribs) |
||
Line 15: | Line 15: | ||
{{#switch: {{lc:{{{1}}}}} | {{#switch: {{lc:{{{1}}}}} | ||
| insight | insightful = {{#if: {{{2|}}} | Insightful | Insight}} | | insight | insightful = {{#if: {{{2|}}} | Insightful | Insight}} | ||
#default= {{{1}}} | |#default= {{{1}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 17:21, 6 December 2018
BonusTypeNameConversion[edit]
Template is used to convert the bonus type name correctly. They are named differently in the title than in the description.
Example Usage | |
{{BonusTypeNameConversion|Insight|True}} | Insightful |
{{BonusTypeNameConversion|Insight|False}} | Insightful |
Usage[edit]
{{BonusTypeNameConversion|(Bonus Type)|(For Title)}}
Parameter Documentation | |
Bonus Type | The Type of bonus |
For Title | To convert the name for the title of the enchantement, put any value here. Blank is for the body. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}}