Template:Television episode short description: Difference between revisions
>JJMC89 Removing protection template | TW |
m 1 revision imported |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#invoke:Television episode short description|getShortDescription}}<!-- | -->{{#invoke:Television episode short description|getShortDescription}}<!-- | ||
--></includeonly><!-- | --><!--<!--Tracking categories | ||
--><noinclude>{{ | -->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using Television episode short description with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Television episode short description]] with unknown parameter "_VALUE_"|showblankpositional=1| doc | episode_num | limited | not_dab | season_num | season_num_uk | series_name | special | test }}</includeonly><!-- | ||
--><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 00:58, 5 January 2023
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This template is used on approximately 11,000 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. |
This template uses Lua: |
Template:Television episode short description is used to create a short description by either automatically extracting data from a television episode article's Template:Infobox television episode or by manually receiving the needed values. It then creates a relevant short description based on the data available.
Usage
{{Television episode short description|episode_num=|season_num=|series_name=}}
{{Television episode short description|episode_num=|season_num_uk=|series_name=}}
{{Television episode short description|episode_num=|season_num=|series_name|multi_episodes=}}
{{Television episode short description|episode_num=|season_num=|series_name|not_dab=}}
Parameter list
{{#section:Module:Television episode short description/doc|Parameters}}
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Television episode short description in articles based on its TemplateData.
TemplateData for Television episode short description This template is used to create a short description by either automatically extracting data from a television episode article's Template:Infobox television episode or by manually receiving the needed values. It then creates a relevant short description based on the data available.
|
Examples
No parameters
- Code:
{{Television episode short description}}
- Produces:
Television episode
Usage with only the TV series name
- Code:
{{Television episode short description|series_name=Lost}}
- Produces:
Episode of Lost
Usage with the TV series name and season number
- Code:
{{Television episode short description|series_name=Lost|season_num=1}}
- Produces:
Episode of the 1st season of Lost
Usage with the TV series name, episode and season number
- Code:
{{Television episode short description|series_name=Lost|season_num=5|episode_num=4}}
- Produces:
4th episode of the 5th season of Lost
Usage with the TV series name with disambiguation, episode and season number
- Code:
{{Television episode short description|series_name=Firefly|season_num=1|episode_num=1}}
- Produces:
1st episode of the 1st season of Firefly
Usage with a multi-part episode - two episodes
- Code:
{{Television episode short description|series_name=Lost|season_num=3|episode_num=22 and 23}}
- Produces:
22nd and 23rd episodes of the 3rd season of Lost
Usage with a multi-part episode - three episodes
- Code:
{{Television episode short description|series_name=Lost|season_num=3|episode_num=22, 23, 34}}
- Produces:
22nd, 23rd and 24th episodes of the 3rd season of Lost
Usage with a TV series name that has parentheses as part of its name
- Code:
{{Television episode short description|series_name=Randall and Hopkirk (Deceased)|season_num=1|episode_num=1|not_dab=yes}}
- Produces:
1st episode of the 1st season of Randall and Hopkirk (Deceased)
Usage with a TV series name, and special episode - using "yes"
- Code:
{{Television episode short description|series_name=Lost|special=1}}
- Produces:
Special episode of Lost
Usage with a TV series name, and special episode - using text value
- Code:
{{Television episode short description|series_name=Lost|special=Recap}}
- Produces:
Recap episode of Lost
Usage with a TV series name, and limited_series
- Code:
{{Television episode short description|series_name=Lost: Missing Pieces|limited_series=yes|episode_num=1}}
- Produces:
Episode of Lost: Missing Pieces
Issues
{{#section:Module:Television episode short description/doc|Issues}}
Tracking categories
{{#section:Module:Television episode short description/doc|Categories}}