Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Soon Soon: Difference between revisions

From GameBrew
No edit summary
Tag: Manual revert
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Gallery1/styles.css" />
====Starting a new page with form====
<!--{{#cargo_query:
* From the menu (located next to the search icon), select "Special pages" > "Start of form".
tables=Infobox_Switch_Homebrews
* Pick the Infobox template from the dropdown menu, and enter the title of the page.
|where= type="Media Players"
* (If you type "Abc PSP", the url of the page will be <nowiki>https://www.gamebrew.org/wiki/Abc PSP</nowiki>)
|fields=image, title, lastupdated, CONCAT("[[",_pageName,"|",title,"]] ",Char(10),Char(10),author,Char(10)," v.",version,"")=titlez, _pageName
* Fill in the following details for the infobox:
|format=gallery
**title
|mode=nolines
**image
|order by=lastupdated DESC
**description
|caption field=titlez
**author
|image width=260
**lastupdated
|image height=148
**type (see note below)
|link field=_pageName
**version
|caption field=titlez
**download
|alt field=title
**website
|show filename=0
**source (optional)
|show bytes=0
* Add the content under the "Free text" section.
|show dimensions=0
|per row=0
|limit=1000
}}
<div class="ds">
{{#cargo_query:
tables=Infobox_DS_Homebrews
|where= type="Utilities"
|fields=image, title, lastupdated, CONCAT("[[",_pageName,"|",title,"]] ",Char(10),Char(10),author,Char(10)," v.",version,"")=titlez, _pageName
|format=gallery
|mode=nolines
|order by=lastupdated DESC
|caption field=titlez
|image width=240
|image height=360
|link field=_pageName
|caption field=titlez
|alt field=title
|show filename=0
|show bytes=0
|show dimensions=0
|per row=0
|limit=50
}}-->
</div>
<!--{{#cargo_query:
tables=Infobox_DS_Homebrews
|fields= CONCAT('[[',image,'|',image,']]')=IMG, _pageName=Page, title=Title, download=URL
|order by=title ASC
|format=dynamic table
|rows per page=3
|limit=5000
}}-->
{{GB Control Settings}}
{{InfoboxNeue
|title=
|image=
|description=
|author=
|lastupdated=
|type=
|version=
|license=
|download=
|website=
|discussion={{Infobox Discussion}}
}}


<!--{{Infobox Discussion}}
====Starting a new page without form====
{{#tag:html|
* From the browser address bar, enter the url of the page you want to create (e.g. <nowiki>https://www.gamebrew.org/wiki/Abc Vita</nowiki>).
<a href="javascript:void(0);" onclick="document.getElementById('emulator-container').style.display='block'; document.getElementById('emulator-container').scrollIntoView({behavior: 'smooth'});this.style.display='none'; " title="Online emulator" style="display:inline-block;margin-top:10px;text-decoration:none;">
* It will take you to a blank page on which you can edit. Click "Create", copy the Infobox template onto the page and fill in the information.
    <button style="padding:10px 20px;background-color:var(--color-primary);color:white;border:none;border-radius:var(--border-radius--pill);cursor:pointer;">
* Use the "Preview" option to check for errors, and then add contents to the page.
        Online emulator
    </button>
</a>
}}-->


<div id="emulator-container" style="display:none;">
Template (replace XXX with GB/GBA/DS/3DS/PSP/Vita/Wii/WiiU/Switch/XBOX):
<!--BEGIN Online Emulator Section-->
<nowiki>{{Infobox XXX Homebrews</nowiki>
{{EmulatorJS Main
|title      =
|width=520px
|image      =
|height=390px
|description=
|EJS_core=desmume2015
|author    =
|EJS_gameName=AriaDS
|lastupdated=
|EJS_gameUrl=https://dlhb.gamebrew.org/onlineemulators/nds/ariads.7z
|type      =
}}
|version    =
<!--END Online Emulator Section-->
|license    =
</div>
|download  =
|website    =
|source    =
}}
 
Page example:
<nowiki>{{Infobox GB Homebrews
|title      =Abc       
|image      =Abc.png    (from uploaded files)
|description=Abc        (short descriptions that only show up in the table)
|author    =Abc       
|lastupdated=2000/01/01
|type      =Math      (see below section for more information)
|version    =1.00
|license    =Mixed
|download  =Link
|website    =Link
|source    =Link
}}
From here on is page content.
 
== Screenshots ==
[[File:Abc.png|link=]]
== External links ==</nowiki>
 
====About type====
The type field will sort the page to the corresponding category. The category list can be found at <nowiki>www.gamebrew.org/wiki/Module:Infobox_XXX_Homebrews</nowiki> (replace XXX with GB/GBA/DS/3DS/PSP/Vita/WiiU/Switch/XBOX).  
 
A list of valid type names for the GameBoy section are (inside the [' ']):
    local categories = {
        -- Applications
        ['Math']                = {'GB homebrew applications', 'Maths applications on GB', 'GB homebrew applications'},
        ['Music Apps']          = {'GB homebrew applications', 'Music applications on GB', 'GB homebrew applications'},
        ['Music Disks']          = {'GB homebrew applications', 'Music disks on GB', 'GB homebrew applications'},
        ['Other Apps']          = {'GB homebrew applications', 'Other applications on GB', 'GB homebrew applications'},
        ['Test Roms']            = {'GB homebrew applications', 'Test roms on GB', 'GB homebrew applications'},
        ['Utilities']            = {'GB homebrew applications', 'Utility applications on GB', 'GB homebrew applications'},
        -- Games
        ['Action']              = {'GB homebrew games', 'Action games on GB', 'GB homebrew games'},
        ['Adventure']            = {'GB homebrew games', 'Adventure games on GB', 'GB homebrew games'},
        ['Arcade Games']        = {'GB homebrew games', 'Arcade games on GB', 'GB homebrew games'},
        ['Board']                = {'GB homebrew games', 'Board games on GB', 'GB homebrew games'},
        ['Card']                = {'GB homebrew games', 'Card games on GB', 'GB homebrew games'},
        ['Music']                = {'GB homebrew games', 'Music games on GB', 'GB homebrew games'},
        ['Other Games']          = {'GB homebrew games', 'Other games on GB', 'GB homebrew games'},
        ['Platform']            = {'GB homebrew games', 'Platform games on GB', 'GB homebrew games'},
        ['Puzzle']              = {'GB homebrew games', 'Puzzle games on GB', 'GB homebrew games'},
        ['Racing']              = {'GB homebrew games', 'Racing games on GB', 'GB homebrew games'},
        ['Role Playing']        = {'GB homebrew games', 'Role playing games on GB', 'GB homebrew games'},
        ['Shooter']              = {'GB homebrew games', 'Shooter games on GB', 'GB homebrew games'},
        ['Simulation']          = {'GB homebrew games', 'Simulation games on GB', 'GB homebrew games'},
        ['Strategy']            = {'GB homebrew games', 'Strategy games on GB', 'GB homebrew games'},
        ['Trivia']              = {'GB homebrew games', 'Trivia games on GB', 'GB homebrew games'},
        -- Emulators
        ['Computer']            = {'GB homebrew emulators', 'Computer emulators on GB', 'GB homebrew emulators'},
        ['Console']              = {'GB homebrew emulators', 'Console emulators on GB', 'GB homebrew emulators'},
        ['Other Emulators']      = {'GB homebrew emulators', 'Other emulators on GB', 'GB homebrew emulators'},
        -- PC (PC Utilities for GB)
        ['Development']          = {'GB PC utilities', 'Development utilities for GB', 'PC utilities for GB'},
        ['PC Utilities']          = {'GB PC utilities', 'Other PC utilities for GB', 'PC utilities for GB'},
        -- Demos
        ['Demos']              = {'GB homebrew demos', 'Demo applications on GB', 'GB homebrew demos'},
        ['Game Demos']          = {'GB homebrew demos', 'Demo games on GB', 'GB homebrew demos'},
        ['Samples']            = {'GB homebrew demos', 'Code samples for GB', 'GB homebrew demos'},
        -- ROM Hack
        ['Game Hacks']          = {'all GB Rom Hacks', 'GB game hacks', 'GB rom hacks'},
        ['Translations']        = {'all GB Rom Hacks', 'GB game translations', 'GB rom hacks'},
        ['Hack Utilities']      = {'all GB Rom Hacks', 'GB hack utilities', 'GB rom hacks'},
    }
 
====Notes====
The [https://www.gamebrew.org/wiki/List_of_all_GB_homebrew Homebrew Cartridge table] was added quite late; to avoid complicating the database we used these Infobox fields for the data:
* discussion (url for the Purchase info column)
* portedby (Name of the url for the Purchase info column)
* contributor (used for Availability, this has been removed from the table)

Latest revision as of 04:16, 7 November 2024

Starting a new page with form

  • From the menu (located next to the search icon), select "Special pages" > "Start of form".
  • Pick the Infobox template from the dropdown menu, and enter the title of the page.
  • (If you type "Abc PSP", the url of the page will be https://www.gamebrew.org/wiki/Abc PSP)
  • Fill in the following details for the infobox:
    • title
    • image
    • description
    • author
    • lastupdated
    • type (see note below)
    • version
    • download
    • website
    • source (optional)
  • Add the content under the "Free text" section.

Starting a new page without form

  • From the browser address bar, enter the url of the page you want to create (e.g. https://www.gamebrew.org/wiki/Abc Vita).
  • It will take you to a blank page on which you can edit. Click "Create", copy the Infobox template onto the page and fill in the information.
  • Use the "Preview" option to check for errors, and then add contents to the page.

Template (replace XXX with GB/GBA/DS/3DS/PSP/Vita/Wii/WiiU/Switch/XBOX):

{{Infobox XXX Homebrews
|title      =
|image      =
|description=
|author     =
|lastupdated=
|type       =
|version    =
|license    =
|download   =
|website    =
|source     =
}}

Page example:

{{Infobox GB Homebrews
 |title      =Abc        
 |image      =Abc.png    (from uploaded files)
 |description=Abc        (short descriptions that only show up in the table)
 |author     =Abc        
 |lastupdated=2000/01/01 
 |type       =Math       (see below section for more information)
 |version    =1.00
 |license    =Mixed
 |download   =Link
 |website    =Link
 |source     =Link
 }}
 From here on is page content.
  
 == Screenshots ==
 [[File:Abc.png|link=]]
 
 == External links ==

About type

The type field will sort the page to the corresponding category. The category list can be found at www.gamebrew.org/wiki/Module:Infobox_XXX_Homebrews (replace XXX with GB/GBA/DS/3DS/PSP/Vita/WiiU/Switch/XBOX).

A list of valid type names for the GameBoy section are (inside the [' ']):

   local categories = {
       -- Applications
       ['Math']                 = {'GB homebrew applications', 'Maths applications on GB', 'GB homebrew applications'},
       ['Music Apps']           = {'GB homebrew applications', 'Music applications on GB', 'GB homebrew applications'},
       ['Music Disks']          = {'GB homebrew applications', 'Music disks on GB', 'GB homebrew applications'},
       ['Other Apps']           = {'GB homebrew applications', 'Other applications on GB', 'GB homebrew applications'},
       ['Test Roms']            = {'GB homebrew applications', 'Test roms on GB', 'GB homebrew applications'},
       ['Utilities']            = {'GB homebrew applications', 'Utility applications on GB', 'GB homebrew applications'},
       -- Games
       ['Action']               = {'GB homebrew games', 'Action games on GB', 'GB homebrew games'},
       ['Adventure']            = {'GB homebrew games', 'Adventure games on GB', 'GB homebrew games'},
       ['Arcade Games']         = {'GB homebrew games', 'Arcade games on GB', 'GB homebrew games'},
       ['Board']                = {'GB homebrew games', 'Board games on GB', 'GB homebrew games'},		
       ['Card']                 = {'GB homebrew games', 'Card games on GB', 'GB homebrew games'},	
       ['Music']                = {'GB homebrew games', 'Music games on GB', 'GB homebrew games'},	
       ['Other Games']          = {'GB homebrew games', 'Other games on GB', 'GB homebrew games'},	
       ['Platform']             = {'GB homebrew games', 'Platform games on GB', 'GB homebrew games'},	
       ['Puzzle']               = {'GB homebrew games', 'Puzzle games on GB', 'GB homebrew games'},	
       ['Racing']               = {'GB homebrew games', 'Racing games on GB', 'GB homebrew games'},	
       ['Role Playing']         = {'GB homebrew games', 'Role playing games on GB', 'GB homebrew games'},	
       ['Shooter']              = {'GB homebrew games', 'Shooter games on GB', 'GB homebrew games'},	
       ['Simulation']           = {'GB homebrew games', 'Simulation games on GB', 'GB homebrew games'},	
       ['Strategy']             = {'GB homebrew games', 'Strategy games on GB', 'GB homebrew games'},	
       ['Trivia']               = {'GB homebrew games', 'Trivia games on GB', 'GB homebrew games'},	
       -- Emulators
       ['Computer']             = {'GB homebrew emulators', 'Computer emulators on GB', 'GB homebrew emulators'},
       ['Console']              = {'GB homebrew emulators', 'Console emulators on GB', 'GB homebrew emulators'},
       ['Other Emulators']      = {'GB homebrew emulators', 'Other emulators on GB', 'GB homebrew emulators'},
       -- PC (PC Utilities for GB)
       ['Development']           = {'GB PC utilities', 'Development utilities for GB', 'PC utilities for GB'},
       ['PC Utilities']          = {'GB PC utilities', 'Other PC utilities for GB', 'PC utilities for GB'},
       -- Demos
       ['Demos']               = {'GB homebrew demos', 'Demo applications on GB', 'GB homebrew demos'},
       ['Game Demos']          = {'GB homebrew demos', 'Demo games on GB', 'GB homebrew demos'},
       ['Samples']             = {'GB homebrew demos', 'Code samples for GB', 'GB homebrew demos'},
       -- ROM Hack
       ['Game Hacks']           = {'all GB Rom Hacks', 'GB game hacks', 'GB rom hacks'},
       ['Translations']         = {'all GB Rom Hacks', 'GB game translations', 'GB rom hacks'},
       ['Hack Utilities']       = {'all GB Rom Hacks', 'GB hack utilities', 'GB rom hacks'},
   }

Notes

The Homebrew Cartridge table was added quite late; to avoid complicating the database we used these Infobox fields for the data:

  • discussion (url for the Purchase info column)
  • portedby (Name of the url for the Purchase info column)
  • contributor (used for Availability, this has been removed from the table)

Advertising: