This version is outdated by a newer approved version.DiffThis version (2020/04/18 20:06) is a draft.
Approvals: 0/1

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.
|..THEMENAME..|..AUTHORNAME..|..{{ :themes:THEMNAME_system.png?300 |}}..
{{ :themes:minimal_system.png?300 |}}            --> will view in media manager
{{ :themes:minimal_grid.png?nolink&300 |}}       --> will just show
{{ :themes:minimal_list.png?direct&300 |}}       --> full resolution

Decide? Used the first option

Authorname [[ https://github.com/repro/project|AUTHORNAME ]]

Some suggestions

  • Themename
  • Authorname
  • Link to author? (needed?)
  • System List View → themename_system
  • ROM List View → themename_list
  • GRID List View → themename_grid
  • Resolution 1920×1080

DOKUWIKI-Dokumentation System

EmulatorROM FolderExtensionBIOSConfig [and/or Savestates]
lr-lbrpdx/userdata/roms/lbrpdx.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>

Titleline

Introduce your chapter, builds headline in TOC. This creates a line under the title.

====== Titleline ======

Headline to explain a topic, builds subheadline in TOC. This creates a line under the title.

===== Headline =====

Subtopic, build subheadline in TOC. This creates a line under the title.

==== Subheadline ====

Subsubheadline

even more text you can write and this will not be shown in TOC. This creates NO line under the title.

=== Subsubheadline ===

Subsubsubheadline

even more text and I don't know the reason for this 8-) This creates NO line under the title.

== Subsubsubheadline ==

  • batocera_wiki_code_snippets.1587233161.txt.gz
  • Last modified: 4 years ago
  • by lala