Skip to content
Andrew Comer edited this page Jan 11, 2025 · 8 revisions

Welcome to the RANews wiki!

Any RANews contributor is welcome to create pages here.

Use this wiki to create drafts for your article or even just as a sandbox to practice markdown.

Don't worry, you're not messing anything! 😉

~meleu

Markdown Shorthand

RAnews has some custom syntax that can be used within markdown to make it easier to display games, sets, users, and systems. These produce inline HTML to format the the resultant text and images nicely within RANews. The sections below describe the available shorthands, including example syntax as well as the output when RANews is generated.

The general syntax for the shorthand is as follows:

{% KEYWORD PARAM_1, PARAM_2, ... %}

Users

rauser

Displays the username as a link to the user's page.

Syntax:

{% rauserpic USERNAME %}

Example:

This is a link to the page for {% rauser MrOwnership %}.

image

rauserpic

Displays the username and avatar as a link to the user's page.

Syntax:

{% rauserpic USERNAME %}

Example:

This is a link to the page for {% rauserpic MrOwnership %}.

image

Games

ragame

Displays the game name as a link to the game's page.

Syntax:

{% ragame GAME_ID, GAME_NAME %}

Example:

This is a link to the page for {% ragame 3780, Pokémon XD: Gale of Darkness %}.

image

ragamepic

Displays the game name and icon as a link to the game's page. This will use the 96x96 icon size and is intended to be used by itself on a line or within a table.

Syntax:

{% ragame GAME_ID, GAME_ICON_ID, GAME_NAME %}

Example:

| Game                                                       |
| ---------------------------------------------------------- |
| {% ragamepic 3780, 068144, Pokémon XD: Gale of Darkness %} |

image

Achievements

raach

Displays the achievements name as a link to the achievement's page.

Syntax:

{% raach ACHIEVEMENT_ID, ACHIEVEMENT_NAME %}

Example:

This is a link to the page for {% raach 342, Giddy Up! %}.

image

raachpic

Displays the achievements name and badge as a link to the achievement's page. This will use the 64x64 badge size and is intended to be used by itself on a line or within a table.

Syntax:

{% raachpic ACHIEVEMENT_ID, ACHIEVEMENT_BADGE_ID, ACHIEVEMENT_NAME %}

Example:

| Achievement                          |
| ------------------------------------ |
| {% raachpic 342, 46580, Giddy Up! %} |

image

Systems (WIP)

rasystem

Displays the system name as a link to the system's page.

Syntax:

{% rasystem SYSTEM_SHORTNAME, [NAME_OVERRIDE] %}
{% rasystem SYSTEM_ID, [NAME_OVERRIDE] %}

[NAME_OVERRIDE] is an option parameter that can be used to input a customs string rather than the default system name. For example, using N64 rather than Nintendo 64.

Example:

This is a link to the page for {% rasystem 3do %} sets.
This is a link to the page for {% rasystem 43 %} sets.
This is a link to the page for {% rasystem 3do, 3DO %} sets.

image

rasystempic

Displays the system name and icon as a link to the system's page.

Syntax:

{% rasystempic SYSTEM_SHORTNAME, [NAME_OVERRIDE] %}
{% rasystempic SYSTEM_ID, [NAME_OVERRIDE] %}

[NAME_OVERRIDE] is an option parameter that can be used to input a customs string rather than the default system name. For example, using N64 rather than Nintendo 64.

Example:

This is a link to the page for {% rasystempic 3do %} sets.
This is a link to the page for {% rasystempic 43 %} sets.
This is a link to the page for {% rasystempic 3do, 3DO %} sets.

image

System Info

The table below shows the SYSTEM_ID and SYSTEM_SHORTNAME that can be used in the shorthand syntax, as well as the default system name and icon that will be displayed.

SYSTEM_ID SYSTEM_SHORTNAME Full System Name Icon
0 joy joy
43 3do 3DO Interactive Multiplayer 3do
37 cpc Amstrad CPC cpc
38 a2 Apple II a2
27 arc Arcade arc
73 a2001 Arcadia 2001 a2001
71 ard Arduboy ard
25 2600 Atari 2600 2600
51 7800 Atari 7800 7800
17 jag Atari Jaguar jag
77 jcd Atari Jaguar CD jcd
13 lynx Atari Lynx lynx
44 cv ColecoVision cv
40 dc Dreamcast dc
75 elek Elektor TV Games Computer elek
57 chf Fairchild Channel F chf
4 gb Game Boy gb
5 gba Game Boy Advance gba
6 gbc Game Boy Color gbc
15 gg Game Gear gg
16 gc GameCube gc
45 intv Intellivision intv
74 vc4000 Interton VC 4000 vc4000
23 mo2 Magnavox Odyssey 2 mo2
11 sms Master System sms
1 md Genesis/Mega Drive md
69 duck Mega Duck duck
29 msx MSX msx
2 n64 Nintendo 64 n64
56 ngcd Neo Geo CD ngcd
14 ngp Neo Geo Pocket ngp
7 nes NES/Famicom nes
18 ds Nintendo DS ds
78 dsi Nintendo DSi dsi
8 pce PC Engine/TurboGrafx-16 pce
76 pccd PC Engine CD/TurboGrafx-CD pccd
47 8088 PC-8000/8800 8088
49 pc-fx PC-FX pc-fx
12 ps1 PlayStation psx
21 ps2 PlayStation 2 ps2
41 psp PlayStation Portable psp
24 mini Pokémon Mini mini
10 32x Sega 32X 32x
37 sat Sega Saturn sat
9 scd Sega CD scd
33 sg1k SG-1000 sg1k
3 snes SNES/Super Famicom snes
80 uze Uzebox uze
46 vect Vectrex vect
28 vb Virtual Boy vb
72 wasm4 WASM-4 wasm4
63 wsv Watara Supervision wsv
53 ws WonderSwan ws
Clone this wiki locally