Template:Infobox television/Short description: Difference between revisions

From The Goon Show Depository
en>SilverLocust
(Module:Is infobox in lead, per edit request. Also moved documentation to /doc)
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|<!--Do nothing-->
|<!--Do nothing-->
|{{#if:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Tt]e?l?e?[Vv]}}
|{{#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|}}}
|{{trim|1={{short description|2=noreplace|{{if both|{{If empty|{{{released|}}}{{{first_aired|}}}}}|{{#invoke:String|match|{{If empty|{{{released|}}}{{{first_aired|}}}}}|[12]%d%d%d|match=1|nomatch=}}|{{#invoke:String|match|{{If empty|{{{released|}}}{{{first_aired|}}}}}|[12]%d%d%d|match=1|nomatch=}}}} {{#if:{{{country|}}}|{{Pluralize from text|{{{country|}}}|singular={{Country2nationality|{{#invoke:String2 |split |txt={{{country|}}}|sep=[<{;] |plain=false}}}}|plural={{if either|{{{released|}}}|{{{first_aired|}}}|m|M}}ulti-national}}}} 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 | }}<!--
   | 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 short description template-->}}<!--close trim template used to remove leading spaces-->}}<!--

Latest revision as of 10:37, 30 August 2024