Template:post-film
From Homestar Runner Wiki
(Difference between revisions)
(explain how maybefirst needs to work; try adding a non-breaking space to see if we can get the space to no longer be suppressed) |
(try adding an empty span to see if this solves the space issue) |
||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|<!-- | {{#if:{{{1|}}}|<!-- | ||
- | -->{{#if:{{{maybefirst|}}}|, |<!-- /* "maybefirst" parameter only adds a comma if film1 is set, for this work right "first" MUST be set to "true" */ | + | -->{{#if:{{{maybefirst|}}}|, <span style="display:none"></span>|<!-- /* "maybefirst" parameter only adds a comma if film1 is set, for this work right "first" MUST be set to "true" */ |
- | -->{{#if:{{{first|}}}||, | + | -->{{#if:{{{first|}}}||, <span style="display:none"></span>}}<!-- /* suppress comma if "first" parameter is set */ |
-->}}<!-- /* end #if:{{{maybefirst|}}} */ | -->}}<!-- /* end #if:{{{maybefirst|}}} */ | ||
-->{{#if:{{{textonly|}}}<!-- /* suppress {{Film}} template if "textonly" parameter is set */ | -->{{#if:{{{textonly|}}}<!-- /* suppress {{Film}} template if "textonly" parameter is set */ |
Revision as of 13:23, 22 December 2022
- See {{post}}
- Helper function to add comma-separated film entries