This is an old revision of the document!


BATOCERA Code Snippets

Symbol Code Note
{{:switch-button.png?20|}} A integer value of 20 is ideal for a fluent text structure
{{:switch-slider.png?30|}} A integer value of 30 is ideal for a fluent text structure
{{::switch-multioption.png?20|}} A integer value of 20 is ideal for a fluent text structure
{{:switch-az.png?20|}} A integer value of 20 is ideal for a fluent text structure

Code can be displayed by using the <code>print (“Hello World”)</code>-Tags but it will lead to a an ugly grey box. So for some one liners you can try to use

<nowiki>print ("Hello World")</nowiki>

Icons can be created and distrubuted for free with: https://logomakr.com/

<csv file=https://docs.google.com/spreadsheets/URL/pub?output=csv>
</csv>

To link to a Google spreadsheet:

  1. Open your spreadsheet in Google Docs.
  2. Click the “Share” botton in the toolbar, and choose “Anyone with the link” for Visibility.
  3. Open your spreadsheet in Google Docs.
  4. From the spreadsheet menu select: File | Publish as a Web Page
  5. Sheets to Publish: “All Sheets”, and check the box “Automatically republish when changes are made” to ensure your data is auto updated.
  6. Click “Start Publishing”. This will activate the options in the box “Get a link to the published data”, below.
  7. Change the export type from “Web Page” to “CSV (comma-separated values)”.
  8. Change “All sheets” to “Sheet1” (or select the sheet you want to export)
  9. Change “All Cells” to the specific range you want to export, beginning with the header row. Use Excel-style notation, like A1:C6 for the first 3 columns and the first 6 rows.
  10. Click “Republish now”
  11. Copy the link (check it ends with output=csv) and paste it into your dokuwiki CSV table using the file= attribute described above.

DOKUWIKI-Dokumentation System

EmulatorROM FolderExtensionBIOSConfig
lr-lrpdx/userdata/roms/lrpdx.laladarknior.bin/userdata/saves/system/genetik.file
{{ :emulators:system_logo.png?nolink&200 |}}
====== SYSTEMNAME ======
<csv>
Emulator, ROM Folder, Extension, BIOS, Config [and/or Savestates]
lr-xxxx, /userdata/roms/yyyy, .zzz .xyz, biosfile.bin, /userdata/saves/system/config.file
</csv>
  • batocera_wiki_code_snippets.1585487199.txt.gz
  • Last modified: 13 months ago
  • by lala