Toggle 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
(copy downloads changes from Template:Infobox game mod (replace markup list with html list))
(Wii)
Line 12: Line 12:
| 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|}}}}
| 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|}}}}
| 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|}}}}
Line 30: Line 30:
| 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|}}}{{{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: {{{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|<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: {{{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> }} | }}
}}<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]] }} {{#if: {{yesno|{{{for3ds|}}}}} | [[Category:Nintendo 3DS homebrew]] | }}{{#if: {{yesno|{{{forwiiu|}}}}} | [[Category:Wii U homebrew]] | }}{{#if: {{yesno|{{{forswitch|}}}}} | [[Category:Nintendo Switch homebrew]] | }} }}</includeonly>
}}<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]] }} {{#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]] | }} }}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 04:37, 8 October 2023