×
Create a new article
Write your page title here:
We currently have 2,815 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
2,815Articles

User:ZASNK/Sandbox: Difference between revisions

m (remove inputbox, no way to add suffix)
 
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="display:flex; flex-direction:row; flex-wrap:wrap; width:100%;"><div style="flex-basis:274px; position:relative;"><div style="position:absolute; width:100%; height:90%; margin-top:50%; text-align:center; z-index:-1;">[[File:madotsuki_Profile.png]]<br>It's a secret<br>to everyone</div>__TOC__</div><div style="padding-left:20px; flex-basis:min(100% - 294px, -20000 * (844px - 100%)); min-width:570px;">
<div style="display:flex; flex-direction:row; flex-wrap:wrap; width:100%;"><div style="flex-basis:274px; position:relative; min-height:300px;"><div style="position:absolute; width:100%; height:90%; margin-top:22%; text-align:center; z-index:-1; line-spacing:1pt;">[[File:madotsuki_Profile.png]]<div style="margin-top:-12%; color:#ae4949;">'''It's a secret<br>to everyone'''</div></div>__TOC__</div><div style="padding-left:20px; flex-basis:min(100% - 294px, -20000 * (300px - 100%)); min-width:270px;">
<!--Text here will appear to the right of the table of contents-->
<!--Text here will appear to the right of the table of contents-->
<div style="position:relative"><div style="position:absolute">Welcome to my sandbox.<br>Some tests are [[User:ZASNK/Test|here]].</div>
Welcome to my sandbox.<br>Some tests are [[User:ZASNK/Test|here]].
</div></div>
==Purpose==
This sandbox is used to share wiki information, formatting code, and template code, and to test templates and parser functions.


{{faviconmenu}}
</div></div></div>
<span id="Guides"></span><span id="guides"></span>
<span id="Guides"></span><span id="guides"></span>
==Wiki Guides<span id="Wiki guides"></span><span id="wiki guides"></span>==
==Wiki Guides<span id="Wiki guides"></span><span id="wiki guides"></span>==
===Standards===
 
To maintain a consistent and cohesive experience, there are certain standards that are expected on {{SITENAME}}. Most of these are explained in the [[YumeWiki:Style Guide|Style Guide]]. Below are some that are not.
===Copy and Paste<span id="Copy and paste"></span>===
====Filenames====
 
Filenames should be descriptive in what they contain, but short enough to be convenient. An image of a connection between two locations would probably include the locations' names, but writing their ''full, unabbreviated'' names would make the filename ridiculously long and annoying to use. Writing generic names such as <code>connection2.png</code> creates a similar issue, where it is still hard to use due to being hard to discover and keep track of.
====Template Documentation<span id="templatedoc"></span><span id="Templatedoc"></span><span id="TemplateDoc"></span><span id="template doc"></span><span id="Template doc"></span><span id="Template Doc"></span><span id="Template documentation"></span><span id="template documentation"></span>====
====Template Documentation<span id="templatedoc"></span><span id="Templatedoc"></span><span id="TemplateDoc"></span><span id="template doc"></span><span id="Template doc"></span><span id="Template Doc"></span><span id="Template documentation"></span><span id="template documentation"></span>====
To write [[Template:Documentation|documentation]] for templates, you can use [[Template:Documentation/preload]] as a base. When adding <code><nowiki>{{documentation}}</nowiki></code> to a page without a doc, pressing the link "Create documentation" will automatically use the preload file.
To write [[Template:Documentation|documentation]] for templates, you can use [[Template:Documentation/preload]] as a base. When adding <code><nowiki>{{documentation}}</nowiki></code> to a page without a doc, pressing the link "Create documentation" will automatically use the preload file.


===Copy and Paste<span id="Copy and paste"></span>===
====Youtube Video Embed<span id="Youtube video embed"></span><span id="youtube video embed"></span><span id="Youtube Video Embeds"></span><span id="Youtube video embeds"></span><span id="youtube video embeds"></span>====
====Youtube Video Embed<span id="Youtube video embed"></span><span id="youtube video embed"></span><span id="Youtube Video Embeds"></span><span id="Youtube video embeds"></span><span id="youtube video embeds"></span>====
Embed youtube videos in a vertical stack, with the video titles as captions underneath. For example, see [[Yume 2kki:Obstacle Course]] (revision {{oldid|438805|here}}).
Embed youtube videos in a vertical stack, with the video titles as captions underneath. For example, see [[Yume 2kki:Obstacle Course]] (revision {{oldid|441063|here}}).
<pre><nowiki>
<pre><nowiki>
{{#ev:youtube|WATCHID|dimensions=320x180|alignment=right|description=CAPTION|container=frame}}
{{#ev:youtube|WATCHID|dimensions=320x180|alignment=right|description=CAPTION|container=frame}}
Line 23: Line 21:
To have more than one video appear side-by-side, choose <code>alignment=inline</code>.
To have more than one video appear side-by-side, choose <code>alignment=inline</code>.


To have these videos centered, do the following, as was done on [[Yume Nikki:Frog]] (revision {{oldid|439469|here}}):
To have these videos centered, do the following, as was done on [[Yume Nikki:Frog]] (revision {{oldid|441058|here}}):
<pre><nowiki>
<pre><nowiki>
<div style="text-align: center;">
<div style="text-align: center;">
Line 31: Line 29:
</nowiki></pre>
</nowiki></pre>


To have the video appear somewhat inline with a gallery, copy the following as in [[Yume Nikki:Block World]] (revision {{oldid|441335|here}}):
To have the video appear somewhat inline with a gallery, copy the following as in [[Yume Nikki:Block World]] (revision {{oldid|442206|here}}):
<pre><nowiki>
<pre><nowiki>
<div style="display:flex; flex-direction:row; flex-wrap:wrap">
<div style="display:flex; flex-direction:row; flex-wrap:wrap">
Line 37: Line 35:
...
...
</gallery></div>
</gallery></div>
<div style="flex-basis:320px;">{{#ev:youtube|WtZqz8x8kVk|dimensions=320x180|alignment=inline|description=The removed "Toriningen's Bed" event|container=frame}}</div></div>
<div style="flex-basis:320px;">{{#ev:youtube|WATCHID|dimensions=320x180|alignment=inline|description=CAPTION|container=frame}}</div></div>
</nowiki></pre>
</nowiki></pre>
===Helpful Formatting<span id="Formatting"></span><span id="formatting"></span><span id="Helpful formatting"></span>===
{| class="wikitable sortable" style="width: 100%;"
|+Useful Characters <span id="Useful characters"></span><span id="Formatting characters"></span><span id="Formatting Characters"></span>
! class="unsortable" style="width: 11%"|Character
!Name
!Unicode/HTML
! class="unsortable" style="width: 59%"|Usage
|-
|style="text-align: center;"|&num;
|Number Sign
|style="text-align: center;"|U+0023<br>&num
|The number sign, also called a pound or hash symbol. The HTML entity can allow escaping certain situations.
|-
|style="text-align: center;"|&VerticalLine;
|Vertical Line
|style="text-align: center;"|U+007C<br>&VerticalLine<br>&#124
|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 <code><nowiki>{{!}}</nowiki></code>.
|-
|style="text-align: center;"|·
|Middle Dot
|style="text-align: center;"|U+00B7<br>&middot<br>&centerdot
|Solid dot that is in the middle of a line.
|-
|style="text-align: center;"|←
|Leftwards Arrow
|style="text-align: center;"|U+2190<br>&larr
|Leftwards arrow as one character.
|-
|style="text-align: center;"|↑
|Upwards Arrow
|style="text-align: center;"|U+2191<br>&uarr
|Upwards arrow as one character. Can be used for "to top" links.
|-
|style="text-align: center;"|→
|Rightwards Arrow
|style="text-align: center;"|U+2192<br>&rarr
|Rightwards arrow as one character. Used when listing directions on [[:Category:Locations|location pages]].
|-
|style="text-align: center;"|↔
|Left Right Arrow
|style="text-align: center;"|U+2194<br>&harr
|Arrow that points both left and right. Can be used to show a relation between two elements.
|-
|style="text-align: center;"|∕
|Division Slash
|style="text-align: center;"|U+2215
|Appears to be a forward slash. Since it has the same appearance but no function, it can help with presenting HTML.
|-
|style="text-align: center;"|>
|Fullwidth Greater-Than Sign
|style="text-align: center;"|U+FF1E
|Fake greater-than > symbol. Presented wider than the normal one.
|-
|style="text-align: center;"|<
|Fullwidth Less-Than Sign
|style="text-align: center;"|U+FF1C
|Fake less-than > symbol. Presented wider than the normal one.
|}
{| class="wikitable" style="width: 100%"
|+General
! style="width: 11%"|Code
!Example Input
! style="width: 20%"|Output
!style="width: 39%"|Explanation
|-
|<nowiki><nowiki></nowiki></nowiki>
|<nowiki><nowiki>'''text'''</nowiki></nowiki>
|<nowiki>'''text'''</nowiki>
|Escapes wiki markup and stops formatting code like <nowiki><pre></nowiki> from being recognized.
|-
| rowspan="2" |<nowiki><pre></pre></nowiki>
|<nowiki><pre>text</pre></nowiki>
|<pre>text</pre>
|Completely preformats text. All wiki markup, template calls, links, parser functions, HTML codes, and comments are completely ignored and are treated as raw text.
|-
|<nowiki><pre style="color: red">text</pre></nowiki>
|<pre style="color: red">text</pre>
|You can add HTML styles to preformatted text, like with divs and spans.
|-
|<nowiki><code></code></nowiki>
|<nowiki><code>text</code></nowiki>
|<code>text</code>
|Fixes the width of text and applies a background like with the <nowiki><pre></pre></nowiki> tags.
|-
|<nowiki><u></u></nowiki>
|<nowiki><u>text</u></nowiki>
|<u>text</u>
|Underlines text.
|-
|<nowiki><sup></sup></nowiki>
|<nowiki>text<sup>text</sup></nowiki>
|text<sup>text</sup>
|Superscript.
|-
|<nowiki><sub></sub></nowiki>
|<nowiki>text<sub>text</sub></nowiki>
|text<sub>text</sub>
|Subscript.
|-
|<nowiki><big></big></nowiki>
|<nowiki><big>text</big></nowiki>
|<big>text</big>
|Makes text bigger.
|-
|<nowiki><h3></h3></nowiki>
|<nowiki><h3>ctrt</h3></nowiki>
|<nowiki>(blanked)</nowiki>
|Defines a header using HTML, equivalent to <code><nowiki>===this===</nowiki></code> in wikitext. The number defines the header level from 1-6. Links to the header will work and it will appear in the TOC.
|-
|<nowiki><mark></mark></nowiki>
|<nowiki><mark>text</mark></nowiki>
|<mark>text</mark>
|Highlight text.
|-
|<nowiki><span class="spoiler"></span></nowiki>
|<nowiki><span class="spoiler">text </span></nowiki>
|<span class="spoiler">text </span>
|Hides text underneath a spoiler. Visible when selecting it on PC or tapping it on mobile. May not work when using certain wiki skins.
|-
|<nowiki><br></nowiki>
|<nowiki>text1<br>text2</nowiki>
|text1<br>text2
|Places a line break in text.
|-
| rowspan="2" |<nowiki><br clear=all></nowiki>
|<nowiki>[[File:Cagedfairy.png |thumb|right|Text]] <br clear=all> text</nowiki>
|[[File:Cagedfairy.png |thumb|right|Text]]<br clear=all>text
|Places a line break whilst forcing following elements to only appear after preceding elements are fully shown.
|-
|<nowiki>[[File:Cagedfairy.png |thumb|right|Text]] text</nowiki>
|[[File:Cagedfairy.png |thumb|right|Text]] text
|The same example without <code><nowiki><br clear=all></nowiki></code>, for reference.
|-
|<nowiki><blockquote></blockquote></nowiki>
|<nowiki><blockquote>text </blockquote></nowiki>
|<blockquote>text </blockquote>
|Presents text in a blockquote (indent)
|-
|<nowiki><span id=""></span></nowiki>
|<nowiki><span id="aexgda"></span></nowiki>
| style="vertical-align: top;" |<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.
|-
|<nowiki><!----></nowiki>
|<nowiki><!--text--></nowiki>
|<!--text-->
|Comments. Completely hidden from the page, but visible when editing.
|}
{| class="wikitable" style="width: 100%"
|+Div Styles and Classes <span id="div Styles"></span><span id="HTML"></span><span id="Div styles"></span>
!style="width: 11%"|Style/Class
!Example Input
!style="width: 20%"|Output
!style="width: 39%"|Explanation
|-
|style="text-align: center;"
|<nowiki><div style="text-align: center;">text</div></nowiki>
|<div style="text-align: center;">text</div>
|This div style forces inline elements to be presented in the center of a page.
|-
|style="-webkit-column-count:2;column-count:2;"
|<nowiki><div style="-webkit-column-count:2;column-count:2;">text1
text2
text3</div></nowiki>
|<div style="-webkit-column-count:2;column-count:2;">text1
text2
text3</div>
|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)''
|-
|<span id="divrow">style="display: flex; flex-direction: row;"</span>
|<nowiki><div style="display: flex; flex-direction: row;"><gallery widths=40 heights=40> Cagedfairy.png|Text </gallery>[[File:Boyoutline.png |thumb|Text]]</div></nowiki>
|<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.
|-
!colspan="4"|Collapsible Sections
|-
|class="mw-collapsible"
|<nowiki><div class="mw-collapsible">text1 <br>text2</div></nowiki>
|<div class="mw-collapsible">text1 <br>text2</div>
|Allows text to be collapsed.
|-
|class="mw-collapsible mw-collapsed"
|<nowiki><div class="mw-collapsible mw-collapsed">text1 <br>text2</div></nowiki>
|<div class="mw-collapsible mw-collapsed">text1 <br>text2</div>
|Adding <code>mw-collapsed</code> 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"
|<nowiki><div class="toccolours mw-collapsible">text1 <br>text2</div></nowiki>
|<div class="toccolours mw-collapsible">text1 <br>text2</div>
|Adding <code>toccolours</code> gives the content the style of the table of contents (hence <u>toc</u>colours).
|-
|class="mw-collapsible-content"
|<nowiki><div class="toccolours mw-collapsible mw-collapsed">text1<div class="mw-collapsible-content">text2</div></div></nowiki>
|<div class="toccolours mw-collapsible mw-collapsed">text1<div class="mw-collapsible-content">text2</div></div>
|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.
|}
{| class="wikitable" style="width: 100%"
|+List Formatting
!style="width: 11%"|Code
!Example Input
!style="width: 20%"|Output
!style="width: 39%"|Explanation
|-
| rowspan="2" |<nowiki><ul>  </ul></nowiki>
|<nowiki><ul> text1 text2<br>text 3 text 4</ul></nowiki>
|<ul> text1 text2<br>text3 text4</ul>
|Text is formatted in an unordered list.
|-
|<nowiki><div style="text-align: center;"><ul> text1<br>text2 </ul></div></nowiki>
|<div style="text-align: center;"><ul> text1<br>text2 </ul></div>
|You can place the list in a div to apply div styles to the whole list. Useful to center images in a list.
|-
|<nowiki><li> </li></nowiki>
|<nowiki><li>text1</li> <li>text2</li></nowiki>
|<li>text1</li> <li>text2</li>
|Gives text elements the style of being in a list. More importantly, allows to separate them into groups.
|-
|<nowiki><ul> <li> </li> </ul></nowiki>
|<nowiki><ul> <li>text1</li> <li>text2</li> </ul></nowiki>
|<ul> <li>text1</li> <li>text2</li> </ul>
|The combination of the two gives the best output. <code><nowiki><li> </li></nowiki></code> is used to separate the two.
|-
|style="display: inline-block;"
|<nowiki><ul> <li style="display: inline-block;> [[File:Cagedfairy.png |thumb|Text]] </li> <li style="display: inline-block;"> [[File:Boyoutline.png |thumb|Text]] </li> </ul></nowiki>
|<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;"
|<nowiki><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></nowiki>
|<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.
|}
{| class="wikitable" style="width: 100%;"
|+Tables
!Code
!style="width: 59%"|Usage
|-
|<nowiki>class="wikitable"</nowiki>
|Use at the table start to make it look like a standard table.
|-
|<nowiki>class="sortable"</nowiki>
|Adding this class to a table will allow you to sort the entire table columns of your choice.
|-
|<nowiki>class="unsortable"</nowiki>
|This class can be used on column headers to disable sorting the table by that column.
|-
|<nowiki>style="width: 100%;"</nowiki>
|At the table start, forces the table to fit a percentage of the screen width, regardless of size.<br>At the first row of a column, forces that column to fit a percentage of the table width.
|-
|<nowiki>style="vertical-align: top;"</nowiki>
|Change the vertical alignment of elements in a cell (the default is <code>middle</code>).
|}
{| class="wikitable" style="width: 100%;"
|+Other
! style="width: 41%"|Code
!Usage
|-
|<nowiki>resultsheader= «pre»«nowiki»|resultsfooter= «/nowiki»«/pre»</nowiki>
|Add to the end of a ''DPL parser function'' and the output will be unformatted.
|}


==Game Guides<span id="Game guides"></span><span id="game guides"></span>==
==Game Guides<span id="Game guides"></span><span id="game guides"></span>==
Line 354: Line 85:
#Press ''1'' to stand up.
#Press ''1'' to stand up.
</div>
</div>
<!--Above div close is for the collapsible section-->
<!--Above div close is for the collapsible section of "Game Guides"-->
==Saved Code==
==Saved Code==
===BGM===
===BGM===
This is what forces a no breaking space in the soundroom param of the BGM template.
This is what forces a no breaking space in the soundroom param of the BGM template.
 
<pre>
{{#if:{{{soundroom|}}}|(No.&nbsp;{{#ifeq:{{#expr:{{#len:{{{soundroom|}}}}} > 3}}|1|{{#sub:{{{soundroom}}}|0|3}}&nbsp;{{#sub:{{{soundroom}}}|-1}}|{{{soundroom}}}}})}}
{{#if:{{{soundroom|}}}|(No.&nbsp;{{#ifexpr:{{#len:{{{soundroom|}}}}} > 3|{{#sub:{{{soundroom}}}|0|3}}&nbsp;{{#sub:{{{soundroom}}}|-1}}|{{{soundroom}}}}})}}</pre>


Example:
Example:
Line 369: Line 100:
{{#if:{{{soundroom|}}}|(No. {{#ifeq:{{#expr:{{#len:{{{soundroom|}}}}} > 3}}|1|{{#sub:{{{soundroom}}}|0|3}} {{#sub:{{{soundroom}}}|-1}}|{{{soundroom}}}}})|NONE}}
{{#if:{{{soundroom|}}}|(No. {{#ifeq:{{#expr:{{#len:{{{soundroom|}}}}} > 3}}|1|{{#sub:{{{soundroom}}}|0|3}} {{#sub:{{{soundroom}}}|-1}}|{{{soundroom}}}}})|NONE}}


==Test Space==
===Map ID===
===Random===
Adds Map ID records from Locationbox input
Test anything here <!--Lazy way w/o needing to create a new header-->
<pre>
{{#ifeq:{{{Map ID}}}|None||{{#arraymap:{{#arraymaptemplate:{{{Map ID}}}|Template:MapIDs|,|,}}|,|item|item|,\s}}}}</pre>
 
Example code:
<pre>
{{#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}}}}</pre>


Example:


(blanked)


===Claim<span id="claim"></span><span id="Claim Testing></span><span id="Claim testing"></span>===
===A main page edit===
<!--
<!--
{{claim}}
{{PortalHeading|Welcome to the Yume&nbsp;Nikki&nbsp;Wiki|tag=h1}}
{{claim}}
<center><big>Detailed information and guides for everything ''[[Yume Nikki:Yume Nikki|Yume&nbsp;Nikki]]''
{{subst:claim}}
<div class="plainlinks">[https://yume.wiki/Special:PrefixIndex?prefix=&namespace=3000&hideredirects=1&stripprefix=1 {{PAGESINNAMESPACE:{{NAMESPACENUMBER}}}} articles] since May 2009</div></big>
{{subst:claim|ZASNK}}
''Yume Nikki'' is an exploration-based game which relies on mystery and discovery.
 
The nature of this wiki makes it more suited for players who wish to discover more about the game and inform themselves on areas they may be unaware of. The wiki also covers popular theories on the game's major themes, unused and removed content from the many discovered versions, and related official media.
 
<u>It is best to play the game in full before consulting the wiki.</u></center>
 
{{PortalHeading|Contents|}}
<div style="max-width:940px;margin:auto"><center>
[[File:Yume Nikki Titlecard.png|link=Yume Nikki:Yume Nikki]]
[[File:Effects Titlecard.png|link=Yume Nikki:Effects]]
[[File:Events Titlecard.png|link=Yume Nikki:Events]]
[[File:Characters Titlecard.png|link=Yume Nikki:List of Characters]]
[[File:Madotsuki Titlecard.png|link=Yume Nikki:Madotsuki]]
[[File:Locations Titlecard.png|link=Yume Nikki:List of Locations]]
[[File:Soundtrack Titlecard.png|link=Yume Nikki:Soundtrack]]
[[File:Theories Titlecard.png|link=Yume Nikki:Theories]]
[[File:Other Media titlecard.png|link=Yume Nikki:Official Goods and Media]]
</center></div>
 
{{PortalHeading|External Links}}
<center>
[[File:Download Thumb.png|link=http://store.steampowered.com/app/650700/Yume_Nikki/]]
[[File:KikiyamaHP Thumb.png|link=https://www3.nns.ne.jp/~tk-mto/kikiyamaHP.html]]
[[File:DreamDiary_Thumb.png|link=http://yume-nikki.com/]]
</center>
 
{{PortalHeading|Editing}}
Despite the game's age, many details have been neglected or are otherwise absent. All contributions are welcome to help improve the wiki.
*Learn [[Help:Editing|how to edit]] articles.
*Upload [[Special:Upload|images]] for pages that need them.
*Add to the [[:Category:Yume Nikki Characters|character pages]].
{{CreateNewArticle}}
 
===Recent Changes===
{{Special:RecentChanges/namespace=3000,days=30,limit=10,hidebots,hidemyself}}
 
__NOTOC__
__NOEDITSECTION__
[[Category:Yume Nikki]]
[[Category:Wikis]]
-->
-->
<!--{{subst:MissingInfo|details|ZASNK}}-->


==Organisation==
===Media===
Images on wiki pages are:
*Gameplay screenshots
**Usually showing off a location
**Sometimes to show off a character
**Many times to show an event process
***Event may be taking place clearly within the location
***Event may also be full-screen
**Menu screenshots too
**VM screenshots to find those
*World maps
**May have annotations
**Some only show a part of the full map file
**Different parts may be stitched together in a more clear layout
**Some parts can be made invisible
*Character pictures
**Usually edited to isolate the character
**Can be a section of the CharSet file
**In case of the protagonist, usually the specific faceset is used
*Visual gameplay elements that aren't characters, like the torii gate in {{t|delete}}
*Game files, raw
**Used picture files
**Full panoramas
**Maybe event pictures too
***If the event picture is literally identical to an in-game screenshot, which takes priority?
**Do unedited maps count?
*Game icons (like menu theme icons)
*Art
**Official art by the developer(s)
**Unofficial art that best represents the feature (like characters in the ynfg wiki)
*Wiki template images, like for {{t|stub}}
**These usually feature a character anyways
*YNOproject badge images
*Guide images such as how to perform a set of actions
*Wiki main page banners
**Maybe some misc buttons too but those are probably still considered banners
**Usually feature characters
**May feature other elements too
Audio on wiki pages are:
*Song BGM files, usually ogg at least 1 min length
**Sometimes edited to show something off
**Sometimes the original file, for comparing with the slowed/sped sound in-game
*SFX previews at original length
{| class=wikitable width=100%
!Feature
!In which media
|-
|Character
|
*Normal gameplay screenshots
*Event screenshots
*Picture files
*CharSet files
*Panorama files
*Maps (think of manhole-sama)
*Isolated images
*In wiki banners
*In notice images
*SFX
*Art (both official and unofficial)
*Can be seen in guide images
|-
|Location
|
*Normal gameplay screenshots
*Maps (all types)
*In wiki banners
*''Related to ChipSet files''
*''Related to Panorama files''
*World music
*SFX (as ambience?)
*Art (may be depicted in it)
*Can be seen in guide images
|-
|Other GFX (besides characters)
|
*Normal gameplay screenshots
*Isolated images
*In wiki banners
*In notice images
|-
|TBA
|
|}
===Categories===
The current setup:
*YumeWiki
**Help
***''TBA''
**Maintenance
***Templates
***Tracking page ''types'' like wiki-dependent
***Tracking page ''properties or features'' like automatically created MediaWiki categories
**Content
***''All wiki pages normal readers would want, across all wikis''
Now for a bit of chatter:
*Do templates actually fit under Maintenance or would they fit better under some other admin category?
*Original idea was to make Maintenance have lowercase categories but Content categories in Title Case:
**Would Help pages still be viewed by normal readers? Should that be lower or title case?
**How would the stub and missing info categories work? readers see them all the time but its technically Maintenance
**Are either of changing everything to lowercase (ugly) or changing all system messages to title case (sysop only job) preferable to a dual system (I think not)
**What about general pages like the disclaimer?
*Where should general pages like the wiki disclaimer go? some other admin category (again)?
*<s>There are some general pages that cover multiple locations ([[Yume Nikki:FC Worlds|eg]]), should these have a special category?</s> [[:Category:Multi-page Locations|made by wind]]
**Disambig categories?
*Should talk pages ever be categorised anywhere?
==SMW==
<div style="float:right;">'''''AKA Semantic MediaWiki'''''</div>
===ask Tests===
Below asks for all hidden badges and lists them
{{#ask:
[[Badge/Is hidden::true]]
|?Badge/Icon#frameless=Icon(s)
|?Badge/Name=Name
|?Badge/Location=Location(s)
|?Badge/Author=Author(s)
|?Badge/Batch=Batch
|?Badge/Date#ISO=Date
|mainlabel=-
|limit=60
|sort=Badge/Date,Badge/Name
|order=ascending,ascending
}}
Below asks for all Yume Nikki Map ids
<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible-toggle mw-collapsible-text" style="float:none; text-decoration:underline; color:#0645ad;">[Show/Hide]</div>
<div class="mw-collapsible-content">
{{#ask:
[[Category:Yume Nikki Locations]]
|?Map IDs
|mainlabel=Page
|limit=999
|sort=Map IDs.Has map ID
}}</div></div>
{{Author
|author_name = Example
|original_author_name = 称号
|description = Example is a dev known for…
their notable works include [[Wiki:Example World]], … etc
|twitter_username = example21
|date_joined = 29/04/2021
}}
{{#ask: [[-Has subobject::User:ZASNK/Sandbox]]
|?Author/Date Joined=date_joined
|?Author/Socials=socials
|?Author/Last Updated
|format=plainlist
}}
===Collectibles===
{| class="wikitable" style="width:100%; font-size:80%;"
!Collectible
!Number
!Name/Title
!Alt lang titles
!Icon
!<span title="Like the flavour text for effects">Description</span>
!Unlock Condition
!<span title="e.g. effects required before obtaining">Prerequisites</span>
!Specific Location
!Image/Text Preview
!Image of Unlocking
!Usage/Advantages
!<span title="What an effect does">"Action"</span>
!<span title="Description of how an effect looks">Appearance in text</span>
!Author
!Unlocks Another Feature?
|-
|<span title="Many">Menu Themes</span>
|✅
|
|
|✅
|
|✅
|
|✅
|✅
|✅
|
|
|
|
|
|-
|<span title="Many">Wallpapers</span>
|✅
|✅
|
|
|
|✅
|
|
|✅
|
|
|
|
|✅
|
|-
|<span title="Yume 2kki">Kura Puzzles</span>
|✅
|✅
|
|
|
|✅
|
|
|✅
|
|
|
|
|✅
|
|-
|<span title="Yume 2kki">System Sounds</span>
|✅
|
|
|
|
|✅
|
|✅
|
|✅
|
|
|
|
|
|-
|<span title="Oversomnia">Bestiary</span>
|✅
|✅
|
|✅
|
|✅
|
|✅
|✅
|✅
|
|
|
|
|
|-
|<span title="Someday">Crystals</span>
|
|✅
|
|✅
|
|
|
|✅
|✅
|❓
|
|
|
|
|
|-
|<span title="Someday">Feats</span>
|
|✅
|
|
|✅
|✅
|✅
|
|
|
|
|
|
|
|
|-
|<span title="Muma Rope">Coins</span>
|
|
|
|
|
|❓
|
|✅
|
|❓
|
|
|
|
|
|-
|<span title="Dream Genie">Pet Items</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|-
|<span title="Answered Prayers and Dream Genie">Keys</span>
|❓
|
|
|
|
|❓
|❓
|❓
|
|❓
|
|
|
|
|❓
|-
|<span title="Dream Genie">Other Items</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|-
|<span title="Cerasus">Mailbox Messages</span>
|✅
|✅
|
|
|
|✅
|
|
|✅
|
|
|
|
|
|
|Has speculatory notes and "Sent by"
|-
|<span title="Cerasus">Pwee Dolls</span>
|✅
|
|
|✅
|
|✅
|✅
|✅
|
|
|
|
|
|
|✅
|-
|<span title="Cerasus">Gummies</span>
|
|
|
|
|
|
|
|✅
|
|
|
|
|
|
|
|-
|<span title="Cerasus">Notes</span>
|
|✅
|
|✅
|✅
|✅
|
|
|
|
|✅
|
|
|
|✅
|-
|<span title="Many">Effects</span>
|
|✅
|✅
|✅
|✅
|✅
|✅
|❓
|<span title="For instructions, could also be alt effect sprites, for nikki it shows effect eggs">✅*</span>
|
|✅
|✅
|✅
|
|
|-
|<span title="2kki">Masks</span>
|
|✅
|
|✅
|
|✅
|✅
|❓
|
|
|✅
|
|
|
|
|}
==Test Space==
===Random===
Test anything here <!--Lazy way w/o needing to create a new header-->
<center><h4 style="background: linear-gradient(to bottom right, #e3d905 45%, #c87c91 50%, #7005b9 55%); border: 5px solid #49007C;><span style="  color: #fff;
  text-shadow:
    1px 1px 2px #000,
    -1px 1px 2px #000,
    -1px -1px 0 #000,
    1px -1px 0 #000;"><big>'''Header Text'''</big></span></h4></center>


===Countdown===
===Countdown===

Latest revision as of 02:37, 29 June 2024

Purpose

This sandbox is used to share wiki information, formatting code, and template code, and to test templates and parser functions.

Wiki Guides

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 here ).

{{#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 here ):

<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 here ):

<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>

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:
  1. Equip Frog in the chair
  2. Go to the tile you wish to face UP on and face DOWN on that tile
  3. Use the Frog effect
  4. Wait for Madotsuki to appear sitting down
  5. 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:
  1. If you can face LEFT on the tile:
    1. Equip Frog in the chair
    2. Go to the tile you wish to face UP on and face LEFT on that tile
    3. Use the Frog effect
    4. Wait for Madotsuki to appear sitting down
    5. Equip any effect
  2. If you cannot face LEFT on the tile:
    1. Equip Towel in the chair
    2. Go to the tile you wish to face UP on
    3. Spam 1 to use the Towel effect until you somehow end up facing UP (yes, I know this sounds silly, but it works)
    4. Wait for Madotsuki to appear sitting down
    5. 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:
  1. Go to the Dream World
  2. Perform the Broken Instructions glitch to store the instructions
  3. Press 9 to wake up with the instructions stored
  4. Sit down while facing LEFT on any tile
  5. Press Z and close the instructions
  6. Move to the tile you wish to face LEFT on (you will have glitched movement)
  7. Wait for Madotsuki to tilt her head (second sitting down state)
  8. 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)

A main page edit

Organisation

Media

Images on wiki pages are:

  • Gameplay screenshots
    • Usually showing off a location
    • Sometimes to show off a character
    • Many times to show an event process
      • Event may be taking place clearly within the location
      • Event may also be full-screen
    • Menu screenshots too
    • VM screenshots to find those
  • World maps
    • May have annotations
    • Some only show a part of the full map file
    • Different parts may be stitched together in a more clear layout
    • Some parts can be made invisible
  • Character pictures
    • Usually edited to isolate the character
    • Can be a section of the CharSet file
    • In case of the protagonist, usually the specific faceset is used
  • Visual gameplay elements that aren't characters, like the torii gate in {{delete}}
  • Game files, raw
    • Used picture files
    • Full panoramas
    • Maybe event pictures too
      • If the event picture is literally identical to an in-game screenshot, which takes priority?
    • Do unedited maps count?
  • Game icons (like menu theme icons)
  • Art
    • Official art by the developer(s)
    • Unofficial art that best represents the feature (like characters in the ynfg wiki)
  • Wiki template images, like for {{stub}}
    • These usually feature a character anyways
  • YNOproject badge images
  • Guide images such as how to perform a set of actions
  • Wiki main page banners
    • Maybe some misc buttons too but those are probably still considered banners
    • Usually feature characters
    • May feature other elements too

Audio on wiki pages are:

  • Song BGM files, usually ogg at least 1 min length
    • Sometimes edited to show something off
    • Sometimes the original file, for comparing with the slowed/sped sound in-game
  • SFX previews at original length
Feature In which media
Character
  • Normal gameplay screenshots
  • Event screenshots
  • Picture files
  • CharSet files
  • Panorama files
  • Maps (think of manhole-sama)
  • Isolated images
  • In wiki banners
  • In notice images
  • SFX
  • Art (both official and unofficial)
  • Can be seen in guide images
Location
  • Normal gameplay screenshots
  • Maps (all types)
  • In wiki banners
  • Related to ChipSet files
  • Related to Panorama files
  • World music
  • SFX (as ambience?)
  • Art (may be depicted in it)
  • Can be seen in guide images
Other GFX (besides characters)
  • Normal gameplay screenshots
  • Isolated images
  • In wiki banners
  • In notice images
TBA

Categories

The current setup:

  • YumeWiki
    • Help
      • TBA
    • Maintenance
      • Templates
      • Tracking page types like wiki-dependent
      • Tracking page properties or features like automatically created MediaWiki categories
    • Content
      • All wiki pages normal readers would want, across all wikis

Now for a bit of chatter:

  • Do templates actually fit under Maintenance or would they fit better under some other admin category?
  • Original idea was to make Maintenance have lowercase categories but Content categories in Title Case:
    • Would Help pages still be viewed by normal readers? Should that be lower or title case?
    • How would the stub and missing info categories work? readers see them all the time but its technically Maintenance
    • Are either of changing everything to lowercase (ugly) or changing all system messages to title case (sysop only job) preferable to a dual system (I think not)
    • What about general pages like the disclaimer?
  • Where should general pages like the wiki disclaimer go? some other admin category (again)?
  • There are some general pages that cover multiple locations (eg), should these have a special category? made by wind
    • Disambig categories?
  • Should talk pages ever be categorised anywhere?

SMW

AKA Semantic MediaWiki

ask Tests

Below asks for all hidden badges and lists them

Icon(s)NameLocation(s)Author(s)BatchDate
Clover Bdg.pngPale-Crimson CloverGallery Of MeCmax_2022-04-25
GoldNekoin(badgeyn).gif
GoldNekoin(badgeyn).png
Golden NekoinShield-Folk Worldmiau22022-05-10
Nasu gold(badgeyn).gif
Nasu gold(badgeyn).png
Gold NASUMadotsuki's RoomCatmat32022-05-12
ErasedMuma(badgeMR).gif
ErasedMuma(badgeMR).png
Kill the Erased MumabWF5322022-11-09
WorstThief(badgeMR).gifWorst Thief EVER.ChicagoJetrotal322022-11-09

Below asks for all Yume Nikki Map ids

[Show/Hide]
PageMap IDs
Debug Room1 (?)
Madotsuki's Room3 (Real Room)
4 (Balcony)
6 (Dream Room)
7 (Dream Balcony day)
8 (Dream Balcony night)
Nexus9 (?)
Forest World10 (?)
Block World11 (?)
Puddle World12 (?)
Dark World13 (?)
Snow World14 (Main area)
22 (Top-middle igloo)
23 (Top-left igloo)
24 (Surprise Toriningen igloo&comma)
25 (Bottom-left igloo)
26 (Kamurako's Igloo&comma)
27 (Igloo near Toriningen)
28 (Pink Sea entrance)
Mural World15 (?)
Graffiti World16 (?)
Eyeball World17 (?)
Candle World18 (?)
Shield-Folk World19 (?)
Neon World20 (?)
Number World21 (Main area)
29 (Stabbing Room)
30 (Bed Room)
32 (Stairway Entrance)
33 (Stairway)
Lamp World31 (?)
Guillotine World35 (Normal size)
36 (Big Guillotine World)
Neon Tile Path37 (Lower section)
38 (Upper section)
Checkered Tile Path39 (Lower section)
40 (Upper section)
Face Carpet Plaza41 (?)
Dense Woods A42 (Dense Woods A)
43 (To Infinite Road)
44 (Infinite Road entrance)
45 (Infinite Road)
46 (Infinite Road exit)
Hell47 (?)
Footprint Path48 (Footprint Path A)
49 (Footprint Path B)
Wilderness50 (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 Settlement66 (Town)
68 (Isee Path)
69 (Seahorse)
Mini Hell67 (?)
Sewers70 (Entrance)
71 (City Gutter)
72 (Processing Plant)
73 (Sewer Tunnel)
74 (Docks Staircase)
75 (Nopperabou Pool)
81 (Big Red)
Mall76 (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 World83 (?)
Dense Woods B84 (Manhole to the Mall)
86 (Main area)
Road86 (?)
Dark Woods86 (Dense Woods B gate)
90 (Dark Woods)
Traincar87 (Blue sky)
88 (Inside)
89 (Red sky)
Witch's Island91 (Lake Shore)
92 (Lake Bridge)
93 (Island)
White Desert A94 (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 House101 (Uboa's Trap)
109 (Poniko's House)
White Desert Mountain Ring102 (Brain Creature)
103 (The Thing)
104 (Manhole-sama)
105 (Main area)
White Desert B105 (Main area)
106 (White Desert Underground Lagoon)
107 (Stairway)
Pink Sea108 (?)
Teleport Maze110 (?)
Docks A111 (?)
Docks B111 (?)
Sky Garden112 (Garden)
113 (Cliffside)
115 (Red Sky Garden door)
116 (Crossover Garden)
117 (Blue Ghost World door)
Ghost World114 (?)
Static Maze118 (?)
FC House120 (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 Tunnel144 (?)
FC World A145 (Cave from Static Tunnel)
147 (FC Ruins)
158 (Main FC World)
FC World B146 (FC Pyramids)
151 (FC Cave first room)
152 (FC Cave Buyo Buyo)
154 (Pirori Shore)
158 (Main FC World)
FC Dungeon148 (FC Dungeon rooms)
149 (Dungeon Glitch room without event)
150 (Monochrome room)
157 (Dungeon Glitch room with event)
FC World C153 (Moai peninsula)
158 (Main FC World)
Staircase of Hands159 (?)
Underground World160 (Hallway)
161 (Blazing Corridor)
162 (Storage Room)
Spaceship163 (Entrance from Underground World)
164 (Main room)
165 (Missing entrance)
166 (Spaceship Bedroom)
167 (Exit to Mars)
Mars168 (Crash Site)
169 (Flat path)
170 (Start of hill)
171 (Hill slope)
172 (Summit)
173 (Underground stairs)
174 (Mars Underground)



ZASNK/Sandbox (date_joined: 29 April 2021)


Collectibles

Collectible Number Name/Title Alt lang titles Icon Description Unlock Condition Prerequisites Specific Location Image/Text Preview Image of Unlocking Usage/Advantages "Action" Appearance in text Author Unlocks Another Feature?
Menu Themes
Wallpapers
Kura Puzzles
System Sounds
Bestiary
Crystals
Feats
Coins
Pet Items
Keys
Other Items
Mailbox Messages Has speculatory notes and "Sent by"
Pwee Dolls
Gummies
Notes
Effects ✅*
Masks

Test Space

Random

Test anything here

Header Text

Countdown

09:24

0924

0

020301

$timestamp = strtotime("20230120171222");