Template:Infobox subsystem: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
(Adding documentation of current usage, fixing broken stuff that did not get included (started, maintainers))
Line 3: Line 3:
|image    = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt{{!}}}}]]}}
|image    = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt{{!}}}}]]}}
|caption  = {{{alt|}}}
|caption  = {{{alt|}}}
|label1  = Description
|label1  = Started in
|data1    = {{{description|}}}
|data1    = {{{started|}}}
|label2  = Developer(s)
|label2  = Description
|data2    = {{{developers|}}}
|data2    = {{{description|}}}
|label3  = Status
|label3  = Maintainer(s)
|data3    = {{{status|}}}
|data3    = {{{maintainers|}}}
|label4  = Folders
|label4  = Developer(s)
|data4    = {{{folders|}}}
|data4    = {{{developers|}}}
|label5  = Website
|label5  = Status
|data5    = {{{website|}}}
|data5    = {{{status|}}}
 
|label6  = Folders
|data6    = {{{folders|}}}


|= Topic branches:  
|= Topic branches:  
|label7  = $SG_SRC
|data7  = {{{topic-sg|}}}
|label8  = $FG_SRC
|data8    = {{{topic-fg|}}}
|label9  = $FG_ROOT
|data9    = {{{topic-fgdata|}}}


|label5   = $SG_SRC
|label10   = Website
|data5   = {{{topic-sg|}}}
|data10    = {{{website|}}}
|label11   = Subforum
|data11    = {{{subforum|}}}
}}</includeonly><noinclude>
{{Informative template|1=
__NOTOC__
== Goal ==
This template is intended to be used in the top of pages describing subsystems.


|label6  = $FG_SRC
== Usage ==
|data6    = {{{topic-fg|}}}
<pre>
 
{{infobox subsystem
|label7   = $FG_ROOT
|name        =
|data7    = {{{topic-fgdata|}}}
|image        =
|alt          =
|started      =
|description  =
|maintainers  =
|developers   =
|status      =
|folders      =
|topic-sg    =
|topic-fg    =
|topic-fgdata =
|website      =
|subforum    =
}}
</pre>


|label8  = Subforum
=== Parameters ===
|data8    = {{{subforum|}}}
* '''<tt>name</tt>''': Name of the subsystem
* '''<tt>image</tt>''': Image related to the subsystem
* '''<tt>alt</tt>''': Alt tag for the image, will be shown on mouse-over and in text-only readers
* '''<tt>started</tt>''': Month of development start, for example <tt>{{CURRENTMONTH}}/{{CURRENTYEAR}}</tt>
* '''<tt>description</tt>''': Short description of the subsystem
* '''<tt>maintainers</tt>''': Current maintainer(s)
* '''<tt>developers</tt>''': Developer(s)
* '''<tt>status</tt>''': Current development status
* '''<tt>folders</tt>''': Folder
* '''<tt>topic-sg</tt>''': $SG_SRC
* '''<tt>topic-fg</tt>''': $SG_SRC
* '''<tt>topic-fgdata</tt>''': $SG_ROOT
* '''<tt>website</tt>''': Link to project website <tt><nowiki>[URL Title]</nowiki></tt>
* '''<tt>subforum</tt>''': Link to FlightGear subforum <tt><nowiki>[URL Title]</nowiki></tt>


[[Category:Infoboxes]]
}}
}}
</noinclude>

Revision as of 08:51, 5 July 2013


The following template description is not displayed when the template is inserted in an article.

Goal

This template is intended to be used in the top of pages describing subsystems.

Usage

{{infobox subsystem
|name         =
|image        =
|alt          =
|started      =
|description  =
|maintainers  =
|developers   =
|status       =
|folders      =
|topic-sg     =
|topic-fg     =
|topic-fgdata =
|website      =
|subforum     =
}}

Parameters

  • name: Name of the subsystem
  • image: Image related to the subsystem
  • alt: Alt tag for the image, will be shown on mouse-over and in text-only readers
  • started: Month of development start, for example 04/2024
  • description: Short description of the subsystem
  • maintainers: Current maintainer(s)
  • developers: Developer(s)
  • status: Current development status
  • folders: Folder
  • topic-sg: $SG_SRC
  • topic-fg: $SG_SRC
  • topic-fgdata: $SG_ROOT
  • website: Link to project website [URL Title]
  • subforum: Link to FlightGear subforum [URL Title]