Purpose
This sandbox is used to share wiki information, formatting code, and template code, and to test templates and parser functions.
Wiki Guides
Information
Namespace | Number | Talk |
---|---|---|
Note | -2 (Media) | -1 (Special) |
(Main) | 0 | 1 |
User | 2 | 3 |
Project | 4 | 5 |
File | 6 | 7 |
MediaWiki | 8 | 9 |
Template | 10 | 11 |
Help | 12 | 13 |
Category | 14 | 15 |
… | … | … |
Yume Nikki | 3000 | 3001 |
Yume 2kki | 3002 | 3003 |
Dotflow | 3004 | 3005 |
Someday | 3006 | 3007 |
Deep Dreams | 3008 | 3009 |
Answered Prayers | 3010 | 3011 |
Amillusion | 3012 | 3013 |
Uneven Dream | 3014 | 3015 |
Braingirl | 3016 | 3017 |
Collective Unconscious | 3018 | 3019 |
Cerasus | 3020 | 3021 |
Muma Rope | 3022 | 3023 |
YNOproject | 3024 | 3025 |
Dream Genie | 3026 | 3027 |
Mikan Muzou | 3028 | 3029 |
Ultra Violet | 3030 | 3031 |
Copy and Paste
Template Documentation
To write documentation for templates, you can use Template:Documentation/preload as a base. When adding {{documentation}}
to a page without a doc, pressing the link "Create documentation" will automatically use the preload file.
Youtube Video Embed
Embed youtube videos in a vertical stack, with the video titles as captions underneath. For example, see Yume 2kki:Obstacle Course (revision Template:Oldid).
{{#ev:youtube|WATCHID|dimensions=320x180|alignment=right|description=CAPTION|container=frame}}
To have more than one video appear side-by-side, choose alignment=inline
.
To have these videos centered, do the following, as was done on Yume Nikki:Frog (revision Template:Oldid):
<div style="text-align: center;"> {{#ev:youtube|WATCHID|dimensions=320x180|alignment=inline|description=CAPTION|container=frame}} {{#ev:youtube|WATCHID1|dimensions=320x180|alignment=inline|description=CAPTION1|container=frame}} </div>
To have the video appear somewhat inline with a gallery, copy the following as in Yume Nikki:Block World (revision Template:Oldid):
<div style="display:flex; flex-direction:row; flex-wrap:wrap"> <div style="flex-basis:calc(100% - 320px)"><gallery> ... </gallery></div> <div style="flex-basis:320px;">{{#ev:youtube|WATCHID|dimensions=320x180|alignment=inline|description=CAPTION|container=frame}}</div></div>
Helpful Formatting
Character | Name | Unicode/HTML | Usage |
---|---|---|---|
# | Number Sign | U+0023 &num |
The number sign, also called a pound or hash symbol. The HTML entity can allow escaping certain situations. |
, | Comma | U+002C &comma |
Commas are usually chosen as the separator for fields when using the arraymap function or {{TextSpace}}. Inserting the HTML entity allows presenting a comma without messing with the formatting. |
| | Vertical Line | U+007C &VerticalLine | |
The pipe character, also called the vertical line or bar, is used extensively for Mediawiki parsing. The HTML entity escapes these situations. To delay the parsing instead of prevent it, use {{!}} .
|
· | Middle Dot | U+00B7 · ¢erdot |
Solid dot that is in the middle of a line. |
← | Leftwards Arrow | U+2190 &larr |
Leftwards arrow as one character. |
↑ | Upwards Arrow | U+2191 &uarr |
Upwards arrow as one character. Can be used for "to top" links. |
→ | Rightwards Arrow | U+2192 &rarr |
Rightwards arrow as one character. Used when listing directions on location pages. |
↔ | Left Right Arrow | U+2194 &harr |
Arrow that points both left and right. Can be used to show a relation between two elements. |
∕ | Division Slash | U+2215 | Appears to be a forward slash. Since it has the same appearance but no function, it can help with presenting HTML. |
> | Fullwidth Greater-Than Sign | U+FF1E | Fake greater-than > symbol. Presented wider than the normal one. |
< | Fullwidth Less-Than Sign | U+FF1C | Fake less-than > symbol. Presented wider than the normal one. |
Code | Example Input | Output | Explanation |
---|---|---|---|
<nowiki></nowiki> | <nowiki>'''text'''</nowiki> | '''text''' | Escapes wiki markup and stops formatting code like <pre> from being recognized. |
<pre></pre> | <pre>text</pre> | text |
Completely preformats text. All wiki markup, template calls, links, parser functions, HTML codes, and comments are completely ignored and are treated as raw text. |
<pre style="color: red">text</pre> | text |
You can add HTML styles to preformatted text, like with divs and spans. | |
<code></code> | <code>text</code> | text
|
Fixes the width of text and applies a background like with the <pre></pre> tags. |
<u></u> | <u>text</u> | text | Underlines text. |
<mark></mark> | <mark>text</mark> | text | Highlight text. |
<span class="spoiler"></span> | <span class="spoiler">text </span> | text | Hides text underneath a spoiler. Visible when selecting it on PC or tapping it on mobile. May not work when using certain wiki skins. |
<center></center> | <center>text</center> | Centers inline elements in the container. | |
<sup></sup> | text<sup>text</sup> | texttext | Superscript. |
<sub></sub> | text<sub>text</sub> | texttext | Subscript. |
<small></small> | <small>text</small> | text | Makes text smaller. |
<big></big> | <big>text</big> | text | Makes text bigger. |
<h3></h3> | <h3>ctrt</h3> | (blanked) | Defines a header using HTML, equivalent to ===this=== in wikitext. The number defines the header level from 1-6. Links to the header will work and it will appear in the TOC.
|
<br> | text1<br>text2 | text1 text2 |
Places a line break in text. |
<br clear=all> | [[File:Cagedfairy.png |thumb|right|Text]] <br clear=all> text | text |
Places a line break whilst forcing following elements to only appear after preceding elements are fully shown. |
[[File:Cagedfairy.png |thumb|right|Text]] text | text | The same example without <br clear=all> , for reference.
| |
<blockquote></blockquote> | <blockquote>text </blockquote> |
|
Presents text in a blockquote (indent) |
<span id=""></span> | <span id="aexgda"></span> | Include anywhere on the page to create an invisible link anchor: User:ZASNK/Sandbox#aexgda. This can be placed within a header (inside of the equal signs) to make an alternate header link. | |
<!----> | <!--text--> | Comments. Completely hidden from the page, but visible when editing. |
Style/Class | Example Input | Output | Explanation |
---|---|---|---|
style="text-align: center;" | <div style="text-align: center;">text</div> | text
|
This div style centers inline elements in a container. Equivalent to using <center>. |
style="-webkit-column-count:2;column-count:2;" | <div style="-webkit-column-count:2;column-count:2;">text1 text2 text3</div> | text1
text2 text3 |
Formats text into the specified number of columns. (the "-webkit-column-count:2;" seems to be useless, but it might be needed for special cases) |
style="display: flex; flex-direction: row;" | <div style="display: flex; flex-direction: row;"><gallery widths=40 heights=40> Cagedfairy.png|Text </gallery>[[File:Boyoutline.png |thumb|Text]]</div> | Present divs in a row. In the example it shows that you can place an element next to a gallery, which is usually not possible. | |
Collapsible Sections | |||
class="mw-collapsible" | <div class="mw-collapsible">text1 <br>text2</div> | text1
text2 |
Allows text to be collapsed. |
class="mw-collapsible mw-collapsed" | <div class="mw-collapsible mw-collapsed">text1 <br>text2</div> | text1
text2 |
Adding mw-collapsed makes it collapsed by default. Note: a page anchor within the collapsed element will have it automatically open when you follow the link.
|
class="toccolours mw-collapsible" | <div class="toccolours mw-collapsible">text1 <br>text2</div> | text1
text2 |
Adding toccolours gives the content the style of the table of contents (hence toccolours).
|
class="mw-collapsible-content" | <div class="toccolours mw-collapsible mw-collapsed">text1<div class="mw-collapsible-content">text2</div></div> | text1
text2 |
Use a separate div within the collapsible content one to define this inner div as the content to be collapsed. The text in the outer div but not the inner becomes a header for the collapsible content. |
Code | Example Input | Output | Explanation |
---|---|---|---|
<ul> </ul> | <ul> text1 text2<br>text 3 text 4</ul> |
text3 text4 |
Text is formatted in an unordered list. |
<div style="text-align: center;"><ul> text1<br>text2 </ul></div> |
text2 |
You can place the list in a div to apply div styles to the whole list. Useful to center images in a list. | |
<li> </li> | <li>text1</li> <li>text2</li> | Gives text elements the style of being in a list. More importantly, allows to separate them into groups. | |
<ul> <li> </li> </ul> | <ul> <li>text1</li> <li>text2</li> </ul> |
|
The combination of the two gives the best output. <li> </li> is used to separate the two.
|
style="display: inline-block;" | <ul> <li style="display: inline-block;> [[File:Cagedfairy.png |thumb|Text]] </li> <li style="display: inline-block;"> [[File:Boyoutline.png |thumb|Text]] </li> </ul> | This list style forces floating elements such as image thumbs to appear on the same line, even if they are otherwise unable. | |
style="vertical-align: middle;" | <ul> <li style="display: inline-block; vertical-align: middle;"> [[File:Cagedfairy.png |thumb|Text]] </li> <li style="display: inline-block; vertical-align: middle;"> [[File:Boyoutline.png |thumb|Text]] </li> </ul> | This list style can be used in addition to the previous one to align the elements to the top, middle, or bottom of the lines they are occupying. |
Code | Usage |
---|---|
class="wikitable" | Use at the table start to make it look like a standard table. |
class="sortable" | Adding this class to a table will allow you to sort the entire table columns of your choice. |
mw-collapsible mw-collapsed | This will allow the table to be collapsed. Removing mw-collapsed means it will not be collapsed by default. If a table header is present using |+Header it will still be shown.
|
class="unsortable" | This class can be used on column headers to disable sorting the table by that column. |
style="width: 100%;" | At the table start, forces the table to fit a percentage of the screen width. At the first row of a column, forces that column to fit a percentage of the table width. |
style="text-align: center;" | At the table start, centers all text in the table. On a table cell, centers the cell contents. |
style="vertical-align: top;" | Change the vertical alignment of elements in a cell (the default is middle ).
|
Code | Usage |
---|---|
resultsheader= «pre»«nowiki»|resultsfooter= «/nowiki»«/pre» | Add to the end of a DPL parser function and the output will be unformatted. |
Game Guides
Face Any Direction
You can face any direction you want on any tile in Yume Nikki's dream worlds, using the power of glitches. This guide outlines how to face whichever direction you want on any given tile assuming you can't do it manually by walking into it and/or sitting down.
Dream World
- Face DOWN by using Cat or Faceless Ghost.
- Face RIGHT by sitting down with 1 after facing DOWN.
- Face UP by performing the following:
- Equip Frog in the chair
- Go to the tile you wish to face UP on and face DOWN on that tile
- Use the Frog effect
- Wait for Madotsuki to appear sitting down
- Equip any effect
- Face LEFT by equipping the Faceless Ghost effect in the chair then using it.
Using Towel after equipping it in the chair can force you to face UP or LEFT as well, but it's hard to get to a state where you aren't also sitting down, so it's best to use one of the explained methods instead.
FC World
- Face DOWN by using Cat or Faceless Ghost.
- Face RIGHT by sitting down with 1 after facing DOWN.
- Face UP by performing one of the following:
- If you can face LEFT on the tile:
- Equip Frog in the chair
- Go to the tile you wish to face UP on and face LEFT on that tile
- Use the Frog effect
- Wait for Madotsuki to appear sitting down
- Equip any effect
- If you cannot face LEFT on the tile:
- Equip Towel in the chair
- Go to the tile you wish to face UP on
- Spam 1 to use the Towel effect until you somehow end up facing UP (yes, I know this sounds silly, but it works)
- Wait for Madotsuki to appear sitting down
- Equip any effect
- Face LEFT by equipping Towel in the chair then using it on the tile.
Real World
- Face DOWN by pressing 9 to pinch your cheek.
- Face RIGHT by sitting down with 1 after facing DOWN.
- You cannot face UP on every tile in the Real World.
- Face LEFT by performing the following:
- Go to the Dream World
- Perform the Broken Instructions glitch to store the instructions
- Press 9 to wake up with the instructions stored
- Sit down while facing LEFT on any tile
- Press Z and close the instructions
- Move to the tile you wish to face LEFT on (you will have glitched movement)
- Wait for Madotsuki to tilt her head (second sitting down state)
- Press 1 to stand up.
Saved Code
BGM
This is what forces a no breaking space in the soundroom param of the BGM template.
{{#if:{{{soundroom|}}}|(No. {{#ifexpr:{{#len:{{{soundroom|}}}}} > 3|{{#sub:{{{soundroom}}}|0|3}} {{#sub:{{{soundroom}}}|-1}}|{{{soundroom}}}}})}}
Example:
(No. 026 D)
With check:
NONE
Map ID
Adds Map ID records from Locationbox input
{{#ifeq:{{{Map ID}}}|None||{{#arraymap:{{#arraymaptemplate:{{{Map ID}}}|Template:MapIDs|,|,}}|,|item|item|,\s}}}}
Example code:
{{#ifeq:0076, 0077, 0078 (test1), 0079, 0080, 0082 (test2), 0177, 0178, 0179|None||{{#arraymap:{{#arraymaptemplate:0076, 0077, 0078 (test1), 0079, 0080, 0082 (test2), 0177, 0178, 0179|Template:MapIDs|,|,}}|,|item|item|,\s}}}}
Example:
(blanked)
Test Space
Random
Test anything here
SMW
Below asks for all hidden badges and lists them
Icon(s) | Name | Location(s) | Author(s) | Batch | Date |
---|---|---|---|---|---|
28 | Unknown Child's Room | Catmat | 2022-04-25 | ||
Ancient Raves | Wilderness | Catmat | 1 | 2022-04-25 | |
Aooh's Glare | Cmax_ | 2022-04-25 | |||
Black Cat | Mall | Catmat | 1 | 2022-04-25 | |
Blue Orb | Neon Candle World | Catmat | 2022-04-25 | ||
Boombox | Wilderness | Catmat | 1 | 2022-04-25 | |
Chocolate Cake | Sugar Hole | Lychee | 1 | 2022-04-25 | |
Crush | Underwater Amusement Park | Catmat | 2022-04-25 | ||
Hakoko | Visine World | Catmat | 2022-04-25 | ||
Hakoko Prime | Visine World | Catmat | 2022-04-25 | ||
KALIMBA | Madotsuki's Room | Catmat | 1 | 2022-04-25 | |
Kiki | Magical Passage | Madproject | 2022-04-25 | ||
Lavender Gem | Lavender Waters | Cmax_ | 2022-04-25 | ||
Magical Voxels | Voxel Island | Cmax_ | 2022-04-25 | ||
Merlin | Magical Passage | Madproject | 2022-04-25 | ||
Obentou | Obentou World | Gabaro | 2022-04-25 | ||
Pale-Crimson Clover | Gallery of Me | Cmax_ | 2022-04-25 | ||
Purple Gem | Lavender Waters | Cmax_ Catmat | 2022-04-25 | ||
Sunset Butterfly Brooch | Tomb of Velleities | Cmax_ Catmat | 2022-04-25 | ||
Twilight Butterfly Brooch | Tomb of Velleities | Cmax_ | 2022-04-25 | ||
Uboa | Poniko's House | Catmat | 1 | 2022-04-25 | |
Fabric Galaxy | Moonview Lane | ani | 2022-04-26 | ||
Fabric Planet | Moonview Lane | ani | 2022-04-26 | ||
Glitched Out | Game Boy World | Catmat | 2022-04-26 | ||
Koraiyn | Game Boy World | miau | 2022-04-26 | ||
Rusted Memory | Rusty Urban Complex | Madproject | 2022-04-26 | ||
Z̴̜̬̈́͐̒̄͑̃͛̄̊̕͝Ạ̶̭̮̰̯̱̠̠͖̜̲̯̈́̃͌͑̚͘ͅL̵̡̡̡͓͚̖̗̙̹̲̻̝͚̒͒͌G̷̝̜̦̱̠̝̮̲̺̝̽̓͜Ŏ̷͈́̔̚̕̕͝ | WikiOdd | 2022-04-26 | |||
Takofuusen | White Desert A | Catmat | 1 | 2022-04-27 | |
Haunted Mirror | Ocean Storehouse | StudyMan99 | 2022-04-28 | ||
Miniature Singularity | Cmax_ | 2022-04-28 | |||
Aojiru | Hospital | Chimata | 2022-04-29 | ||
Black King | Chess World | paper box Madproject | 2022-04-29 | ||
Snowy Fairy | Madproject | 2022-04-29 | |||
Digital Rose | Neon Caves | Nuaah | 2022-04-30 | ||
Inkblot Test | Deranged Faces Zone | miau | 1 | 2022-04-30 | |
Neon Souvenir | Neon Highway | miau | 2022-04-30 | ||
Escape from the Show | Events | 2i9 | 2022-05-01 | ||
Gold Member | Dream Bank | Nuaah | 2022-05-01 | ||
Millionaire | Dream Bank | Nuaah | 2022-05-01 | ||
Silver Member | Dream Bank | Nuaah | 2022-05-01 | ||
The Greatest Show | Events | 2i9 | 2022-05-01 | ||
el bebe | Toxic Waste Plant | miau | 1 | 2022-05-01 | |
Broken Clock | Broken Clock Park | miau | 2022-05-02 | ||
Carousel | Misty Forest | ani | 2022-05-02 | ||
Gloomy Streetlight | Streetlight Garden | StudyMan99 | 2022-05-02 | ||
Halo of the Deceased | Snowy Streets | miau | 2022-05-02 | ||
Lotus Girl | Marijuana Goddess World | Catmat | 2022-05-02 | ||
Parasitic | Parasite Laboratory | Gabaro | 2022-05-02 | ||
Rainbow Picture | Private Rooms | Uroyu | 2022-05-02 | ||
Silver Ocean | Silver Mansion | Nyoro | 2022-05-02 | ||
Snow Queen | Console | Nuaah | 2022-05-02 | ||
100 Tears | Cloudy World | miau | 2022-05-03 | ||
Blooming Water Flowers | Lotus Waters | Chimata | 2022-05-03 | ||
Cookies | Mutant Sunflower World | JSG5 | 1 | 2022-05-03 | |
Crystal of Fantasy | NES World | miau | 1 | 2022-05-03 | |
Hidden Clay | Stone Wasteland | miau | 1 | 2022-05-03 | |
Road to Rainbow | Pencil World | Zolotl | 2022-05-03 | ||
Water Flowers | Lotus Waters | Chimata | 2022-05-03 | ||
A Flower for the Sun | Astral Ruins | miau | 1 | 2022-05-04 | |
Blockgirl | Neon Village | miau | 1 | 2022-05-04 | |
... further results |
Below asks for all Yume Nikki Map ids
Page | Map IDs |
---|---|
Debug Room | 1 (?) |
Madotsuki's Room | 3 (Real Room) 4 (Balcony) 6 (Dream Room) 7 (Dream Balcony day) 8 (Dream Balcony night) |
Nexus | 9 (?) |
Forest World | 10 (?) |
Block World | 11 (?) |
Puddle World | 12 (?) |
Dark World | 13 (?) |
Snow World | 14 (Main area) 22 (Top-middle igloo) 23 (Top-left igloo) 25 (Bottom-left igloo) 27 (Igloo near Toriningen) 28 (Pink Sea entrance) 24 (Top-right surprise Toriningen igloo) 26 (Bottom-right Kamakurako igloo) |
Mural World | 15 (?) |
Graffiti World | 16 (?) |
Eyeball World | 17 (?) |
Candle World | 18 (?) |
Shield-Folk World | 19 (?) |
Neon World | 20 (?) |
Number World | 21 (Main area) 29 (Stabbing Room) 30 (Bed Room) 32 (Stairway Entrance) 33 (Stairway) |
Lamp World | 31 (?) |
Guillotine World | 35 (Normal size) 36 (Big Guillotine World) |
Neon Tile Path | 37 (Lower section) 38 (Upper section) |
Checkered Tile Path | 39 (Lower section) 40 (Upper section) |
Face Carpet Plaza | 41 (?) |
Dense Woods A | 42 (Dense Woods A) 43 (To Infinite Road) 44 (Infinite Road entrance) 45 (Infinite Road) 46 (Infinite Road exit) |
Hell | 47 (?) |
Footprint Path | 48 (Footprint Path A) 49 (Footprint Path B) |
Wilderness | 50 (Dark World Gate) 51 (Route 4) 52 (Route 1) 53 (Route 2) 54 (Rave Box) 55 (Toriningen Party) 56 (Barracks Settlement Entrance) 57 (FC Portal) 58 (Route 3) 59 (Northern Wilderness) 60 (Infinite Wilderness) 61 (Fence) 62 (Northern Wilderness Pylons) 63 (Staircase Bottom) 64 (Staircase to the Sky) 65 (Hot Spring House) |
Barracks Settlement | 66 (Town) 68 (Isee Path) 69 (Seahorse) |
Mini Hell | 67 (?) |
Sewers | 70 (Entrance) 71 (City Gutter) 72 (Processing Plant) 73 (Sewer Tunnel) 74 (Docks Staircase) 75 (Nopperabou Pool) 81 (Big Red) |
Mall | 76 (Elevator Room) 77 (Main Room) 78 (Reception Room) 79 (Flute Room) 80 (Tokuto-kun's room) 82 (Manhole Room) 177 (Rooftop Exit) 178 (Mall Rooftop) 179 (Witch's Flight event) |
Windmill World | 83 (?) |
Dense Woods B | 84 (Manhole to the Mall) 86 (Main area) |
Road | 86 (?) |
Dark Woods | 86 (Dense Woods B gate) 90 (Dark Woods) |
Traincar | 87 (Blue sky) 88 (Inside) 89 (Red sky) |
Witch's Island | 91 (Lake Shore) 92 (Lake Bridge) 93 (Island) |
White Desert A | 94 (Main area) 95 (Monoko's Tunnel) 96 (White Desert Path 1) 97 (Monoe's Void) 98 (White Desert Path 3 - Severed Heads) 99 (Eye Box) 100 (White Desert Path 2) |
Poniko's House | 101 (Uboa's Trap) 109 (Poniko's House) |
White Desert Mountain Ring | 102 (Brain Creature) 103 (The Thing) 104 (Manhole-sama) 105 (Main area) |
White Desert B | 105 (Main area) 106 (White Desert Underground Lagoon) 107 (Stairway) |
Pink Sea | 108 (?) |
Teleport Maze | 110 (?) |
Docks A | 111 (?) |
Docks B | 111 (?) |
Sky Garden | 112 (Garden) 113 (Cliffside) 115 (Red Sky Garden door) 116 (Crossover Garden) 117 (Blue Ghost World door) |
Ghost World | 114 (?) |
Static Maze | 118 (?) |
FC House | 120 (FC Field) 121 (FC House) 122 (Doors A and B) 123 (Walking Eye) 124 (Doors B C and E) 125 (Wavy staircases) 126 (Small two-door loop) 127 (Door D drawers) 128 (Doors F and G) 129 (Doors G and H) 130 (Two staircase drawers platform) 131 (Three staircase drawers platform) 132 (Door H platform) 133 (Merutomaro) 134 (Lone door to FC World A route) 135 (Long staircase to FC Goblins' Room) 136 (V shape room) 137 (Mushrooms) 138 (Goblins' Room door) 139 (FC Goblins' Room) 140 (FC Demon's Room) 141 (Route to FC World A: door) 142 (Route to FC World A: staircase) 143 (Route to FC World A: room) |
Static Tunnel | 144 (?) |
FC World A | 145 (Cave from Static Tunnel) 147 (FC Ruins) 158 (Main FC World) |
FC World B | 146 (FC Pyramids) 151 (FC Cave first room) 152 (FC Cave Buyo Buyo) 154 (Pirori Shore) 158 (Main FC World) |
FC Dungeon | 148 (FC Dungeon rooms) 149 (Dungeon Glitch room without event) 150 (Monochrome room) 157 (Dungeon Glitch room with event) |
FC World C | 153 (Moai peninsula) 158 (Main FC World) |
Staircase of Hands | 159 (?) |
Underground World | 160 (Hallway) 161 (Blazing Corridor) 162 (Storage Room) |
Spaceship | 163 (Entrance from Underground World) 164 (Main room) 165 (Missing entrance) 166 (Spaceship Bedroom) 167 (Exit to Mars) |
Mars | 168 (Crash Site) 169 (Flat path) 170 (Start of hill) 171 (Hill slope) 172 (Summit) 173 (Underground stairs) 174 (Mars Underground) |
Claim
Countdown
00:08
0008
0
020300
$timestamp = strtotime("20230120171222");