Template:post-film

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(new helper template)
(add logic to make this more useful: make comma conditional, make use of film tag conditional; also format code for readability)
Line 1: Line 1:
-
{{#if:{{{1|}}}|, {{Film|{{{1|}}}}}|}}<noinclude>
+
{{#if:{{{1|}}}|<!--
 +
-->{{#if:{{{first|}}}||, }}<!-- /* suppress comma if "first" parameter is set */
 +
-->{{#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>

Revision as of 12:23, 22 December 2022

See {{post}}
  • Helper function to add comma-separated film entries