Template:Infobox homebrew: Difference between revisions

Template page
(add |osc=)
(add osc to download links check)
 
Line 29: Line 29:


| 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: {{{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|}}}{{{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> }} | }}
}}<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]] | }} }}</includeonly>
}}<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]] | }} }}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 21:37, 3 May 2024