• New article from the Springfield Shopper: Season 36 News: More Preview Images and Details for “O C’mon All Ye Faithful” have been released!
  • Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:Gag"

Wikisimpsons - The Simpsons Wiki
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifexist:{{{1}}}/Gags|[[{{{1}}}/Gags|{{{2|{{{1|{{PAGENAME}}}}}}}}]]|{{{1|}}}{{Explain|*|No gags for this episode}}}}
+
{{#if:{{{nogags|}}}|{{{2|{{{1}}}}}}{{Explain|*|No gags for this episode}}|[[{{{1}}}/Gags|{{{2|{{{1|{{PAGENAME}}}}}}}}]]}}<noinclude>
{{{#if:{{{2}}}|[[{{{1}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]<noinclude>
 
  
 
== Use ==
 
== Use ==
Links to reference pages. Type <nowiki>{{Gag|Bart the Genius}}</nowiki> to show {{Gag|Bart the Genius}}.
+
Links to gags pages. Type <nowiki>{{Gag|Bart the Genius}}</nowiki> to show {{Gag|Bart the Genius}} or {{Gag|Treehouse of Horror XIII|nogags=yes}}.
  
[[Category:Templates]]</noinclude>
+
[[Category:Templates]][[Category:Link templates]]</noinclude>

Latest revision as of 10:44, December 11, 2019

[[{{{1}}}/Gags|Gag]]

Use[edit]

Links to gags pages. Type {{Gag|Bart the Genius}} to show Bart the Genius or Treehouse of Horror XIII*.