Editing Module:Card
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 375: | Line 375: | ||
if isSplit then | if isSplit then | ||
node_container:addClass(' | node_container:addClass('recipe-type-split-card') | ||
end | end | ||
| Line 402: | Line 402: | ||
-- Split or regular image | -- Split or regular image | ||
if isSplit then | if isSplit then | ||
imageContainer:addClass(' | imageContainer:addClass('recipe-type-split-image') | ||
-- First item: top-left half | -- First item: top-left half | ||
imageContainer:tag('span') | imageContainer:tag('span') | ||
:addClass(' | :addClass('recipe-type-split-half') | ||
:addClass(' | :addClass('recipe-type-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('recipe-type-split-half') | ||
:addClass(' | :addClass('recipe-type-split-half-b') | ||
:wikitext(makeSplitIcon(a.split, a.mini)) | :wikitext(makeSplitIcon(a.split, a.mini)) | ||
else | else | ||