Difference between revisions of "Template:Infobox homebrew"

From WiiBrew
Jump to navigation Jump to search
(we have no need of that stuff)
m (Switched to conditional links)
 
(5 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
|label5  = Ported by
 
|label5  = Ported by
 
|data5    = {{{portedby|}}}
 
|data5    = {{{portedby|}}}
|label6  = Type
+
|label6   = Title ID
|data6   = {{
+
|data6    = {{{id|}}}
 +
|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 47: Line 49:
 
   | hardware tool    = Hardware tool {{main other|[[Category:Hardware tools]]}}
 
   | 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
+
|label8   = Version
|data7   = {{{version|}}}
+
|data8   = {{{version|}}}
|label8   = {{#if: {{{licence|}}} | Licence | License}}
+
|label9   = {{#if: {{{licence|}}} | Licence | License}}
|data8   = {{#if: {{{licence|}}} | {{{licence|}}} | {{{license|}}}}}
+
|data9   = {{#if: {{{licence|}}} | {{{licence|}}} | {{{license|}}}}}
|label9   = Language(s)
+
|label10   = Language(s)
|data9   = {{{language|}}}
+
|data10   = {{{language|}}}
  
 
|header11 = {{#if: {{{download|}}}{{{downloadraw|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }}
 
|header11 = {{#if: {{{download|}}}{{{downloadraw|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }}
Line 62: Line 65:
 
   | {{
 
   | {{
 
     #ifexist: {{{download}}}
 
     #ifexist: {{{download}}}
     | [[{{{download}}}|Download]]
+
     | {{ConditionalLink|{{{download}}}|Download}}
 
     | [{{{download}}} Download]
 
     | [{{{download}}} Download]
 
     }}
 
     }}
Line 74: Line 77:
 
   | {{
 
   | {{
 
     #ifexist: {{{website}}}
 
     #ifexist: {{{website}}}
     | [[{{{website}}}|Website]]
+
     | {{ConditionalLink|{{{website}}}|Website}}
 
     | [{{{website}}} Website]
 
     | [{{{website}}} Website]
 
     }}
 
     }}
Line 82: Line 85:
 
   | {{
 
   | {{
 
     #ifexist: {{{discussion}}}
 
     #ifexist: {{{discussion}}}
     | [[{{{discussion}}}|Discussion]]
+
     | {{ConditionalLink|{{{discussion}}}|Discussion}}
 
     | [{{{discussion}}} Discussion]
 
     | [{{{discussion}}} Discussion]
 
     }}
 
     }}
Line 90: Line 93:
 
   | {{
 
   | {{
 
     #ifexist: {{{source}}}
 
     #ifexist: {{{source}}}
     | [[Category:Open source homebrew]][[{{{source}}}|Source]]
+
     | [[Category:Open source homebrew]]{{ConditionalLink|{{{source}}}|Source}}
 
     | {{
 
     | {{
 
       #ifeq: "{{{source}}}" | "included"
 
       #ifeq: "{{{source}}}" | "included"
Line 98: Line 101:
 
     }}
 
     }}
 
   |  
 
   |  
 +
  }}
 +
|data17  = {{
 +
  #if: {{{hbb|}}}
 +
  | {{
 +
      #if: {{{hbbversion|}}}
 +
      | {{
 +
        #ifeq: "{{{hbbversion|}}}" | "{{{version|}}}"
 +
        | {{
 +
            #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]]
 +
          }}
 +
        }}
 +
      | {{
 +
          #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]]
 +
        }}
 +
    }}
 
   }}
 
   }}
  

Latest revision as of 21:36, 13 May 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