Template:Card preview: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia No edit summary |
imported>Elaeagnifolia No edit summary |
||
Line 2: | Line 2: | ||
<div class="filter-element card-preview" data-name="{{#replace:{{{page|}}}|"|"}}" data-rarity="{{{rarity|}}}" data-character="{{{character|}}}" data-attribute="{{{attribute|}}}"> | <div class="filter-element card-preview" data-name="{{#replace:{{{page|}}}|"|"}}" data-rarity="{{{rarity|}}}" data-character="{{{character|}}}" data-attribute="{{{attribute|}}}"> | ||
[[File:{{{page|}}} preview.png|link=]]<br/> | [[File:{{{page|}}} preview.png|link=]]<br/> | ||
{{{rarity|}}} - {{Attribute icon|{{{attribute|}}}|size= | [{{{rarity|}}}] - {{Attribute icon|{{{attribute|}}}|size=20px}} {{{attribute|}}}<br/> | ||
[[{{{page|}}}]] | [[{{{page|}}}]] | ||
</div></includeonly> | </div></includeonly> |
Revision as of 05:50, 11 May 2021
Description
Renders a Card preview element to be used on the Cards page using Category:Card preview images, name, rarity, and attribute.
Usage
{{Card preview |page= |character= |rarity= |attribute= }}
Example
{{Card preview |page=Luke "Once Upon a Time" |character=Luke Pearce |rarity=SR |attribute=Logic }}
[SR] - Logic
Luke "Once Upon a Time"
The above documentation is transcluded from Template:Card preview/doc. (edit | history)