Module:Card: Difference between revisions
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 387: | Line 387: | ||
if isSplit then | if isSplit then | ||
node_container:addClass(' | node_container:addClass('card-split-card') | ||
end | end | ||
| Line 414: | Line 414: | ||
-- Split or regular image | -- Split or regular image | ||
if isSplit then | if isSplit then | ||
imageContainer:addClass(' | imageContainer:addClass('card-split-image') | ||
-- First item: top-left half | -- First item: top-left half | ||
imageContainer:tag('span') | imageContainer:tag('span') | ||
:addClass(' | :addClass('card-split-half') | ||
:addClass(' | :addClass('card-split-half-a') | ||
:wikitext(a.image_wikitext) | :wikitext(a.image_wikitext) | ||
-- Second item: bottom-right half | -- Second item: bottom-right half | ||
imageContainer:tag('span') | imageContainer:tag('span') | ||
:addClass(' | :addClass('card-split-half') | ||
:addClass(' | :addClass('card-split-half-b') | ||
:wikitext(makeSplitIcon(a.split, a.mini)) | :wikitext(makeSplitIcon(a.split, a.mini)) | ||
else | else | ||