![]() | This is a documentation subpage for Template:TVDebutsEndingsAntonym. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 6,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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
edit{{TVDebutsEndingsAntonym|debuts}}
or
{{TVDebutsEndingsAntonym|endings}}
Output
edit{{TVDebutsEndingsAntonym|debuts}}
→ endings{{TVDebutsEndingsAntonym|endings}}
→ debuts{{TVDebutsEndingsAntonym}}
→{{TVDebutsEndingsAntonym|holy hang-gliding hamsters high on hash}}
→