Template:Infobox subsystem: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
|title | |title = {{{name|}}} | ||
|image | |type = {{{type|tool}}} | ||
|caption | |image = {{#if: {{{image|}}} | [[File:{{{image|}}}|270px|{{{alt|}}}]] }} | ||
|label1 | |caption = {{{alt|}}} | ||
|data1 | |label1 = Started in | ||
|label2 | |data1 = {{{started|}}} | ||
|data2 | |label2 = Description | ||
|label3 | |data2 = {{{description|}}} | ||
|data3 | |label3 = Maintainer(s) | ||
|data3 = | |||
{{{maintainers|}}} | {{{maintainers|}}} | ||
|label4 | |||
|data4 | |label4 = Contributor(s) | ||
|data4 = | |||
{{{developers|}}} | {{{developers|}}} | ||
|label5 = Merge Request(s) | |label5 = Merge Request(s) | ||
|data5 = | |data5 = {{{merge-requests|}}} | ||
{{{merge-requests| | |||
|label6 = Status | |||
|label6 | |data6 = {{{status|}}} | ||
|data6 | |||
|label7 | |label7 = Folders | ||
|data7 | |data7 = | ||
{{{folders|}}} | {{{folders|}}} | ||
| | |label8 = Changelog | ||
| | |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 | Todo: use git link template | ||
--> | --> | ||
| | |data11 = {{{topic-fgdata|}}} | ||
{{ | |label12 = Website | ||
|label13 = | |data12 = {{{website|}}} | ||
|data13 = { | |label13 = Subforum | ||
}} | |data13 = {{{subforum|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Line 53: | Line 53: | ||
== Usage == | == Usage == | ||
Add this to the top of the article describing the subsystem. | Add this to the top of the article describing the tool/subsystem. | ||
<nowiki>{{</nowiki>'''infobox subsystem''' | <nowiki>{{</nowiki>'''infobox subsystem''' | ||
<nowiki>|</nowiki> ''name'' = | <nowiki>|</nowiki> ''name'' = | ||
<nowiki>|</nowiki> ''type'' = | |||
<nowiki>|</nowiki> ''image'' = | <nowiki>|</nowiki> ''image'' = | ||
<nowiki>|</nowiki> ''alt'' = | <nowiki>|</nowiki> ''alt'' = | ||
Line 65: | Line 66: | ||
<nowiki>|</nowiki> ''status'' = | <nowiki>|</nowiki> ''status'' = | ||
<nowiki>|</nowiki> ''folders'' = | <nowiki>|</nowiki> ''folders'' = | ||
<nowiki>|</nowiki> ''changelog'' = | |||
<nowiki>|</nowiki> ''topic-sg'' = | <nowiki>|</nowiki> ''topic-sg'' = | ||
<nowiki>|</nowiki> ''topic-fg'' = | <nowiki>|</nowiki> ''topic-fg'' = | ||
<nowiki>|</nowiki> ''topic-fgdata'' = | <nowiki>|</nowiki> ''topic-fgdata'' = | ||
<nowiki>|</nowiki> ''git-repo'' = | |||
<nowiki>|</nowiki> ''website'' = | <nowiki>|</nowiki> ''website'' = | ||
<nowiki>|</nowiki> ''subforum'' = | <nowiki>|</nowiki> ''subforum'' = | ||
Line 75: | Line 78: | ||
; name: Name of the subsystem | ; name: Name of the subsystem | ||
; type: Type of the tool/utility (e.g. addon) | |||
; image: Image related to the subsystem, for example a screenshot | ; image: Image related to the subsystem, for example a screenshot | ||
Line 94: | Line 99: | ||
; folders: Pointers for most relevant folders, for example $SG_SRC/canvas or $FG_SRC/Scripting | ; folders: Pointers for most relevant folders, for example $SG_SRC/canvas or $FG_SRC/Scripting | ||
; topic-sg: | ; 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-fg: FlightGear repository and topic branch URL | ||
; topic-fgdata: fgdata 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 | ; website: Link to project website | ||
; subforum: Link to FlightGear subforum | ; subforum: Link to related FlightGear subforum or topic | ||
== Related templates == | == Related templates == | ||
* {{tl|merge-request}} | * {{tl|merge-request}} — ''For links to merge requests'' | ||
[[Category:Infobox templates|Subsystem]] | [[Category:Infobox templates|Subsystem]] | ||
}} | }} | ||
</noinclude> | </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 04/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
- {{merge-request}} — For links to merge requests