Difference between revisions of "Template:Infobox homebrew"

From WiiBrew
Jump to navigation Jump to search
m
(Added unique to the types.)
 
(34 intermediate revisions by 19 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 21: Line 21:
 
   | 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 45:
 
   | 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]]}}
  
   | #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
 
|label7  = Version
 
|data7    = {{{version|}}}
 
|data7    = {{{version|}}}
|label8  = License
+
|label8  = {{#if: {{{licence|}}} | Licence | License}}
|data8    = {{{license|}}}
+
|data8    = {{#if: {{{licence|}}} | {{{licence|}}} | {{{license|}}}}}
 +
|label9  = Language(s)
 +
|data9    = {{{language|}}}
  
 
|header11 = {{#if: {{{download|}}}{{{downloadraw|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }}
 
|header11 = {{#if: {{{download|}}}{{{downloadraw|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }}
Line 102: Line 106:
 
       | {{
 
       | {{
 
         #ifeq: "{{{hbbversion|}}}" | "{{{version|}}}"
 
         #ifeq: "{{{hbbversion|}}}" | "{{{version|}}}"
         | Downloadable via the [[Homebrew Browser]] [[Category:Homebrew in 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]] [[Category:Homebrew in 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 115: Line 157:
 
|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>
  
Line 121: Line 169:
 
{{
 
{{
 
#if: {{{sourceraw|}}}
 
#if: {{{sourceraw|}}}
| [[Category:Infobox Homebrew Using Sourceraw]]
+
| [[Category:Infobox homebrew using sourceraw]]
 
}}
 
}}

Latest revision as of 00:50, 16 April 2021

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
| 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

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
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