Template:post-film
From Homestar Runner Wiki
(Difference between revisions)
(new helper template) |
(switch to shortcut version of the template) |
||
(includes 5 intermediate revisions) | |||
Line 1: | Line 1: | ||
- | {{#if:{{{1|}}}|, {{Film|{{{1|}}}}}|}}<noinclude> | + | {{#if:{{{1|}}}|<!-- |
+ | -->{{#if:{{{maybefirst|}}}|, {{b}}|<!-- /* "maybefirst" parameter only adds a comma if film1 is set, for this work right "first" MUST be set to "true" */ | ||
+ | -->{{#if:{{{first|}}}||, {{b}}}}<!-- /* suppress comma if "first" parameter is set */ | ||
+ | -->}}<!-- /* end #if:{{{maybefirst|}}} */ | ||
+ | -->{{#if:{{{textonly|}}}<!-- /* suppress {{Film}} template if "textonly" parameter is set */ | ||
+ | -->|{{{1|}}}<!-- | ||
+ | -->|{{Film|{{{1|}}}}}<!-- | ||
+ | -->}}<!-- /* end #if:{{{textonly|}}} */ | ||
+ | -->|}}<!-- /* end #if:{{{1|}}} */ | ||
+ | --><noinclude> | ||
:See {{t|post}} | :See {{t|post}} | ||
*Helper function to add comma-separated film entries | *Helper function to add comma-separated film entries | ||
[[Category:Toon Article Formatting Templates|{{PAGENAME}}]]</noinclude> | [[Category:Toon Article Formatting Templates|{{PAGENAME}}]]</noinclude> |
Current revision as of 13:33, 22 December 2022
- See {{post}}
- Helper function to add comma-separated film entries