In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Template:Infobox homebrew"

From WiiBrew
Jump to navigation Jump to search
m (Reverted edits by Randomdude (Talk) to last revision by Muzer)
(fix2)
 
(24 intermediate revisions by 10 users not shown)
Line 14: Line 14:
 
|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   = {{#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|}}}{{{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]
 
 
     }}
 
     }}
 
   | {{
 
   | {{
Line 70: Line 76:
 
   }}
 
   }}
 
|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]
 
     | {{
 
     | {{
 
       #ifeq: "{{{source}}}" | "included"
 
       #ifeq: "{{{source}}}" | "included"
       | [[Category:Open source homebrew]]Source Included
+
       | Source Included
       | [[Category:Open source homebrew]][{{{source}}} Source]
+
       | [[{{{source}}}|Source]]
 
       }}
 
       }}
 
     }}
 
     }}
Line 122: Line 148:
 
           | 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 181:
 
|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>{{#if: {{{sourceraw|}}}| [[Category:Infobox homebrew using sourceraw]]}}
{{
 
#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