Template:DivineItemboxDisplayFormat: Difference between revisions

From DemonCrawl Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><div class="infobox" style="float:right; clear:right;">
<includeonly><div class="infobox" style="float:right; clear:right;">
<div class="infobox-title" {{#if:{{{Category|}}}| style="background-color:{{#switch: {{{Category}}} | Consumable = #10df80 | Passive = #b3b4b4 | Legendary = #12b4f8 | Omen = #dc1f1f | Magic = #3c9ffb}};"}}>Divine {{PAGENAME}}</div>
<div class="infobox-title" {{#if:{{{Category|}}}| style="background-color:{{#switch: {{{Category}}} | {{ItemCategory |Category = Consumable}} = #10df80 | {{ItemCategory |Category = Passive}} = #b3b4b4 | {{ItemCategory |Category = Legendary}} = #12b4f8 | {{ItemCategory |Category = Omen}} = #dc1f1f | {{ItemCategory |Category = Magic}}= #3c9ffb}};"}}>Divine {{PAGENAME}}</div>
{{#ifexist: Media:{{#replace:Divine {{PAGENAME}}| |_}}.png | <div class="infobox-image">[[File:{{#replace:Divine {{PAGENAME}}| |_}}.png]]</div>}}
{{#ifexist: Media:{{#replace:Divine {{PAGENAME}}| |_}}.png | <div class="infobox-image">[[File:{{#replace:Divine {{PAGENAME}}| |_}}.png]]</div>}}
<table>
<table>

Latest revision as of 18:01, 18 August 2020

This is the formatting template for the dummy infobox for displaying the information of Divine Items on the corresponding normal item page.

See also