View Single Post
Old 03-03-2023, 02:50 PM   #791
mabelrxu
Junior Member
mabelrxu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2023
Device: Kindle Paperwhite Signature Edition
Thumbs up

Quote:
Originally Posted by FandomWitch View Post
I am trying to set up my cover to have several custom columns and have them not be there when empty. Those columns are romantic and platonic ships (both Text, shown in tag browser). The other custom text is always filled in but the ships might not exist so the field is empty. When one or both of these are empty the summary column information jumps to the top of the page, over the other listed custom items. I currently have a placeholder tilde in ifempty as the text then stays at the bottom of the cover (where I want it). I have also tried using the prefix/suffix format to no avail. The problem also happens when I change the #summary to comments.

Is there any way to get the ships to be "passed over" if empty or do I just need to live with the tilde? (Sorry for any post issues. This is my first post on mobileread.)

The custom text section looks like this:
{#fandom_cover:|Fandom(s): |}
{#content_rating:|Rated: |}
{#progress:|Status: |}
{#romships_cover:ifempty(~)}
{#platships_cover:ifempty(~)}
{#summary:|Summary:\n|}
You can try putting the ones you want to be optional lines joined in with the next lines like this:
Code:
{#fandom_cover:|Fandom(s): |}
{#content_rating:|Rated: |}
{#progress:|Status: |}
{#romships_cover:||\n}{#platships_cover:||\n}{#summary:|Summary:\n|}
(note I purposely put romships, platships, and summary all on one line instead of on individual lines ...)
mabelrxu is offline   Reply With Quote