Difference between revisions of "Template:BonusTypeNameConversion"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
|example2=<nowiki>{{BonusTypeNameConversion|Insight}}</nowiki> | |example2=<nowiki>{{BonusTypeNameConversion|Insight}}</nowiki> | ||
|example2output={{BonusTypeNameConversion|Insight}} | |example2output={{BonusTypeNameConversion|Insight}} | ||
|example3=<nowiki>{{BonusTypeNameConversion||True}}</nowiki> | |example3=<nowiki>{{BonusTypeNameConversion|Filigree|True}}</nowiki> | ||
|example3output={{BonusTypeNameConversion||True}} | |example3output={{BonusTypeNameConversion|Filigree|True}} | ||
|example4=<nowiki>{{BonusTypeNameConversion|}}</nowiki> | |example4=<nowiki>{{BonusTypeNameConversion|Filigree}}</nowiki> | ||
|example4output={{BonusTypeNameConversion|}} | |example4output={{BonusTypeNameConversion|Filigree}} | ||
|parameter1name = Bonus Type | |parameter1name = Bonus Type | ||
|parameter1description = The Type of bonus | |parameter1description = The Type of bonus | ||
Line 19: | Line 19: | ||
| insight | insightful = {{#if: {{{2|}}} | Insightful | Insight}} | | insight | insightful = {{#if: {{{2|}}} | Insightful | Insight}} | ||
| enhancement | enhanced = {{#if: {{{2|}}} | Enhanced | Enhancement}} | | enhancement | enhanced = {{#if: {{{2|}}} | Enhanced | Enhancement}} | ||
| equipment | equip = {{#if: {{{2|}}} | Equipped | Equipment}} | |||
| quality = Quality | |||
| determined | determination | determine = {{#if: {{{2|}}} | Determined | Determination}} | | determined | determination | determine = {{#if: {{{2|}}} | Determined | Determination}} | ||
| competence = {{#if: {{{2|}}}||Competence}} | |||
| primal = {{#if: {{{2|}}} || Primal}} | |||
| unique= | |||
| filigree={{#if: {{{2|}}}||Unique}} | |||
|#default= {{{1|}}} | |#default= {{{1|}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Latest revision as of 17:18, 25 January 2025
BonusTypeNameConversion[edit]
Template is used to convert the bonus type name correctly. They are named differently in the title than in the description. Currently only insight/insightful has a conversion.
Example Usage | |
{{BonusTypeNameConversion|Insight|True}} | Insightful |
{{BonusTypeNameConversion|Insight}} | Insight |
{{BonusTypeNameConversion|Filigree|True}} | |
{{BonusTypeNameConversion|Filigree}} | Unique |
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.