Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox software: Difference between revisions

Template page
m (Ihaveahax moved page Template:Infobox homebrew to Template:Infobox software: this is a more accurate name since it's being used for non-homebrew software as well as PC tools)
(add website parameter)
(10 intermediate revisions by 2 users not shown)
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 12: Line 10:
| data1 = {{{developers|}}}
| data1 = {{{developers|}}}
| label2 = Console
| label2 = Console
| data2 = {{#invoke:String|join|, |{{#if:{{yesno|{{{for3ds|0}}}}}|Nintendo 3DS|}}|{{#if:{{yesno|{{{forwiiu|0}}}}}|Wii U|}}|{{#if:{{yesno|{{{forswitch|0}}}}}|Nintendo Switch|}}|{{#if:{{yesno|{{{forwii|0}}}}}|Wii|}}}}
| data2 = {{#invoke:String|join|, |{{#if:{{yesno|{{{for3ds|0}}}}}|Nintendo 3DS|}}|{{#if:{{yesno|{{{forwiiu|0}}}}}|Wii U|}}|{{#if:{{yesno|{{{forswitch|0}}}}}|Nintendo Switch|}}}}
| label3 = Platform
| label3 = Platform
| data3 = {{#invoke:String|join|, |{{#if:{{yesno|{{{forwindows|0}}}}}|Microsoft Windows|}}|{{#if:{{yesno|{{{formac|0}}}}}|macOS|}}|{{#if:{{yesno|{{{forlinux|0}}}}}|Linux|}}|{{#if:{{yesno|{{{forjava|0}}}}}|Java|}}}}
| data3 = {{#invoke:String|join|, |{{#if:{{yesno|{{{forwindows|0}}}}}|Microsoft Windows|}}|{{#if:{{yesno|{{{formac|0}}}}}|macOS|}}|{{#if:{{yesno|{{{forlinux|0}}}}}|Linux|}}|{{#if:{{yesno|{{{forjava|0}}}}}|Java|}}}}
| label4 = Version
| label4 = Version
| data4  = {{{version|}}} {{#if: {{{releasedate|}}} | ({{Start date and age|{{#time:Y|{{{releasedate}}}}}|{{#time:m|{{{releasedate}}}}}|{{#time:d|{{{releasedate}}}}}}}) }}
| data4  = {{{version|}}} {{#if: {{{releasedate|}}} | ({{{releasedate}}}) }}


| header10 = Links
| header10 = Links
Line 29: Line 27:


| header20 = Download
| 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|}}}{{{osc|}}}{{{githubtag|}}}{{{gitlabtag|}}} | {{plainlist|<ul>{{#if: {{{releaseurl|}}} | <li>[{{{releaseurl}}} External site]</li> | }}{{#if: {{{releaseurl1|}}} | <li>[{{{releaseurl1}}} {{{releasename1}}}]</li> | }}{{#if: {{{releaseurl2|}}} | <li>[{{{releaseurl2}}} {{{releasename2}}}]</li> | }}{{#if: {{{releaseurl3|}}} | <li>[{{{releaseurl3}}} {{{releasename3}}}]</li> | }}{{#if: {{{universaldb|}}} | <li>[[universaldb:{{{universaldb}}}|Universal-DB]]</li> | }}{{#if: {{{osc|}}} | <li>[[osc:{{{osc}}}|Open Shop Channel]]</li> | }}{{#if: {{{githubtag|}}} | {{#if: {{{github|}}} | <li>[https://github.com/{{{github}}}/releases/{{{githubtag}}} GitHub release]</li> | }} | }}{{#if: {{{gitlabtag|}}} | {{#if: {{{gitlab|}}} | <li>[https://gitlab.com/{{{gitlab}}}/-/releases/{{{gitlabtag}}} GitLab release]</li> | }} | }}</ul> }} | }}
| 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|
}}<includeonly>{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | {{#if: {{{image|}}} | {{#if: {{{imagealt|}}} | <!-- has image with alt text --> | [[Category:Infoboxes without image alt text]] }} }} {{#if: {{{screenshot|}}} | {{#if: {{{screenshotalt|}}} | <!-- has screenshot with alt text --> | [[Category:Infoboxes without image alt text]] }} }} {{#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]] }} {{#if: {{yesno|{{{for3ds|}}}}} | [[Category:Nintendo 3DS homebrew]] | }}{{#if: {{yesno|{{{forwiiu|}}}}} | [[Category:Wii U homebrew]] | }}{{#if: {{yesno|{{{forswitch|}}}}} | [[Category:Nintendo Switch homebrew]] | }}{{#if: {{yesno|{{{forwii|}}}}} | [[Category:Wii homebrew]] | }}{{#if: {{yesno|{{{forwindows|}}}{{{formac|}}}{{{forlinux|}}}{{{forjava|}}}}} | [[Category:PC software]] | }} }}</includeonly>
{{#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: {{yesno|{{{for3ds|}}}}} | [[Category:Nintendo 3DS homebrew]] | }}{{#if: {{yesno|{{{forwiiu|}}}}} | [[Category:Wii U homebrew]] | }}{{#if: {{yesno|{{{forswitch|}}}}} | [[Category:Nintendo Switch homebrew]] | }} }}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 16:01, 26 September 2022