Template:GrantedByItems/Format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><onlyinclude>{{#lvardef: page | {{#explode: {{{1}}}|:|0}}}}{{#lvardef: recharge | {{#explode: {{{1}}}|:|1}}}}{{MdRarityItem|{{#lvar: page}}}} {{#if: {{#lvar:recharge}} | ({{Recharge|{{#lvar: recharge}}}}) |}}</onlyinclude></includeonly><noinclude>{{documentation|content= Displays the item as Template:MdRarityItem but with Template:Recharge if specified by using a colon ':'. Intended to be used with cargo queries. e.g. <pre>{{GrantedByItems/Format|Am...")
 
No edit summary
Line 1: Line 1:
<includeonly><onlyinclude>{{#lvardef: page | {{#explode: {{{1}}}|:|0}}}}{{#lvardef: recharge | {{#explode: {{{1}}}|:|1}}}}{{MdRarityItem|{{#lvar: page}}}} {{#if: {{#lvar:recharge}} | ({{Recharge|{{#lvar: recharge}}}}) |}}</onlyinclude></includeonly><noinclude>{{documentation|content=
<includeonly><onlyinclude>{{#lvardef: page | {{#explode: {{{1}}}|:|0}}}}{{#lvardef: recharge | {{#explode: {{{1}}}|:|1}}}}{{MdRarityItem|{{#lvar: page}}}} {{#if: {{#lvar:recharge}} | ({{Recharge|{{#lvar: recharge}}}}) |}}</onlyinclude></includeonly><noinclude>
Displays the item as [[Template:MdRarityItem]] but with [[Template:Recharge]] if specified by using a colon ':'. Intended to be used with cargo queries.
Displays the item as [[Template:MdRarityItem]] but with [[Template:Recharge]] if specified by using a colon ':'. Intended to be used with cargo queries.



Revision as of 09:18, 21 November 2023

Displays the item as Template:MdRarityItem but with Template:Recharge if specified by using a colon ':'. Intended to be used with cargo queries.

e.g.

{{GrantedByItems/Format|Amulet of Silvanus:Long Rest}}

Amulet of Silvanus ( Recharge: Long rest)