First time posting on the forum. Anywho, having issues trying to figure out how to make this template fully work. Template:ItemObtain Here's the Template and I've marked the area I'm having issues with the hidden comment tags.
Now, what I'm trying to do is have it to where everything in the Example under Bag will basically be put into the template itself and only show up when data is input. I hope I explained it fairly decently.
I've done what I can for other sections of this template, but this one section is giving me the most issues, because of the fact that any section of that can be there or not. Not sure if that makes sense.
#if: *Daily Login Bonus and other similar stuff makes no sense: this "expression" will be evaluated as true, so you can remove those ifs - it will make the code simpler.
you may want to eliminate all needless linefeeds (the thing that you adding by hitting the "enter" key).
as far i understand, you want to show image (bagicon) and text (boxes) if the "boxes" param supplied. this part itself works well. sure, it produces some empty lines, but you will deal with them on #2.
1. These make it to where if there is no data in the variable, that whole bulleted item won't show. Which is what I'm going for since this is a somewhat dynamic template. And I've tested it that if there is no Data in the nothing shows up.
2. Not sure exactly what you mean by eliminate them. From what I can tell I need them? Maybe there's something you're seeing that I'm not
And yes, for the Bag section. I want the bulleted items underneath to show, but dynamically. So, if only 3 of the Box Types are needed they will show, but not all of them. Does that make sense?
Not sure exactly what you mean by eliminate them. From what I can tell I need them?
remove them. delete. kill. if you can't say that you need them, then you don't need them. https://snipboard.io/OdYK5j.jpg it is your template with boxes parameter only. red line shows start and end of the template. this empty space: is it expected behavior?
Now question, so for the data inside of the Boxes Parameter. Is there a way to make that itself variable data as displayed in the Example portion of my template appear/disappear like it is done with the others. I'm sure I could do it with the Switch function, but it seems like it would be overly messy?