Template:Infobox aircraft: Difference between revisions

Improved the author list handling. If only the 'author1' parameter is supplied, then a bulleted list will no longer be created.
(Added the example of the Pipistrel Virus SW to show problems with the author list if only a single 'author1' parameter is given.)
(Improved the author list handling. If only the 'author1' parameter is supplied, then a bulleted list will no longer be created.)
Line 176: Line 176:
                 -->{{#if: {{#titleparts:/{{{authors|}}}|1|24}} | * {{#titleparts:/{{{authors|}}}|1|24}} }}<!--
                 -->{{#if: {{#titleparts:/{{{authors|}}}|1|24}} | * {{#titleparts:/{{{authors|}}}|1|24}} }}<!--
                 -->{{#if: {{#titleparts:/{{{authors|}}}|1|25}} | * {{#titleparts:/{{{authors|}}}|1|25}} }}<!--
                 -->{{#if: {{#titleparts:/{{{authors|}}}|1|25}} | * {{#titleparts:/{{{authors|}}}|1|25}} }}<!--
                 -->{{#if: {{{author1|}}}  | * {{{author1}}}  }}<!--
                 -->{{#if: {{{authors|}}} <!-- Do not use a bullet list for single authors. -->
                      | {{#if: {{{author1|}}}  | * {{{author1}}} }}
                      | {{#if: {{{author1|}}}  |  {{{author1}}} }}
                    }}<!--
                 -->{{#if: {{{author2|}}}  | * {{{author2}}}  }}<!--
                 -->{{#if: {{{author2|}}}  | * {{{author2}}}  }}<!--
                 -->{{#if: {{{author3|}}}  | * {{{author3}}}  }}<!--
                 -->{{#if: {{{author3|}}}  | * {{{author3}}}  }}<!--