Difference between revisions of "Template:Infobox homebrew"

From WiiBrew
Jump to navigation Jump to search
m (Undo revision 58632 by MetaFight (Talk) -- I mucked up)
 
(56 intermediate revisions by 17 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|}}}
Line 51: Line 51:
 
|label7  = Version
 
|label7  = Version
 
|data7    = {{{version|}}}
 
|data7    = {{{version|}}}
|label8  = Licence
+
|label8  = {{#if: {{{licence|}}} | Licence | License}}
|data8    = {{{licence|}}}
+
|data8    = {{#if: {{{licence|}}} | {{{licence|}}} | {{{license|}}}}}
 +
|label9  = Language(s)
 +
|data9    = {{{language|}}}
  
|header11 = {{#if: {{{download|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }}
+
|header11 = {{#if: {{{download|}}}{{{downloadraw|}}}{{{website|}}}{{{discussion|}}}{{{source|}}} | Links }}
 
|data12  = {{
 
|data12  = {{
 
   #if: {{{download|}}}
 
   #if: {{{download|}}}
Line 61: Line 63:
 
     | [[{{{download}}}|Download]]
 
     | [[{{{download}}}|Download]]
 
     | [{{{download}}} Download]
 
     | [{{{download}}} Download]
 +
    }}
 +
  | {{
 +
    #if: {{{downloadraw|}}}
 +
    | {{{downloadraw}}}
 
     }}
 
     }}
 
   }}
 
   }}
Line 83: Line 89:
 
   | {{
 
   | {{
 
     #ifexist: {{{source}}}
 
     #ifexist: {{{source}}}
     | [[{{{source}}}|Source]]
+
     | [[Category:Open source homebrew]][[{{{source}}}|Source]]
     | [{{{source}}} Source]
+
     | {{
 +
      #ifeq: "{{{source}}}" | "included"
 +
      | [[Category:Open source homebrew]]Source Included
 +
      | [[Category:Open source homebrew]][{{{source}}} Source]
 +
      }}
 
     }}
 
     }}
 +
  |
 
   }}
 
   }}
 
|data17  = {{
 
|data17  = {{
 
   #if: {{{hbb|}}}
 
   #if: {{{hbb|}}}
 
   | {{
 
   | {{
    #ifeq: {{{hbb}}} | yes
+
      #if: {{{hbbversion|}}}
    | Downloadable via the [[Homebrew Browser]]
+
      | {{
     | [[Category:Infobox homebrew using invalid hbb parameter]]
+
        #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]]
 +
        }}
 
     }}
 
     }}
 
   }}
 
   }}
Line 98: Line 155:
 
|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]]
 +
}}

Latest revision as of 18:48, 25 March 2020

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