Template:Infobox subsystem: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
(Doc style; making it possible to use lists in a few of the fields)
Line 8: Line 8:
|data2    = {{{description|}}}
|data2    = {{{description|}}}
|label3  = Maintainer(s)
|label3  = Maintainer(s)
|data3    = {{{maintainers|}}}
|data3    =
{{{maintainers|}}}
|label4  = Developer(s)
|label4  = Developer(s)
|data4    = {{{developers|}}}
|data4    =
{{{developers|}}}
|label5  = Status
|label5  = Status
|data5    = {{{status|}}}
|data5    = {{{status|}}}


|label6  = Folders
|label6  = Folders
|data6    = {{{folders|}}}
|data6    =
{{{folders|}}}


|= Topic branches:  
|= Topic branches:  
Line 41: Line 44:


== Usage ==
== Usage ==
<pre>
Add this to the top of the article describing the subsystem.
{{infobox subsystem
<nowiki>{{</nowiki>'''infobox subsystem'''
|name        =
<nowiki>|</nowiki> ''name''         =  
|image        =
<nowiki>|</nowiki> ''image''       =  
|alt          =
<nowiki>|</nowiki> ''alt''         =  
|started      =
<nowiki>|</nowiki> ''started''     =  
|description  =
<nowiki>|</nowiki> ''description'' =  
|maintainers  =
<nowiki>|</nowiki> ''maintainers'' =  
|developers  =
<nowiki>|</nowiki> ''developers''   =  
|status      =
<nowiki>|</nowiki> ''status''       =  
|folders      =
<nowiki>|</nowiki> ''folders''     =  
|topic-sg    =
<nowiki>|</nowiki> ''topic-sg''     =  
|topic-fg    =
<nowiki>|</nowiki> ''topic-fg''     =  
|topic-fgdata =
<nowiki>|</nowiki> ''topic-fgdata'' =  
|website      =
<nowiki>|</nowiki> ''website''     =  
|subforum    =
<nowiki>|</nowiki> ''subforum''     =  
}}
<nowiki>}}</nowiki>
</pre>


=== Parameters ===
All parameters are optional.
* '''<tt>name</tt>''': Name of the subsystem
 
* '''<tt>image</tt>''': Image related to the subsystem (i.e. screen shot)
; name: Name of 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 started, for example <tt>{{CURRENTMONTH}}/{{CURRENTYEAR}}</tt>
; image: Image related to the subsystem, for example a screenshot
* '''<tt>description</tt>''': Short description of the subsystem/feature
 
* '''<tt>maintainers</tt>''': Current maintainer(s)
; alt: Caption for the image
* '''<tt>developers</tt>''': Developer(s)
 
* '''<tt>status</tt>''': Current development status
; started: Month of development started, for example '''{{CURRENTMONTH}}/{{CURRENTYEAR}}'''
* '''<tt>folders</tt>''': Pointers for most relevant folders (e.g. $SG_SRC/canvas or $FG_SRC/Scripting)
 
* '''<tt>topic-sg</tt>''': $SG_SRC (simgear repository and topic branch URL)
; description: Short description of the subsystem/feature
* '''<tt>topic-fg</tt>''': $SG_SRC (flightgear repository and topic branch URL)
 
* '''<tt>topic-fgdata</tt>''': $FG_ROOT (fgdata repository and topic branch URL)
; maintainers: List of current maintainers
* '''<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>
; developers: List of developers
 
; status: Current development status
 
; folders: Pointers for most relevant folders, for example $SG_SRC/canvas or $FG_SRC/Scripting
 
; topic-sg: Simgear repository and topic branch URL
 
; topic-fg: FlightGear repository and topic branch URL
 
; topic-fgdata: fgdata repository and topic branch URL
 
; website: Link to project website
 
; subforum: Link to FlightGear subforum


[[Category:Infobox templates|Subsystem]]
[[Category:Infobox templates|Subsystem]]
}}
}}
</noinclude>
</noinclude>

Revision as of 10:55, 14 June 2014


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

Add this to the top of the article describing the subsystem.

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

All parameters are optional.

name
Name of the subsystem
image
Image related to the subsystem, for example a screenshot
alt
Caption for the image
started
Month of development started, for example 04/2024
description
Short description of the subsystem/feature
maintainers
List of current maintainers
developers
List of developers
status
Current development status
folders
Pointers for most relevant folders, for example $SG_SRC/canvas or $FG_SRC/Scripting
topic-sg
Simgear repository and topic branch URL
topic-fg
FlightGear repository and topic branch URL
topic-fgdata
fgdata repository and topic branch URL
website
Link to project website
subforum
Link to FlightGear subforum