Template:Infobox-Model: Difference between revisions

mNo edit summary
mNo edit summary
Line 21: Line 21:
| {{{Platform|}}}
| {{{Platform|}}}
|-
|-
|Model Years (RoW):
|Model Years:
| {{#if: {{{through|}}} | {{#ifeq: {{{from|}}} | {{{through|}}} | {{{through|}}} | {{{from}}}–{{{through}}}  }} | {{#if: {{{from|}}} | from {{{from}}} | {{#ifeq: {{#expr: {{{from}}} > {{LOCALYEAR}} }} | 1 | from {{{from}}} | since {{{from}}} }} }} }}
| {{#if: {{{through|}}} | {{#ifeq: {{{from|}}} | {{{through|}}} | {{{through|}}} | {{{from}}}–{{{through}}}  }} | {{#if: {{{from|}}} | from {{{from}}} | {{#ifeq: {{#expr: {{{from}}} > {{LOCALYEAR}} }} | 1 | from {{{from}}} | since {{{from}}} }} }} }}
|-
|-
|Model Years (US):
|Model Years (US):
| {{#if: {{{through|}}} | {{#ifeq: {{{from|}}} | {{{through|}}} | {{{through|}}} | {{{from}}}–{{{through}}}  }} | {{#if: {{{from|}}} | from {{{from}}} | {{#ifeq: {{#expr: {{{from}}} > {{LOCALYEAR}} }} | 1 | from {{{from}}} | since {{{from}}} }} }} }}
| {{#if: {{{throughUS|}}} | {{#ifeq: {{{fromUS|}}} | {{{throughUS|}}} | {{{throughUS|}}} | {{{fromUS}}}–{{{throughUS}}}  }} | {{#if: {{{fromUS|}}} | from {{{fromUS}}} | {{#ifeq: {{#expr: {{{fromUS}}} > {{LOCALYEAR}} }} | 1 | from {{{fromUS}}} | since {{{fromUS}}} }} }} }}
|-
|-
| Predecessor:
| Predecessor:

Revision as of 14:30, 9 March 2011

This is the CODE for the Infobox-Model and NOT a Template for a Page!. DO NOT EDIT !!!