Template:Infobox subsystem: Difference between revisions

Jump to navigation Jump to search
Adding documentation of current usage, fixing broken stuff that did not get included (started, maintainers)
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>

Navigation menu