Template:Infobox television/Short description: Difference between revisions

From The Goon Show Depository
m (1 revision imported)
en>SilverLocust
(Module:Is infobox in lead, per edit request. Also moved documentation to /doc)
Line 1: Line 1:
{{main other|{{short description|2=noreplace|{{if both|{{{released|{{{first_aired|}}}}}}|{{#invoke:String|match|{{{released|{{{first_aired|}}}}}}|[12]%d%d%d|match=1|nomatch=}}&nbsp;|{{#invoke:String|match|{{{released|{{{first_aired|}}}}}}|[12]%d%d%d|match=1|nomatch=}}&nbsp;}}{{#if:{{{country|}}}|{{Country2nationality|{{#invoke:String2 |split |txt={{{country|}}}|sep=[<{;] |plain=false}}}}&nbsp;}}TV series or program}}}}
{{main other|
{{#if:{{Has short description}}
|<!--Do nothing-->
|{{#if:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Tt]e?l?e?[Vv]}}
|{{trim|1={{short description|2=noreplace|{{if both|{{{released|{{{first_aired|}}}}}}|{{#invoke:String|match|{{{released|{{{first_aired|}}}}}}|[12]%d%d%d|match=1|nomatch=}}|{{#invoke:String|match|{{{released|{{{first_aired|}}}}}}|[12]%d%d%d|match=1|nomatch=}}}} {{#if:{{{country|}}}|{{Country2nationality|{{#invoke:String2 |split |txt={{{country|}}}|sep=[<{;] |plain=false}}}}}} TV series or program{{#switch: {{{country|}}}
  | UK | U.K. | United Kingdom | England | Scotland | Ireland | Northern Ireland | Wales | South Africa | New Zealand | India | Pakistan | Nigeria = me | }}<!--
close short description template-->}}<!--close trim template used to remove leading spaces-->}}<!--
close if (is infobox in lead) -->}}<!--
close if (has short description) -->}}<!--
close main other -->}}<noinclude><!--
 
Text above is essentially {{short description| <year> <country> TV series or program/me}}
-->
{{documentation}}
</noinclude>

Revision as of 14:10, 5 June 2024