Template:Infobox subsystem: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(31 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
|title   = {{{name|}}}
|title   = {{{name|}}}
|image   = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt{{!}}}}]]}}
|type = {{{type|tool}}}
|caption = {{{alt|}}}
|image   = {{#if: {{{image|}}} | [[File:{{{image|}}}|270px|{{{alt|}}}]] }}
|label1   = Description
|caption = {{{alt|}}}
|data1   = {{{description|}}}
|label1 = Started in
|label2   = Developer(s)
|data1   = {{{started|}}}
|data2   = {{{developers|}}}
|label2 = Description
|label3   = Status
|data2   = {{{description|}}}
|data3   = {{{status|}}}
|label3 = Maintainer(s)
|label4   = Folders
|data3  =
|data4    = {{{folders|}}}
{{{maintainers|}}}


|= Topic branches:
|label4 = Contributor(s)
|data4  =
{{{developers|}}}


|label4  = $SG_SRC
|label5 = Merge Request(s)
|data4  = {{{topic-sg|}}}
|data5  = {{{merge-requests|}}}


|label5  = $FG_SRC
|label6 = Status
|data5    = {{{topic-fg|}}}
|data6  = {{{status|}}}


|label6  = $FG_ROOT
|label7 = Folders
|data6    = {{{topic-fgdata|}}}
|data7  =
{{{folders|}}}


|label7  = Subforum
|label8 = Changelog
|data7    = {{{subforum|}}}
|data8 =  
{{{changelog|}}}


|header9 = {{#if: {{{topic-sg|}}}{{{topic-fg|}}}{{{topic-fgdata|}}} | Topic branches: }}
|label9  = [[$SG_SRC]]
|data9  = {{{topic-sg|}}}
|label10 = [[$FG_SRC]]
|data10  = {{{topic-fg|}}}
|label11 = [[fgdata]]
<!--
Todo: use git link template
-->
|data11 = {{{topic-fgdata|}}}


|label12 = Website
|data12  = {{{website|}}}
|label13 = Subforum
|data13  = {{{subforum|}}}
}}</includeonly><noinclude>
{{Informative template|1=
__NOTOC__
== 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 tool/subsystem.
<nowiki>{{</nowiki>'''infobox subsystem'''
<nowiki>|</nowiki> ''name''          =
<nowiki>|</nowiki> ''type''          =
<nowiki>|</nowiki> ''image''          =
<nowiki>|</nowiki> ''alt''            =
<nowiki>|</nowiki> ''started''        =
<nowiki>|</nowiki> ''description''    =
<nowiki>|</nowiki> ''maintainers''    =
<nowiki>|</nowiki> ''developers''    =
<nowiki>|</nowiki> ''merge-requests'' =
<nowiki>|</nowiki> ''status''        =
<nowiki>|</nowiki> ''folders''        =
<nowiki>|</nowiki> ''changelog''      =
<nowiki>|</nowiki> ''topic-sg''      =
<nowiki>|</nowiki> ''topic-fg''      =
<nowiki>|</nowiki> ''topic-fgdata''  =
<nowiki>|</nowiki> ''git-repo''  =
<nowiki>|</nowiki> ''website''        =
<nowiki>|</nowiki> ''subforum''      =
<nowiki>}}</nowiki>
All parameters are optional.
; name:  Name of the subsystem
; type:  Type of the tool/utility (e.g. addon)
; image:  Image related to the subsystem, for example a screenshot
; alt:  Caption for the image
; started:  Month of development started, for example '''{{CURRENTMONTH}}/{{CURRENTYEAR}}'''
; description:  Short description of the subsystem/feature
; maintainers:  List of current maintainers
; developers:  List of developers
; merge-requests:  List of merge requests
; status:  Current development status
; folders:  Pointers for most relevant folders, for example $SG_SRC/canvas or $FG_SRC/Scripting
; changelog:  Can be a link to the changes to a file or files.  Multiple entries can be put in a list.  It is recommended to use {{tl|Git File History}}.
; topic-sg:  [[SimGear]] repository and topic branch URL
; topic-fg:  FlightGear repository and topic branch URL
; topic-fgdata:  fgdata repository and topic branch URL
; git-repo: repository for standalone tools (e.g. addons)
; website:  Link to project website
; subforum:  Link to related FlightGear subforum or topic
== Related templates ==
* {{tl|merge-request}} — ''For links to merge requests''
[[Category:Infobox templates|Subsystem]]
}}
}}
</noinclude>

Revision as of 10:16, 24 March 2020


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 tool/subsystem.

{{infobox subsystem
| name           = 
| type           = 
| image          = 
| alt            = 
| started        = 
| description    = 
| maintainers    = 
| developers     = 
| merge-requests = 
| status         = 
| folders        = 
| changelog      = 
| topic-sg       = 
| topic-fg       = 
| topic-fgdata   =
| git-repo   = 
| website        = 
| subforum       = 
}}

All parameters are optional.

name
Name of the subsystem
type
Type of the tool/utility (e.g. addon)
image
Image related to the subsystem, for example a screenshot
alt
Caption for the image
started
Month of development started, for example 03/2024
description
Short description of the subsystem/feature
maintainers
List of current maintainers
developers
List of developers
merge-requests
List of merge requests
status
Current development status
folders
Pointers for most relevant folders, for example $SG_SRC/canvas or $FG_SRC/Scripting
changelog
Can be a link to the changes to a file or files. Multiple entries can be put in a list. It is recommended to use {{Git File History}}.
topic-sg
SimGear repository and topic branch URL
topic-fg
FlightGear repository and topic branch URL
topic-fgdata
fgdata repository and topic branch URL
git-repo
repository for standalone tools (e.g. addons)
website
Link to project website
subforum
Link to related FlightGear subforum or topic

Related templates