Template:TVDebutsEndingsAntonym/doc

< Template:TVDebutsEndingsAntonym
Revision as of 00:22, 25 May 2020 by Wikipedia>Hugopako
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A simple helper template for use in television-related templates, especially in Category:Television chronology category header templates.

It takes one un-named parameter — either of the words "debuts" or "endings" — and returns the antonym of that word. If the input is anything other than "debuts" or "endings", it returns nothing.

Usage

  • {{TVDebutsEndingsAntonym|debuts}}

or

  • {{TVDebutsEndingsAntonym|endings}}

Output

  • {{TVDebutsEndingsAntonym|debuts}} → endings
  • {{TVDebutsEndingsAntonym|endings}} → debuts
  • {{TVDebutsEndingsAntonym}}
  • {{TVDebutsEndingsAntonym|holy hang-gliding hamsters high on hash}}

See also