Home - RetroAchievements/RANews GitHub Wiki
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! :wink:
~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:
{% rauser USERNAME %}
Example:
This is a link to the page for {% rauser MrOwnership %}.
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 %}.
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 %}.
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 %} |
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! %}.
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! %} |
Systems
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.
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.
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 | ||
43 | 3do | 3DO Interactive Multiplayer | ![]() |
37 | cpc | Amstrad CPC | ![]() |
38 | a2 | Apple II | ![]() |
27 | arc | Arcade | ![]() |
73 | a2001 | Arcadia 2001 | ![]() |
71 | ard | Arduboy | ![]() |
25 | 2600 | Atari 2600 | ![]() |
51 | 7800 | Atari 7800 | ![]() |
17 | jag | Atari Jaguar | ![]() |
77 | jcd | Atari Jaguar CD | ![]() |
13 | lynx | Atari Lynx | ![]() |
44 | cv | ColecoVision | ![]() |
40 | dc | Dreamcast | ![]() |
75 | elek | Elektor TV Games Computer | ![]() |
57 | chf | Fairchild Channel F | ![]() |
4 | gb | Game Boy | ![]() |
5 | gba | Game Boy Advance | ![]() |
6 | gbc | Game Boy Color | ![]() |
15 | gg | Game Gear | ![]() |
16 | gc | GameCube | ![]() |
45 | intv | Intellivision | ![]() |
74 | vc4000 | Interton VC 4000 | ![]() |
23 | mo2 | Magnavox Odyssey 2 | ![]() |
11 | sms | Master System | ![]() |
1 | md | Genesis/Mega Drive | ![]() |
69 | duck | Mega Duck | ![]() |
29 | msx | MSX | ![]() |
2 | n64 | Nintendo 64 | ![]() |
56 | ngcd | Neo Geo CD | ![]() |
14 | ngp | Neo Geo Pocket | ![]() |
7 | nes | NES/Famicom | ![]() |
18 | ds | Nintendo DS | ![]() |
78 | dsi | Nintendo DSi | ![]() |
8 | pce | PC Engine/TurboGrafx-16 | ![]() |
76 | pccd | PC Engine CD/TurboGrafx-CD | ![]() |
47 | 8088 | PC-8000/8800 | ![]() |
49 | pc-fx | PC-FX | ![]() |
12 | ps1 | PlayStation | ![]() |
21 | ps2 | PlayStation 2 | ![]() |
41 | psp | PlayStation Portable | ![]() |
24 | mini | Pokémon Mini | ![]() |
10 | 32x | Sega 32X | ![]() |
37 | sat | Sega Saturn | ![]() |
9 | scd | Sega CD | ![]() |
33 | sg1k | SG-1000 | ![]() |
3 | snes | SNES/Super Famicom | ![]() |
80 | uze | Uzebox | ![]() |
46 | vect | Vectrex | ![]() |
28 | vb | Virtual Boy | ![]() |
72 | wasm4 | WASM-4 | ![]() |
63 | wsv | Watara Supervision | ![]() |
53 | ws | WonderSwan | ![]() |