Template:Infobox aircraft: Difference between revisions

Jump to navigation Jump to search
Fix "Foro"????
m (Link to the {{licence}} template.)
(Fix "Foro"????)
(9 intermediate revisions by 3 users not shown)
Line 455: Line 455:
                   | de = Unterstützt
                   | de = Unterstützt
                   | en = Supports
                   | en = Supports
                   | es = Apoya
                   | es = Soporta
                   | fr = Soutien
                   | fr = Soutien
                   | it = Supporta
                   | it = Supporta
Line 752: Line 752:
                 }}
                 }}
| data32{{#if:{{{forumtid|}}}||NULL}}
| data32{{#if:{{{forumtid|}}}||NULL}}
               = [[File:Meeting-attending 32x32.png <!--
               = {{forum link
              -->| 30px <!--
                  | title = {{{name|}}}
              -->| {{LangSwitch
                  | size = 30px
                      | ca = El fil del fòrum de FlightGear de {{{name|}}}.
                  | t = {{{forumtid}}}
                      | de = Das FlightGear Forum-Thread für die {{{name|}}}.
                  | onlyicon = yes
                      | en = The FlightGear forum thread for the {{{name|}}}.
                }}
                      | es = El FlightGear foro thread para {{{name|}}}.
                      | fr = Le fil de discussion dans le forum de FlightGear pour le {{{name|}}}.
                      | it = Il thread di discussione del forum di FlightGear per il {{{name|}}}.
                      | th = ดูหน้าเว็บบอรด์ FlightGear ของ {{{name|}}}
                    }} <!--
              -->| link=https://forum.flightgear.org/viewtopic.php?t={{{forumtid|}}} <!--
            -->]]
| label40    = {{LangSwitch
| label40    = {{LangSwitch
                   | ca = Llicència
                   | ca = Llicència
Line 914: Line 907:
                     }}
                     }}
                 }}
                 }}
| label42    = {{LangSwitch
                  | en = Wikipedia
                  | fr = Wikipédia
                  | ru = Википедия
                  | th = วิกิพีเดีย
                  | zh = 维基百科
                }}
| data42      = {{#if: {{{wikipedia|}}}
                  | {{#if: {{#titleparts:/{{{wikipedia|}}}|1|2}} | {{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|2}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|3}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|3}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|4}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|4}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|5}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|5}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|6}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|6}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|7}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|7}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|8}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|8}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|9}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|9}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|10}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|10}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|11}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|11}} }} }}<!--
                -->{{#if: {{#titleparts:/{{{wikipedia|}}}|1|12}} | <br/>{{wikipedia|{{#titleparts:/{{{wikipedia|}}}|1|12}} }} }}
                }}<!--
| data45      = {{#if: {{{note|}}} | {{note|{{{note}}}|width=100%|padding=0px|margin=0px}} }}
| data45      = {{#if: {{{note|}}} | {{note|{{{note}}}|width=100%|padding=0px|margin=0px}} }}
| float{{#if:{{{float|}}}||NULL}}
| float{{#if:{{{float|}}}||NULL}}
Line 973: Line 986:
For instructions on how to use this template in a translation-friendly way, please see the [[#Translations - using subpages]] section below.
For instructions on how to use this template in a translation-friendly way, please see the [[#Translations - using subpages]] section below.
  {{obr}}'''infobox aircraft'''
  {{obr}}'''infobox aircraft'''
  {{!}} ''name''          =
  {{!}} ''name''          =  
  {{!}} ''hangar''        =
  {{!}} ''hangar''        =  
  {{!}} ''aircraft''      =
  {{!}} ''aircraft''      =  
  {{!}} ''image''          =
  {{!}} ''image''          =  
  {{!}} ''alt''            =
  {{!}} ''alt''            =  
  {{!}} ''image2''        =
  {{!}} ''image2''        =  
  {{!}} ''alt2''          =
  {{!}} ''alt2''          =  
  <nowiki></nowiki>
  <nowiki></nowiki>
  {{!}} ''type''          =
  {{!}} ''type''          =  
  {{!}} ''config''        =
  {{!}} ''config''        =  
  {{!}} ''propulsion''    =
  {{!}} ''propulsion''    =  
  {{!}} ''manufacturer''  =
  {{!}} ''manufacturer''  =  
  <nowiki></nowiki>
  <nowiki></nowiki>
  {{!}} ''authors''        =
  {{!}} ''authors''        =  
  {{!}} ''author1''        =
  {{!}} ''author1''        =  
  ...
  ...
  {{!}} ''author30''      =
  {{!}} ''author30''      =  
  {{!}} ''devel-team''    =
  {{!}} ''devel-team''    =  
  {{!}} ''fdm''            =
  {{!}} ''fdm''            =  
  {{!}} ''fgname''        =
  {{!}} ''fgname''        =  
  {{!}} ''fgname1''        =
  {{!}} ''fgname1''        =  
  ...
  ...
  {{!}} ''fgname10''      =
  {{!}} ''fgname10''      =  
  <nowiki></nowiki>
  <nowiki></nowiki>
  {{!}} ''status-fdm''    =
  {{!}} ''status-fdm''    =  
  {{!}} ''status-systems'' =
  {{!}} ''status-systems'' =  
  {{!}} ''status-cockpit'' =
  {{!}} ''status-cockpit'' =  
  {{!}} ''status-model''  =
  {{!}} ''status-model''  =  
  {{!}} ''status''        =
  {{!}} ''status''        =  
  <nowiki></nowiki>
  <nowiki></nowiki>
  {{!}} ''ready''          =
  {{!}} ''ready''          =  
  {{!}} ''devel-hangar''  =
  {{!}} ''devel-hangar''  =  
  {{!}} ''devel-website''  =
  {{!}} ''devel-website''  =  
  {{!}} ''devel-repo''    =
  {{!}} ''devel-repo''    =  
  {{!}} ''download''      =
  {{!}} ''download''      =  
  {{!}} ''liverydbid''    =
  {{!}} ''liverydbid''    =  
  {{!}} ''forumtid''      =
  {{!}} ''forumtid''      =  
  <nowiki></nowiki>
  <nowiki></nowiki>
  {{!}} ''license''        =
  {{!}} ''license''        =  
  {{!}} ''note''          =
  {{!}} ''note''          =  
  {{!}} ''craft''          =
  {{!}} ''craft''          =
  {{!}} ''navbar''        =
{{!}} ''wikipedia''      =  
  {{!}} ''navbarlevel''    =
  {{!}} ''navbar''        =  
  {{!}} ''navbarlevel''    =  
  {{cbr}}
  {{cbr}}


Line 1,081: Line 1,095:
; liverydbid:  The [[FlightGear livery database|livery database]] ID of the aircraft.
; liverydbid:  The [[FlightGear livery database|livery database]] ID of the aircraft.


; forumtid:  The [https://forum.flightgear.org FlightGear forum] topic ID for the aircraft.  This is the number after the <code>t=</code> part of the URL.
; forumtid:  The {{forum link|text=FlightGear forum}} topic ID for the aircraft.  This is the number after the <code>t=</code> part of the URL.


; license:  Also {{param|licence}}.  This will add licensing information to the infobox.  Please see the [[#Licensing]] section below for a list of special values.
; license:  Also {{param|licence}}.  This will add licensing information to the infobox.  Please see the [[#Licensing]] section below for a list of special values.
Line 1,088: Line 1,102:


; craft:  The craft type, defaulting to {{param||aircraft}}.  This can be one of {{param||aircraft}}, {{param||spacecraft}}, {{param||vehicle}}, or {{param||seacraft}}.  This will be used to add one of the categories [[:Category:All aircraft]], [[:Category:All spacecraft]], [[:Category:All vehicles]], or [[:Category:All seacraft]] to the page.
; craft:  The craft type, defaulting to {{param||aircraft}}.  This can be one of {{param||aircraft}}, {{param||spacecraft}}, {{param||vehicle}}, or {{param||seacraft}}.  This will be used to add one of the categories [[:Category:All aircraft]], [[:Category:All spacecraft]], [[:Category:All vehicles]], or [[:Category:All seacraft]] to the page.
; wikipedia:  The Wikipedia article corresponding to the craft.  This is implemented via the {{tl|wikipedia}} template.  If there are separate Wikipedia articles for variants included with the aircraft, the Wikipedia articles can be separated with a slash <code>/</code>.  This will likely not work if Wikipedia article titles contain slashes.


; navbar:  If this is set to {{param||1}}, a {{tl|navbar}} element will be added to the very end of infobox.  This is very useful when using [[#Translations - using subpages|subpages]].  It will have the form of <code>{{navbar|{{PAGENAME}}|mini=1}}</code>.  Note that the navbar will point to pages of the form <code>{{obr}}PAGENAME{{cbr}}/info</code>, excluding the language code part of the page name.
; navbar:  If this is set to {{param||1}}, a {{tl|navbar}} element will be added to the very end of infobox.  This is very useful when using [[#Translations - using subpages|subpages]].  It will have the form of <code>{{navbar|{{PAGENAME}}|mini=1}}</code>.  Note that the navbar will point to pages of the form <code>{{obr}}PAGENAME{{cbr}}/info</code>, excluding the language code part of the page name.
Line 1,233: Line 1,249:
  {{!}} forumtid      = 25157
  {{!}} forumtid      = 25157
  {{!}} note          = This is the default FlightGear aircraft and is distributed as part of the base package.
  {{!}} note          = This is the default FlightGear aircraft and is distributed as part of the base package.
{{!}} wikipedia      = Cessna 172
  {{!}} navbar        = 1
  {{!}} navbar        = 1
  {{cbr}}
  {{cbr}}
Line 1,258: Line 1,275:
| forumtid      = 25157
| forumtid      = 25157
| note          = This is the default FlightGear aircraft and is distributed as part of the base package.
| note          = This is the default FlightGear aircraft and is distributed as part of the base package.
| wikipedia      = Cessna 172
| navbar        = 1
| navbar        = 1
| float          = none
| float          = none
1,396

edits

Navigation menu