Template:Infobox film/short description: Difference between revisions

From New Prairie Wiki
Jump to navigation Jump to search
Created page with "{{#if:{{Has short description}} |<!--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|}}}|{{#if:{{#invoke:Detect singular|main|{{{country|}}}}}|{{#invoke:Country2nationality||{{{country|}}}}}|{{{country|}}}}}}} <!--Test to see if released returns a year and country returns a nationality to decide whether to capitalize "film"-..."
 
No edit summary
 
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|}}}|{{#if:{{#invoke:Detect singular|main|{{{country|}}}}}|{{#invoke:Country2nationality||{{{country|}}}}}|{{{country|}}}}}}} <!--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=}}}}{{{country|}}}|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|}}}|{{#if:{{#invoke:Detect singular|main|{{{country|}}}}}|{{#invoke:Country2nationality||{{{country|}}}|nocat=true}}|{{{country|}}}}}}} <!--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=}}}}{{{country|}}}|film|Film}}  
<!--close short description template-->}}
<!--close short description template-->}}
<!--close first if statement -->}}<noinclude><!--
<!--close first if statement -->}}<noinclude><!--

Latest revision as of 09:33, 21 July 2026