Abuse filter editor, Bureaucrats, Check users, Interface administrators, Staff, Suppressors, Administrators, Translation Reviewer
2,197
edits
(copy over release date stuff from Template:Infobox homebrew) |
No edit summary |
||
Line 4: | Line 4: | ||
| image = {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagesize|}}}|alt={{{imagealt|}}}]] | }} | | image = {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagesize|}}}|alt={{{imagealt|}}}]] | }} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| image2 = {{#if: {{{screenshot|}}} | [[File:{{{screenshot}}}|{{{screenshotsize|}}}|alt={{{screenshotalt|}}}]] | }} | |||
| caption2 = {{{screenshotcaption|}}} | |||
| autoheaders = y | | autoheaders = y | ||
| bodyclass = plainlinks | | bodyclass = plainlinks | ||
Line 13: | Line 15: | ||
| label3 = Version | | label3 = Version | ||
| data3 = {{{version|}}} {{#if: {{{releasedate|}}} | ({{Start date and age|{{#time:Y|{{{releasedate}}}}}|{{#time:m|{{{releasedate}}}}}|{{#time:d|{{{releasedate}}}}}}}) }} | | data3 = {{{version|}}} {{#if: {{{releasedate|}}} | ({{Start date and age|{{#time:Y|{{{releasedate}}}}}|{{#time:m|{{{releasedate}}}}}|{{#time:d|{{{releasedate}}}}}}}) }} | ||
| header10 = Links | | header10 = Links | ||
Line 24: | Line 25: | ||
| label14 = Source code | | label14 = Source code | ||
| data14 = {{#if: {{{sourceurl|}}} | [{{{sourceurl}}} {{{sourceurl}}}] | }} | | data14 = {{#if: {{{sourceurl|}}} | [{{{sourceurl}}} {{{sourceurl}}}] | }} | ||
| header20 = Download | |||
| data21 = {{#if: <!-- this is because plainlist always emits html elements, i need to check if any of the params are being checked first -->{{{releaseurl|}}}{{{universaldb|}}}{{{githubtag|}}}{{{gitlabtag|}}} | {{plainlist| | |||
{{#if: {{{releaseurl|}}} | *[{{{releaseurl}}} External site] | }} | |||
{{#if: {{{releaseurl1|}}} | *[{{{releaseurl1}}} {{{releasename1}}}] | }} | |||
{{#if: {{{releaseurl2|}}} | *[{{{releaseurl2}}} {{{releasename2}}}] | }} | |||
{{#if: {{{releaseurl3|}}} | *[{{{releaseurl3}}} {{{releasename3}}}] | }} | |||
{{#if: {{{universaldb|}}} | *[[universaldb:{{{universaldb}}}|Universal-DB]] | }} | |||
{{#if: {{{githubtag|}}} | {{#if: {{{github|}}} | *[https://github.com/{{{github}}}/releases/{{{githubtag}}} GitHub release] | }} | }} | |||
{{#if: {{{gitlabtag|}}} | {{#if: {{{gitlab|}}} | *[https://gitlab.com/{{{gitlab}}}/-/releases/{{{gitlabtag}}} GitLab release] | }} | }}}} | }} | |||
}}<includeonly>{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | {{#if: {{{version|}}} | <!-- has a release date --> | [[Category:Software without a version set]] }} {{#if: {{{releasedate|}}} | <!-- has a release date --> | [[Category:Software without a release date set]] }} }}</includeonly><noinclude>{{Documentation}}</noinclude> | }}<includeonly>{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | {{#if: {{{version|}}} | <!-- has a release date --> | [[Category:Software without a version set]] }} {{#if: {{{releasedate|}}} | <!-- has a release date --> | [[Category:Software without a release date set]] }} }}</includeonly><noinclude>{{Documentation}}</noinclude> |