Difference between revisions of "Template:Infobox/homebrew"
Jump to navigation
Jump to search
(Replace with content of Template:Infobox homebrew) |
|||
Line 14: | Line 14: | ||
|label5 = Ported by | |label5 = Ported by | ||
|data5 = {{{portedby|}}} | |data5 = {{{portedby|}}} | ||
− | |label6 = Type | + | |label6 = Title ID |
− | | | + | |data6 = {{#if: {{{id|}}} | {{{id}}}[[Category:Homebrew channels]]}} |
+ | |label7 = Type | ||
+ | |data7 = {{ | ||
#switch: {{{type|}}} | #switch: {{{type|}}} | ||
| media player = [[List of homebrew applications#Media players|Media player]] {{main other|[[Category:Homebrew media players]]}} | | media player = [[List of homebrew applications#Media players|Media player]] {{main other|[[Category:Homebrew media players]]}} | ||
Line 21: | Line 23: | ||
| operating system = [[List of homebrew applications#Operating systems|Operating system]] {{main other|[[Category:Homebrew operating systems]]}} | | operating system = [[List of homebrew applications#Operating systems|Operating system]] {{main other|[[Category:Homebrew operating systems]]}} | ||
| math = [[List of homebrew applications#Math|Math application]] {{main other|[[Category:Homebrew math applications]]}} | | math = [[List of homebrew applications#Math|Math application]] {{main other|[[Category:Homebrew math applications]]}} | ||
− | + | | racing game = [[List of homebrew games#Racing|Racing game]] {{main other|[[Category:Homebrew racing games]]}} | |
| arcade game = [[List of homebrew games#Arcade|Arcade game]] {{main other|[[Category:Homebrew arcade games]]}} | | arcade game = [[List of homebrew games#Arcade|Arcade game]] {{main other|[[Category:Homebrew arcade games]]}} | ||
| board game = [[List of homebrew games#Board|Board game]] {{main other|[[Category:Homebrew board games]]}} | | board game = [[List of homebrew games#Board|Board game]] {{main other|[[Category:Homebrew board games]]}} | ||
Line 45: | Line 47: | ||
| system tool = [[List of system tools|System tool]] {{main other|[[Category:Homebrew system tools]]}} | | system tool = [[List of system tools|System tool]] {{main other|[[Category:Homebrew system tools]]}} | ||
| pc utility = [[List of PC utilities|PC utility]] {{main other|[[Category:PC utilities]]}} | | pc utility = [[List of PC utilities|PC utility]] {{main other|[[Category:PC utilities]]}} | ||
+ | | hardware tool = Hardware tool {{main other|[[Category:Hardware tools]]}} | ||
| demo = [[List of homebrew demos|Demo]] {{main other|[[Category:Homebrew demos]]}} | | demo = [[List of homebrew demos|Demo]] {{main other|[[Category:Homebrew demos]]}} | ||
+ | | unique = [[List of homebrew applications#Unique applications|Unique application]] {{main other|[[Category:Unique homebrew applications]]}} | ||
+ | | joke = Joke application | ||
− | | #default = {{#if: {{{type|}}} | {{{type}}} <includeonly>[[Category:Infobox homebrew using invalid type parameter]]</includeonly> }} | + | | #default = {{#if: {{{type|}}} | {{{type}}} <includeonly>{{#if: {{{invalidTypeIntended|}}}||[[Category:Infobox homebrew using invalid type parameter]]}}</includeonly> }} |
}} | }} | ||
− | | | + | |label8 = Version |
− | | | + | |data8 = {{{version|}}} |
− | | | + | |label9 = {{#if: {{{licence|}}} | Licence | License}} |
− | | | + | |data9 = {{#if: {{{licence|}}} | {{{licence|}}} | {{{license|}}}}} |
− | | | + | |label10 = Language(s) |
− | | | + | |data10 = {{{language|}}} |
|header11 = {{#if: {{{download|}}}{{{downloadraw|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }} | |header11 = {{#if: {{{download|}}}{{{downloadraw|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }} | ||
Line 60: | Line 65: | ||
#if: {{{download|}}} | #if: {{{download|}}} | ||
| {{ | | {{ | ||
− | + | ifurl| {{{download}}} | |
+ | | [{{{download}}} Download] | ||
| [[{{{download}}}|Download]] | | [[{{{download}}}|Download]] | ||
− | |||
}} | }} | ||
| {{ | | {{ | ||
Line 72: | Line 77: | ||
#if: {{{website|}}} | #if: {{{website|}}} | ||
| {{ | | {{ | ||
− | + | ifurl| {{{website}}} | |
+ | | [{{{website}}} Website] | ||
| [[{{{website}}}|Website]] | | [[{{{website}}}|Website]] | ||
− | |||
}} | }} | ||
}} | }} | ||
Line 80: | Line 85: | ||
#if: {{{discussion|}}} | #if: {{{discussion|}}} | ||
| {{ | | {{ | ||
− | + | ifurl| {{{discussion}}} | |
+ | | [{{{discussion}}} Discussion] | ||
| [[{{{discussion}}}|Discussion]] | | [[{{{discussion}}}|Discussion]] | ||
− | |||
}} | }} | ||
}} | }} | ||
|data15 = {{ | |data15 = {{ | ||
#if: {{{source|}}} | #if: {{{source|}}} | ||
− | | {{ | + | | [[Category:Open source homebrew]]{{ |
− | + | ifurl| {{{source}}} | |
− | | | + | | [{{{source}}} Source] |
| {{ | | {{ | ||
#ifeq: "{{{source}}}" | "included" | #ifeq: "{{{source}}}" | "included" | ||
− | | | + | | Source Included |
− | | [ | + | | [[{{{source}}}|Source]] |
}} | }} | ||
}} | }} | ||
Line 122: | Line 127: | ||
| repo = Downloadable via a [[Homebrew Browser]] repository [[Category:Homebrew in Homebrew Browser]] {{#if: {{{hbbrepo|}}} | ({{{hbbrepo|}}})}} | | repo = Downloadable via a [[Homebrew Browser]] repository [[Category:Homebrew in Homebrew Browser]] {{#if: {{{hbbrepo|}}} | ({{{hbbrepo|}}})}} | ||
| #default = [[Category:Infobox homebrew using invalid hbb parameter]] | | #default = [[Category:Infobox homebrew using invalid hbb parameter]] | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |data18 = {{ | ||
+ | #if: {{{osc|}}} | ||
+ | | {{ | ||
+ | #if: {{{oscversion|}}} | ||
+ | | {{ | ||
+ | #ifeq: "{{{oscversion|}}}" | "{{{version|}}}" | ||
+ | | {{ | ||
+ | #switch: {{{osc|}}} | ||
+ | | yes = Downloadable via the [[Open Shop Channel]] [[Category:Homebrew in Open Shop Channel]] | ||
+ | | repo = Downloadable via an [[Open Shop Channel]] repository [[Category:Homebrew in Open Shop Channel]] {{#if: {{{oscrepo|}}} | ({{{oscrepo|}}})}} | ||
+ | | #default = [[Category:Infobox homebrew using invalid osc parameter]] | ||
+ | }} | ||
+ | | {{ | ||
+ | #switch: {{{osc|}}} | ||
+ | | yes = Version '''{{{oscversion|}}}''' downloadable via the [[Open Shop Channel]] [[Category:Homebrew in Open Shop Channel]] | ||
+ | | repo = Version '''{{{oscversion|}}}''' downloadable via an [[Open Shop Channel]] repository [[Category:Homebrew in Open Shop Channel]] {{#if: {{{oscrepo|}}} | ({{{oscrepo|}}})}} | ||
+ | | #default = [[Category:Infobox homebrew using invalid osc parameter]] | ||
+ | }} | ||
+ | }} | ||
+ | | {{ | ||
+ | #switch: {{{osc|}}} | ||
+ | | yes = Downloadable via the [[Open Shop Channel]] [[Category:Homebrew in Open Shop Channel]] | ||
+ | | repo = Downloadable via an [[Open Shop Channel]] repository [[Category:Homebrew in Open Shop Channel]] {{#if: {{{oscrepo|}}} | ({{{oscrepo|}}})}} | ||
+ | | #default = [[Category:Infobox homebrew using invalid osc parameter]] | ||
}} | }} | ||
}} | }} | ||
Line 128: | Line 160: | ||
|header21 = {{#if: {{{peripherals|}}} | Peripherals }} | |header21 = {{#if: {{{peripherals|}}} | Peripherals }} | ||
|data22 = {{{peripherals|}}} | |data22 = {{{peripherals|}}} | ||
+ | }}{{#ifeq:{{{cat|}}}|no|| | ||
+ | {{#if:{{{library|}}}|{{#ifexist:Category:Homebrew using {{lcfirst:{{{library}}}}}|[[Category:Homebrew using {{lcfirst:{{{library}}}}}]]|[[Category:Homebrew using {{{library}}}]]}}|}} | ||
+ | {{#if:{{{library2|}}}|{{#ifexist:Category:Homebrew using {{lcfirst:{{{library2}}}}}|[[Category:Homebrew using {{lcfirst:{{{library2}}}}}]]|[[Category:Homebrew using {{{library2}}}]]}}|}} | ||
+ | {{#if:{{{library3|}}}|{{#ifexist:Category:Homebrew using {{lcfirst:{{{library3}}}}}|[[Category:Homebrew using {{lcfirst:{{{library3}}}}}]]|[[Category:Homebrew using {{{library3}}}]]}}|}} | ||
+ | {{#if:{{{library4|}}}|{{#ifexist:Category:Homebrew using {{lcfirst:{{{library4}}}}}|[[Category:Homebrew using {{lcfirst:{{{library4}}}}}]]|[[Category:Homebrew using {{{library4}}}]]}}|}} | ||
+ | {{#if:{{{library5|}}}|{{#ifexist:Category:Homebrew using {{lcfirst:{{{library5}}}}}|[[Category:Homebrew using {{lcfirst:{{{library5}}}}}]]|[[Category:Homebrew using {{{library5}}}]]}}|}} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | |||
</noinclude> | </noinclude> | ||
{{ | {{ |
Revision as of 05:40, 20 December 2022
Infobox/homebrew | |
General |
---|
[edit] Template documentation
Usage
{{Infobox homebrew | title = | image = [[Image:name of screenshot.png|200px]] | type = see Types below | author = | coder = | translator = | graphics by = | contributor = | portedby = | version = | licence = GPL/LGPL/Freeware/Shareware/Commercial/Apache/BSD (note that freeware means closed source but free of charge) | download = | website = | discussion = | source = | peripherals = Choose from list below | hbb = yes/repo/leave blank }}
Types
media player / utility / operating system / math / arcade game / board game / card game / game engine / music game / platform game / puzzle game / role playing game / shooting game / simulation game / trivia game / other game / console emulator / handheld emulator / arcade emulator / computer emulator / loader / system tool / pc utility / demo / exploit
Peripherals
Icon | Template | Clarification |
---|---|---|
{{SD}} | If app reads and writes to SD | |
{{SDHC}} | Same as {{SD}}, but with SDHC support | |
{{WiFi}} | If app connects to wireless local area network | |
Template:Internet | {{Internet}} | If app connects to internet |
See also