Template:Infobox subsystem: Difference between revisions

Jump to navigation Jump to search
Internal fixes + doc
mNo edit summary
(Internal fixes + doc)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
|title   = {{{name|}}}
|title   = {{{name|}}}
|image   = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt{{!}}}}]]}}
|image   = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt{{!}}}}]]}}
|caption = {{{alt|}}}
|caption = {{{alt|}}}
|label1   = Started in
|label1 = Started in
|data1   = {{{started|}}}
|data1   = {{{started|}}}
|label2   = Description
|label2 = Description
|data2   = {{{description|}}}
|data2   = {{{description|}}}
|label3   = Maintainer(s)
|label3 = Maintainer(s)
|data3   =
|data3   =
{{{maintainers|}}}
{{{maintainers|}}}
|label4   = Developer(s)
 
|data4   =
|label4 = Developer(s)
|data4 =
{{{developers|}}}
{{{developers|}}}
{{#if: {{{merge-requests}}} |
 
|label5 = Merge Request(s)
|label5 = Merge Request(s)
|data5 =
|data5 = {{{merge-requests|}}}
{{{merge-requests|(none)}}}
 
}}
|label6 = Status
|label6   = Status
|data6 = {{{status|}}}
|data6   = {{{status|}}}


|label7   = Folders
|label7 = Folders
|data7   =
|data7 =
{{{folders|}}}
{{{folders|}}}


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


|label11  = Website
|label12 = Website
|data11    = {{{website|}}}
|data12  = {{{website|}}}
|label12  = Subforum
|label13 = Subforum
|data12    = {{{subforum|}}}
|data13  = {{{subforum|}}}
 
|label13 = Changelog
|data13 = {{Git File History|project|{{{project-history}}}|path|{{{path-history}}} }}


}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 63: Line 64:
  <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''      =  
Line 92: Line 94:
; 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:  Simgear repository and topic branch URL
; 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
Line 103: Line 107:


== Related templates ==
== Related templates ==
* {{tl|merge-request}} &ndash; For links to merge requests
* {{tl|merge-request}} — ''For links to merge requests''


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

Navigation menu