Template:Card preview: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia mNo edit summary |
imported>Elaeagnifolia No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><templatestyles src="Card preview/styles.css" /> | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><templatestyles src="Card preview/styles.css" /> | ||
<div class="filter-element card-preview" data-name="{{#replace:{{{Page|}}}|"|"}}" data-rarity=" | <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/> | ||
[[{{{Page|}}}]] | [[{{{Page|}}}]] | ||
</div></includeonly> | </div></includeonly> |
Revision as of 05:40, 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 }}
[[]]
The above documentation is transcluded from Template:Card preview/doc. (edit | history)