Jump to content

Template:Infobox film/short description and Template:Infobox film/short description/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
for the moment, implementing Template:KillMarkers for the country parameter to solve an issue with Space-Men brought up at WT:VPT#Strange short description - how to fix it?
 
KillMarkers
 
Line 1: Line 1:
{{#if:{{Has short description}}
{{#if:{{Has short description}}
|<!--Do nothing-->
|<!--Do nothing-->
|{{short description|1=<!--return year and nationality for most articles-->{{#if:{{{released|}}}|{{#invoke:String|match|{{{released}}}|%d%d%d%d?|match=1|nomatch=}}}} {{#if:{{{country|}}}|{{Country2nationality|{{#invoke:String2 |split |txt={{KillMarkers|{{{country|}}}}} |sep=[<{;] |plain=false}}}}}} <!--Test to see if released returns a year and country returns a nationality to decide whether to capitalize "film"-->{{#if:{{#if:{{{released|}}}|{{#invoke:String|match|{{{released|}}}|%d%d%d%d?|match=1|nomatch=}}}}{{Country2nationality|{{#invoke:String2 |split |txt={{KillMarkers|{{{country|}}}}} |sep=[<{;] |plain=false}}}}|film|Film}}
|{{short description|1=<!--return year and nationality for most articles-->{{#if:{{{released|}}}|{{#invoke:String|match|{{{released}}}|%d%d%d%d?|match=1|nomatch=}}}} {{#if:{{{country|}}}|{{Pluralize from text|{{{country|}}}|singular={{Country2nationality|{{#invoke:String2 |split |txt={{KillMarkers|{{{country|}}}}} |sep=[<{;] |plain=false}}|plural={{#if:{{{released|}}}|m|M}}ulti-national}}}}}} <!--Test to see if released returns a year and country returns a nationality to decide whether to capitalize "film"-->{{#if:{{#if:{{{released|}}}|{{#invoke:String|match|{{{released|}}}|%d%d%d%d?|match=1|nomatch=}}}}{{Country2nationality|{{#invoke:String2 |split |txt={{KillMarkers|{{{country|}}}}} |sep=[<{;] |plain=false}}}}|film|Film}}
<!--close short description template-->}}
<!--close short description template-->}}
<!--close first if statement -->}}<noinclude><!--
<!--close first if statement -->}}<noinclude><!--