Difference between revisions of "Template:Infobox homebrew"

(fix2)
 
(66 intermediate revisions by 24 users not shown)
Line 2: Line 2:
 
|title        = {{{title|{{PAGENAME}}}}}
 
|title        = {{{title|{{PAGENAME}}}}}
 
|image        = {{{image|}}}
 
|image        = {{{image|}}}
βˆ’
|headerstyle  = background:#CEE0F2
+
|headerstyle  = background:#CEE0F2;
  
 
|header1  = General
 
|header1  = General
Line 8: Line 8:
 
|label2  = Author(s)
 
|label2  = Author(s)
 
|data2    = {{{author|}}}
 
|data2    = {{{author|}}}
βˆ’
|label3  = Maintainer(s)
+
|label3  = Graphics by
βˆ’
|data3    = {{{maintainer|}}}
+
|data3    = {{{graphicsby|}}}
 
|label4  = Contributor(s)
 
|label4  = Contributor(s)
 
|data4    = {{{contributor|}}}
 
|data4    = {{{contributor|}}}
 
|label5  = Ported by
 
|label5  = Ported by
 
|data5    = {{{portedby|}}}
 
|data5    = {{{portedby|}}}
βˆ’
|label6  = Type
+
|label6   = Title ID
βˆ’
|data6   = {{
+
|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 43: Line 45:
 
   | exploit          = [[:Category:Homebrew exploits|Exploit]] {{main other|[[Category:Homebrew exploits]]}}
 
   | exploit          = [[:Category:Homebrew exploits|Exploit]] {{main other|[[Category:Homebrew exploits]]}}
  
 +
  | riivolution      = [[List of homebrew games#Riivolution|Riivolution Mod]] {{main other|[[Category:Riivolution mods]]}}
 
   | 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 {{main other|[[Category:Joke applications]]}}
  
βˆ’
   | #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> }}
 
   }}
 
   }}
βˆ’
|label7   = Version
+
|label8   = Version
βˆ’
|data7   = {{{version|}}}
+
|data8   = {{{version|}}}
βˆ’
|label8   = Licence
+
|label9   = {{#if: {{{licence|}}} | Licence | License}}
βˆ’
|data8   = {{{licence|}}}
+
|data9   = {{#if: {{{licence|}}} | {{{licence|}}} | {{{license|}}}}}
 +
|label10  = Language(s)
 +
|data10    = {{{language|}}}
  
βˆ’
|header11 = {{#if: {{{download|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }}
+
|header11 = {{#if: {{{download|}}}{{{download2|}}}{{{downloadraw|}}}{{{downloadraw2|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }}
 
|data12  = {{
 
|data12  = {{
 
   #if: {{{download|}}}
 
   #if: {{{download|}}}
 
   | {{
 
   | {{
βˆ’
     #ifexist: {{{download}}}
+
     ifurl| {{{download}}}
 +
    | [{{{download}}} Download]
 
     | [[{{{download}}}|Download]]
 
     | [[{{{download}}}|Download]]
βˆ’
     | [{{{download}}} Download]
+
    }}
 +
  | {{
 +
    #if: {{{downloadraw|}}}
 +
     | {{{downloadraw}}}
 
     }}
 
     }}
 
   }}
 
   }}
 
|data13  = {{
 
|data13  = {{
 +
  #if: {{{download2|}}}
 +
  | {{
 +
    ifurl| {{{download2}}}
 +
    | [{{{download2}}} Download2]
 +
    | [[{{{download2}}}|Download2]]
 +
    }}
 +
  | {{
 +
    #if: {{{download_beta|}}}
 +
    | {{
 +
      ifurl| {{{download_beta}}}
 +
      | [{{{download_beta}}} Download (Beta)]
 +
      | [[{{{download_beta}}}|Download (Beta)]]
 +
      }}
 +
    | {{
 +
      #if: {{{downloadraw2|}}}
 +
      | {{{downloadraw2}}}
 +
      }}
 +
    }}
 +
  }}
 +
|data14  = {{
 
   #if: {{{website|}}}
 
   #if: {{{website|}}}
 
   | {{
 
   | {{
βˆ’
     #ifexist: {{{website}}}
+
     ifurl| {{{website}}}
 +
    | [{{{website}}} Website]
 
     | [[{{{website}}}|Website]]
 
     | [[{{{website}}}|Website]]
βˆ’
    | [{{{website}}} Website]
 
 
     }}
 
     }}
 
   }}
 
   }}
βˆ’
|data14   = {{
+
|data15   = {{
 
   #if: {{{discussion|}}}
 
   #if: {{{discussion|}}}
 
   | {{
 
   | {{
βˆ’
     #ifexist: {{{discussion}}}
+
     ifurl| {{{discussion}}}
 +
    | [{{{discussion}}} Discussion]
 
     | [[{{{discussion}}}|Discussion]]
 
     | [[{{{discussion}}}|Discussion]]
βˆ’
    | [{{{discussion}}} Discussion]
 
 
     }}
 
     }}
 
   }}
 
   }}
βˆ’
|data15   = {{
+
|data16   = {{
 
   #if: {{{source|}}}
 
   #if: {{{source|}}}
βˆ’
   | {{
+
   | [[Category:Open source homebrew]]{{
βˆ’
     #ifexist: {{{source}}}
+
     ifurl| {{{source}}}
βˆ’
     | [[Category:Open source homebrew]][[{{{source}}}|Source]]
+
     | [{{{source}}} Source]
βˆ’
    | [[Category:Open source homebrew]][{{{source}}} Source]
+
    | {{
 +
      #ifeq: "{{{source}}}" | "included"
 +
      | Source Included
 +
      | [[{{{source}}}|Source]]
 +
      }}
 
     }}
 
     }}
 +
  |
 
   }}
 
   }}
 
|data17  = {{
 
|data17  = {{
Line 93: Line 130:
 
       | {{
 
       | {{
 
         #ifeq: "{{{hbbversion|}}}" | "{{{version|}}}"
 
         #ifeq: "{{{hbbversion|}}}" | "{{{version|}}}"
βˆ’
         | Downloadable via the [[Homebrew Browser]]
+
         | {{
βˆ’
         | Version '''{{{hbbversion|}}}''' is downloadable via the [[Homebrew Browser]] [[Category:Homebrew with latest version not in Homebrew Browser]]
+
            #switch: {{{hbb|}}}
 +
              | yes = Downloadable via the [[Homebrew Browser]] [[Category:Homebrew in Homebrew Browser]]
 +
              | repo = Downloadable via a [[Homebrew Browser]] repository [[Category:Homebrew in Homebrew Browser]] {{#if: {{{hbbrepo|}}} | ({{{hbbrepo|}}})}}
 +
              | #default = [[Category:Infobox homebrew using invalid hbb parameter]]
 +
          }}
 +
         | {{
 +
            #switch: {{{hbb|}}}
 +
              | yes = Version '''{{{hbbversion|}}}''' downloadable via the [[Homebrew Browser]] [[Category:Homebrew in Homebrew Browser]]
 +
              | repo = Version '''{{{hbbversion|}}}''' downloadable via a [[Homebrew Browser]] repository [[Category:Homebrew in Homebrew Browser]] {{#if: {{{hbbrepo|}}} | ({{{hbbrepo|}}})}}
 +
              | #default = [[Category:Infobox homebrew using invalid hbb parameter]]
 +
          }}
 +
        }}
 +
      | {{
 +
          #switch: {{{hbb|}}}
 +
          | yes = Downloadable via the [[Homebrew Browser]] [[Category:Homebrew in Homebrew Browser]]
 +
          | repo = Downloadable via a [[Homebrew Browser]] repository [[Category:Homebrew in Homebrew Browser]] {{#if: {{{hbbrepo|}}} | ({{{hbbrepo|}}})}}
 +
          | #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]]
 +
          }}
 
         }}
 
         }}
 
       | {{
 
       | {{
βˆ’
           #ifeq: {{{hbb}}} | yes
+
           #switch: {{{osc|}}}  
βˆ’
            | Downloadable via the [[Homebrew Browser]]
+
          | yes = Downloadable via the [[Open Shop Channel]] [[Category:Homebrew in Open Shop Channel]]
βˆ’
            | [[Category:Infobox homebrew using invalid hbb parameter]]
+
          | 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 106: Line 181:
 
|header21 = {{#if: {{{peripherals|}}} | Peripherals }}
 
|header21 = {{#if: {{{peripherals|}}} | Peripherals }}
 
|data22  = {{{peripherals|}}}
 
|data22  = {{{peripherals|}}}
βˆ’
}}
+
}}{{#ifeq:{{{cat|}}}|no||
βˆ’
{{#if: {{{author|}}} | [[Category:Homebrew by {{author}}]]}}
+
{{#if:{{{library|}}}|{{#ifexist:Category:Homebrew using {{lcfirst:{{{library}}}}}|[[Category:Homebrew using {{lcfirst:{{{library}}}}}]]|[[Category:Homebrew using {{{library}}}]]}}|}}
βˆ’
{{#if: {{{licence|}}} | [[Category:Homebrew with {{{licence|}}} licence}}
+
{{#if:{{{library2|}}}|{{#ifexist:Category:Homebrew using {{lcfirst:{{{library2}}}}}|[[Category:Homebrew using {{lcfirst:{{{library2}}}}}]]|[[Category:Homebrew using {{{library2}}}]]}}|}}
βˆ’
<noinclude>
+
{{#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>
  
 
{{Documentation}}
 
{{Documentation}}
βˆ’
</noinclude>
+
</noinclude>{{#if: {{{sourceraw|}}}| [[Category:Infobox homebrew using sourceraw]]}}

Latest revision as of 21:37, 7 July 2023

Infobox homebrew
General
[edit] [purge] 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
| osc         = 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 / joke / riivolution

Peripherals

Icon Template Clarification
WiiDrawing.svg {{Wii}} If Wii buttons such as Reset are used
Wiimote.svg {{Wiimote}} If Wiimote is held upright
WiimoteHorizontal.svg {{WiimoteHorizontal}} If Wiimote is held horizontally
Wiimote1.svg {{Wiimote1}} If app has support for one player
WiiMote2.svg {{Wiimote2}} If app has support for two players
Wiimote3.svg {{Wiimote3}} If app has support for three players
Wiimote4.svg {{Wiimote4}} If app has support for four players
SensorBar.svg {{SensorBar}} If Wiimote infrared camera is used
Nunchuck alternative.svg {{Nunchuk}} If Wii Nunchuk is used
Wiimoteplus.svg {{MotionPlus}} If Wii MotionPlus is used
ClassicController.svg {{ClassicController}} If Wii Classic Controller is used
WiiBalanceBoard.svg {{WiiBalanceBoard}} If Wii Balance Board is used
WiiSpeak.svg {{WiiSpeak}} If Wii Speak is used
Les Paul Controller {{LesPaul}} If Guitar controller is used
Wii Zapper {{WiiZapper}} If Wiimote infrared camera is used for shooting purposes and nunchuk is used

In this case, do not use {{SensorBar}}

Wii Wheel {{WiiWheel}} If Wiimote is held horizontally and "steered"
Wii U GamePad {{WiiUGamePad}} If Wii U GamePad is used
GameCube Controller {{GCNController}} If GameCube Controller is used
GameBoy Advance {{GameBoyAdvance}} If GameBoy Advance is used
USB Keyboard {{USBKeyboard}} If USB Keyboard is used
USB Mouse {{USBMouse}} If USB Mouse is used
DVD Drive {{WiiDisc}} If app reads Wii Optical Discs (not DVDs)
DVD {{DVD}} If app reads DVDs
Loads files from the Front SD slot {{FrontSD}} If app reads and writes to Front SD
Loads files from SDHC cards in the Front SD slot {{FrontSDHC}} Same as {{FrontSD}}, but with SDHC support
SD Gecko {{SDGecko}} If app reads and writes to SD Gecko
GameCube Memory Card {{GCNMemoryCard}} If app reads and writes to GameCube memory card
USB mass storage device {{USBMSD}} If app reads and/or writes to USB flash drive
USBGecko2.svg {{USBGecko}} If app transmits data via USB Gecko
Bluetooth {{Bluetooth}} If Wii's Bluetooth functionality is used
Local WiFi {{WiFi}} If app connects to wireless local area network
Internet {{Internet}} If app connects to internet
Nintendo DS {{DSCon}} If Nintendo DS can connect to Wii using app



See also