660 bytes added
, 19:59, 30 July 2016
m<includeonly>{{#if: {{{3|}}}{{{4|}}}|title="{{#if:{{{4|}}}|{{{4|}}}|{{{3|}}}}}"}}
{{#if: {{{sub|}}} | {{!}} | ! }} style="{{{style|white-space: nowrap;}}}" {{!}} {{#if: {{{sub|}}} | - }}{{#if: {{{2|}}} | {{{2|}}} | {{{1|}}} }}
| {{#ifeq: {{#invoke:String|find|{{{5|}}}|^%s*%d%d?%d?%d?%s*B?C?%s*$|plain=false}} <!-- Year matcher. Finds numbers 1-4 digits long, with an optional " BC". If a match is found, produces 1; otherwise produces 0. -->|1
|{{{5|}}}
|{{#ifexist:{{{5|}}}
|[[{{{5|}}}]]
|{{{5|}}}
}}
}}{{#if: {{{6|}}}| ''{{{6|}}}''}}
|- class="mergedrow" </includeonly><noinclude>
{{Documentation}}
</noinclude>