Template:DRS: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Only add category in main namespace)
mNo edit summary
 
Line 1: Line 1:
<onlyinclude><abbr title="Damage Rider As Source" class="bg3wiki-damage-rider-source">[[Damage rider as source|DRS]]</abbr><includeonly>{{Main namespace only|[[Category:Damage Rider As Source]]}}</includeonly></onlyinclude>
<includeonly><abbr title="Damage Rider As Source" class="bg3wiki-damage-rider-source">[[Damage rider as source|DRS]]</abbr>{{Main namespace only|[[Category:Damage Rider As Source]]}}</includeonly><noinclude>{{Documentation|content=


Inserts the above text, and categorizes the page it is used on as [[:Category:Damage Rider As Source]]. The intended use is to tag damage as a "damage rider that also acts as a source", which is of particular interest to those who want to maximize damage dealt by their characters. Rather than using this template directly, users are recommended to instead use the <tt>drs=t</tt> parameter on [[Template:DamageText]]:
Inserts the above text, and categorizes the page it is used on as [[:Category:Damage Rider As Source]]. The intended use is to tag damage as a "damage rider that also acts as a source", which is of particular interest to those who want to maximize damage dealt by their characters. Rather than using this template directly, users are recommended to instead use the <tt>drs=t</tt> parameter on [[Template:DamageText]]:


=== Example ===
== Example ==
<pre>
{{Template demo
{{DamageText|1d4|Thunder|drs=t}}
| <nowiki>{{DamageText|1d4|Thunder|drs=t}}</nowiki>
</pre>
}}
 
Result: {{DamageText | 1d4 | Thunder}}<abbr title="Damage Rider As Source" class="bg3wiki-damage-rider-source">[[Damage rider as source|DRS]]</abbr>


}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>

Latest revision as of 10:53, 19 January 2025

Template documentation

Inserts the above text, and categorizes the page it is used on as Category:Damage Rider As Source. The intended use is to tag damage as a "damage rider that also acts as a source", which is of particular interest to those who want to maximize damage dealt by their characters. Rather than using this template directly, users are recommended to instead use the drs=t parameter on Template:DamageText:

Example

Markup Renders as
{{DamageText|1d4|Thunder|drs=t}}
1d4Damage TypesThunderDRS