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
No edit summary
 
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)
 
(16 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


| label1 = Console
| label1 = Developer(s)
| data1 = {{#invoke:String|join|, |{{#if:{{yesno|{{{for3ds|0}}}}}|Nintendo 3DS|}}|{{#if:{{yesno|{{{forwiiu|0}}}}}|Wii U|}}|{{#if:{{yesno|{{{forswitch|0}}}}}|Nintendo Switch|}}}}
| data1 = {{{developers|}}}
| label2 = Platform
| label2 = Console
| data2 = {{#invoke:String|join|, |{{#if:{{yesno|{{{forwindows|0}}}}}|Microsoft Windows|}}|{{#if:{{yesno|{{{formac|0}}}}}|macOS|}}|{{#if:{{yesno|{{{forlinux|0}}}}}|Linux|}}|{{#if:{{yesno|{{{forjava|0}}}}}|Java|}}}}
| 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 = Version
| label3 = Platform
| data3 = {{{version|}}}
| 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
| data4 = {{{version|}}} {{#if: {{{releasedate|}}} | ({{Start date and age|{{#time:Y|{{{releasedate}}}}}|{{#time:m|{{{releasedate}}}}}|{{#time:d|{{{releasedate}}}}}}}) }}


| header10 = Links
| header10 = Links
| label11  = GitHub
| label11 = Website
| data11   = {{#if: {{{github|}}} | [https://github.com/{{{github}}} {{{github}}}] | }}
| data11  = {{#if: {{{website|}}} | [{{{website}}}] | }}
| label12 = GitLab
| label12 = GitHub
| data12   = {{#if: {{{gitlab|}}} | [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}] | }}
| data12   = {{#if: {{{github|}}} | [https://github.com/{{{github}}} {{{github}}}] | }}
| label13 = Source code
| label13 = GitLab
| data13   = {{#if: {{{sourceurl|}}} | [{{{sourceurl}}} {{{sourceurl}}}] | }}
| data13   = {{#if: {{{gitlab|}}} | [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}] | }}
| label14 = Source code
| data14   = {{#if: {{{sourceurl|}}} | [{{{sourceurl}}} {{{sourceurl}}}] | }}


| 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|
| 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> }} | }}
{{#if: {{{releaseurl|}}} | *[{{{releaseurl}}} External site] | }}
}}<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: {{{universaldb|}}} | *[https://db.universal-team.net/{{{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>

Latest revision as of 02:20, 31 October 2024