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
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_DS_Homebrews
* Pick the Infobox template from the dropdown menu, and enter the title of the page.
|where= type="Action"
* (If you type "Abc PSP", the url of the page will be <nowiki>https://www.gamebrew.org/wiki/Abc PSP</nowiki>)
|fields= CONCAT('[[',_pageName,'|',title,']]')=Title, description=Description, type=Type, version=Version, author=Author(s), lastupdated=Updated, discussion=Emulator
* Fill in the following details for the infobox:
|hidden fields=Emulator
**title
|order by=type ASC
**image
|format=dynamic table
**description
|limit=3000
**author
}}-->
**lastupdated
{{GB Control Settings}}
**type (see note below)
{{InfoboxNeue
**version
|title=
**download
|image=
**website
|description=
**source (optional)
|author=
* Add the content under the "Free text" section.
|lastupdated=
|type=
|version=
|license=
|download=
|website=
|discussion={{Infobox Discussion}}
}}
<div id="emulator-container" style="display:none;">
<!--BEGIN Online Emulator Section-->
{{#tag:html|
<div style='width:480px;height:320px;max-width:100%;margin-top:var(--space-md);display:flex;'><div id='game'></div></div>
<script type='text/javascript'>
EJS_player = '#game';
EJS_alignStartButton = 'center';
EJS_pathtodata = 'https://onlineemulators.gamebrew.org/data/';
EJS_disableLocalStorage = true;


EJS_core = 'gba';
====Starting a new page without form====
EJS_gameName = "FA";
* From the browser address bar, type the url of the page you want to create (Example: <nowiki>https://www.gamebrew.org/wiki/Abc PSP</nowiki>)
EJS_gameUrl = 'https://dlhb.gamebrew.org/onlineemulators/gba/sushi_the_cat.7z';
* 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.
EJS_startButtonName = 'Start Game';
* Use the "Preview" option to check for errors, and then add contents to the page.
</script>
{{EmulatorJS Loader}}
}}
<!--END Online Emulator Section-->


<!--{{Infobox Discussion}}
Template (replace XXX in with GB/GBA/DS/PSP/Vita/Wii/WiiU/Switch/XBOX):
{{#tag:html|
<nowiki>{{Infobox XXX Homebrews</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;">
|title     =
    <button style="padding:10px 20px;background-color:var(--color-primary);color:white;border:none;border-radius:var(--border-radius--pill);cursor:pointer;">
|image     =
        Online emulator
|description=
    </button>
|author     =
</a>
|lastupdated=
}}-->
|type       =
<!--{{#cargo_query:
|version   =
tables=Infobox_DS_Homebrews
|license   =
|fields= CONCAT('[[',_pageName,'|',title,']]')=Title, download=URL
|download   =
|order by=type ASC
|website   =
|format=table
|source    =
|limit=3000
}}
}}-->
{{GB Control Settings}}
{{InfoboxNeue
|title=
|image=
|description=
|author=
|lastupdated=
|type=
|version=
|license=
|download=
|website=
|discussion={{Infobox Discussion}}
}}
<div id="emulator-container" style="display:none;">
<!--BEGIN Online Emulator Section-->
{{#tag:html|
<div style='width:480px;height:320px;max-width:100%;margin-top:var(--space-md);display:flex;'><div id='game'></div></div>
<script type='text/javascript'>
EJS_player = '#game';
EJS_alignStartButton = 'center';
EJS_pathtodata = 'https://onlineemulators.gamebrew.org/data/';
EJS_disableLocalStorage = true;


EJS_core = 'gba';
Page example:
EJS_gameName = "FA";
<nowiki>{{Infobox GB Homebrews
EJS_gameUrl = 'https://dlhb.gamebrew.org/onlineemulators/gba/sushi_the_cat.7z';
|title      =Abc       
EJS_startButtonName = 'Start Game';
|image      =Abc.png    (from uploaded files)
</script>
|description=Abc        (short descriptions that only show up in the table)
{{EmulatorJS Loader}}
|author    =Abc       
}}
|lastupdated=2000/01/01
<!--END Online Emulator Section-->
|type      =Math      (see note)
|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>


<!--{{Infobox Discussion}}
====Note====
{{#tag:html|
The type field will sort the page to the corresponding category. The category list can be found at <nowiki>.../wiki/Module:Infobox_XXX_Homebrews</nowiki> (replace XXX with GB/GBA/DS/PSP/Vita/Wii/WiiU/Switch/XBOX). Currently accepted "type" for the GameBoy section are (inside the [' ']):
<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;">
    local categories = {
    <button style="padding:10px 20px;background-color:var(--color-primary);color:white;border:none;border-radius:var(--border-radius--pill);cursor:pointer;">
        -- Applications
         Online emulator
        ['Math']                = {'GB homebrew applications', 'Maths applications on GB', 'GB homebrew applications'},
    </button>
        ['Music Apps']          = {'GB homebrew applications', 'Music applications on GB', 'GB homebrew applications'},
</a>
        ['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'},
    }

Revision as of 06:07, 17 October 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, type the url of the page you want to create (Example: https://www.gamebrew.org/wiki/Abc PSP)
  • 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 in with GB/GBA/DS/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 note)
 |version    =1.00
 |license    =Mixed
 |download   =Link
 |website    =Link
 |source     =Link
 }}
 From here on is page content.
  
 == Screenshots ==
 [[File:Abc.png|link=]]
 
 == External links ==

Note

The type field will sort the page to the corresponding category. The category list can be found at .../wiki/Module:Infobox_XXX_Homebrews (replace XXX with GB/GBA/DS/PSP/Vita/Wii/WiiU/Switch/XBOX). Currently accepted "type" 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'},
   }

Advertising: