Changes

Replace with content of Template:Infobox homebrew
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 45: Line 47:  
   | 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
   −
   | #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 60: Line 65:  
   #if: {{{download|}}}
 
   #if: {{{download|}}}
 
   | {{
 
   | {{
     #ifexist: {{{download}}}
+
     ifurl| {{{download}}}
 +
    | [{{{download}}} Download]
 
     | [[{{{download}}}|Download]]
 
     | [[{{{download}}}|Download]]
    | [{{{download}}} Download]
   
     }}
 
     }}
 
   | {{
 
   | {{
Line 72: Line 77:  
   #if: {{{website|}}}
 
   #if: {{{website|}}}
 
   | {{
 
   | {{
     #ifexist: {{{website}}}
+
     ifurl| {{{website}}}
 +
    | [{{{website}}} Website]
 
     | [[{{{website}}}|Website]]
 
     | [[{{{website}}}|Website]]
    | [{{{website}}} Website]
   
     }}
 
     }}
 
   }}
 
   }}
Line 80: Line 85:  
   #if: {{{discussion|}}}
 
   #if: {{{discussion|}}}
 
   | {{
 
   | {{
     #ifexist: {{{discussion}}}
+
     ifurl| {{{discussion}}}
 +
    | [{{{discussion}}} Discussion]
 
     | [[{{{discussion}}}|Discussion]]
 
     | [[{{{discussion}}}|Discussion]]
    | [{{{discussion}}} Discussion]
   
     }}
 
     }}
 
   }}
 
   }}
 
|data15  = {{
 
|data15  = {{
 
   #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 127:  
           | 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 160:  
|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}}
[[Category:Infobox]]
   
</noinclude>
 
</noinclude>
 
{{
 
{{
150

edits