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



YumeWiki
3,035Articles

User:ZASNK/Sandbox: Difference between revisions

m (reveal helpful formatting section)
Line 2: Line 2:
=Guides=
=Guides=
==Helpful Formatting<span id="Formatting"></span><span id="formatting"></span><span id="Helpful formatting"></span>==
==Helpful Formatting<span id="Formatting"></span><span id="formatting"></span><span id="Helpful formatting"></span>==
TBA
{| class="wikitable"
|+Formatting Pages
!Character or Code
!Usage
|-
|<pre>∕</pre>
|Appears to be a forward slash. Since it has the same appearance but no function, it can help with presenting HTML.
|-
|<pre>→</pre>
|Rightwards arrow as one character. Used when listing directions on [[:Category:Locations|location pages]].
|-
|<pre>←</pre>
|Leftwards arrow as one character.
|-
|<pre><br></pre>
|Forces a line break in text.
|-
|<pre><br clear=all></pre>
|Forces a line break, but also blocks all following text from appearing until elements such as images are completely visible. For example, this can stop an image from appearing next to multiple headers by forcing one of the headers to only appear below the full image.
|-
|<pre><span id="text"></span></pre>
|Include anywhere on the page to create an invisible link anchor. For example, using "Blop" for the text will allow you to link to Page#Blop. These links work exactly as normal header links do and can even be placed within a header ''(inside of the equal signs)'' to have alternate header links.
|}
{| class="wikitable"
|+Formatting of Text
!Formatting Code
!Output
!Explanation
|-
|<pre><nowiki>text<nowiki></pre>
|<nowiki>text<nowiki>
|Escapes wiki markup (such as '''bolding''' to <nowiki>'''bolding'''<nowiki>)
|-
|<pre><pre>text</pre><pre>
|<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.
|-
|<pre><pre style="color: red">text</pre></pre>
|<pre style="color: red">text</pre>
|You can add HTML styles to preformatted text, like divs.
|-
|<pre><code>text</code></pre>
|<code>text</code>
|Fixes the width of text (no text wrapping) and applies a background like with the <pre><pre></pre><pre> tags.
|-
|<pre><big>text</big></pre>
|<big>text</big>
|Makes text bigger.
|-
|<pre><span class="spoiler">text</span></pre>
|<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.
|-
|<pre><div class="toccolours mw-collapsible mw-collapsed">text<div class="mw-collapsible-content"></div></div></pre>
|<div class="toccolours mw-collapsible mw-collapsed">text1<div class="mw-collapsible-content">text2</div></div>
|Adds a header with a button to reveal a collapsed section. Both the header and section can have other formatting. Remove <code>mw-collapsed</code> to have the section expanded by default.
|-
|<pre><div style="-webkit-column-count:2;column-count:2;">text1
text2
text3</div></pre>
|<div style="-webkit-column-count:2;column-count:2;">text1
text2
text3</div>
|Formats text into the specified number of columns.
|}
<!--
<!--
I want to talk about all the following and how they can help format wikitext.
Maybe add:
Likely will format this as a table instead of a normal list. Also gives me an excuse to learn how to make tables.
→ 'rightwards arrow' used in listing directions (looks different in source editor)
← 'leftwards arrow' just for sake of having it
<pre>text</pre>
<nowiki>text<nowiki>
<code>text</code>
<div class="toccolours mw-collapsible mw-collapsed">text<div class="mw-collapsible-content"></div></div>
<big>text</big>
<span class="spoiler">text</span>
<div style="-webkit-column-count:3;column-count:3;">list</div>
<br>
<br clear=all>
<span id="linktext"></span> for this one you have to include it inside of headers you want to link to. mediawiki does convert underscores in links to the spaces you provide in spans, but it does not detect spaces in links. This means that with underscores and without is basically the same thing.
https://www.mediawiki.org/wiki/Special:MyLanguage/Help:TemplateStyles
https://www.mediawiki.org/wiki/Special:MyLanguage/Help:TemplateStyles
https://www.mediawiki.org/wiki/Help:HTML_in_wikitext
https://www.mediawiki.org/wiki/Help:HTML_in_wikitext

Revision as of 07:34, 8 July 2023

Guides

Helpful Formatting

Formatting Pages
Character or Code Usage
Appears to be a forward slash. Since it has the same appearance but no function, it can help with presenting HTML.
Rightwards arrow as one character. Used when listing directions on location pages.
Leftwards arrow as one character.
<br>
Forces a line break in text.
<br clear=all>
Forces a line break, but also blocks all following text from appearing until elements such as images are completely visible. For example, this can stop an image from appearing next to multiple headers by forcing one of the headers to only appear below the full image.
<span id="text"></span>
Include anywhere on the page to create an invisible link anchor. For example, using "Blop" for the text will allow you to link to Page#Blop. These links work exactly as normal header links do and can even be placed within a header (inside of the equal signs) to have alternate header links.
Formatting of Text
Formatting Code Output Explanation
<nowiki>text<nowiki>
text<nowiki> |Escapes wiki markup (such as '''bolding''' to <nowiki>'''bolding'''<nowiki>) |- |<pre><pre>text</pre><pre> |<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. |- |<pre><pre style="color: red">text</pre></pre> |<pre style="color: red">text</pre> |You can add HTML styles to preformatted text, like divs. |- |<pre><code>text</code></pre> |<code>text</code> |Fixes the width of text (no text wrapping) and applies a background like with the <pre><pre></pre><pre> tags. |- |<pre><big>text</big></pre> |<big>text</big> |Makes text bigger. |- |<pre><span class="spoiler">text</span></pre> |<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. |- |<pre><div class="toccolours mw-collapsible mw-collapsed">text<div class="mw-collapsible-content"></div></div></pre> |<div class="toccolours mw-collapsible mw-collapsed">text1<div class="mw-collapsible-content">text2</div></div> |Adds a header with a button to reveal a collapsed section. Both the header and section can have other formatting. Remove <code>mw-collapsed</code> to have the section expanded by default. |- |<pre><div style="-webkit-column-count:2;column-count:2;">text1 text2 text3</div></pre> |<div style="-webkit-column-count:2;column-count:2;">text1 text2 text3</div> |Formats text into the specified number of columns. |} <!-- Maybe add: https://www.mediawiki.org/wiki/Special:MyLanguage/Help:TemplateStyles https://www.mediawiki.org/wiki/Help:HTML_in_wikitext for DPL usage resultsheader=«pre»«nowiki»|resultsfooter=«/nowiki»«/pre» --> ==Template Documentation<span id="templatedoc"></span><span id="Templatedoc"></span><span id="TemplateDoc"></span><span id="Template documentation"></span>== This block of text can be inserted into a <code>Template:(name)/doc</code> page to provide a guide on how to fill it out. Since most of the guide notes are in comments they can technically be left in, though that would be really lazy and would bloat the page. <div class="toccolours mw-collapsible mw-collapsed"> Template Documentation guide (copy and paste) <div class="mw-collapsible-content"> <pre> ==Description== <!--Short summary of what the main function of the template is--> INSERT_TEXT_HERE ==Syntax== <!--Explain how the template is included in a page. Best to include the recommended use cases. For example, in Template:Listloc: Copy/Paste the code shown below into a cell on the table then fill in the information. <pre> {{Listloc |name = |image = |aka = AKA: [Line can be deleted if inapplicable] |description = }} <∕pre> Another example, this time from Template:Documentation: Add <code><nowiki><noinclude>{{Documentation}}</noinclude> at the end of the template page.

Add <noinclude>{{Documentation|<documentation page>}}</noinclude> to transclude an alternative page from the /doc subpage. Basically think of it as a simplified sample.--> INSERT_TEXT_HERE

Usage

INSERT_TEXT_HERE

Parameters

INSERT_TEXT_HERE

Sample

INSERT_TEXT_HERE

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.

Test Space

LocationThumb Tests

Following is a list with images presented in-line and the links next to them, similar to the DPL output of LocationThumb.

column test

RecentlyEdited Tests

Testing of what became the RecentlyEdited template (originally was going to be TrendingPages)

Visual List

Plan was to recreate the above using a DPL function below, but the above section became a test space for when I was trying to figure out how to format it without ListChar breaking the whole thing (WHY DO THEY PUT THE File: NAMESPACE IN THAT TEMPLATE BUT NO OTHERS???)
DPL testing

Code used
<div class="toccolours mw-collapsible" style='text-align: center;'>
<big>'''Recently Edited'''</big>
<div class="mw-collapsible-content">
{{#dpl:category=Yume Nikki Events{{!}}Yume 2kki Characters|uses=Template:ListChar{{!}}Template:Locationbox{{!}}Template:NPCBox{{!}}Template:Listloc|count=15|include={ListChar}:image,{Locationbox}:image,{NPCBox}:image,{Listloc}:image|format=<div style{{=}}'text-align: center;'><ul>,<li style{{=}}"display: inline-block; vertical-align: bottom; width: 135px;">[[,{{!}}none{{!}}135x101px{{!}}%PAGE%]]<div style{{=}}'max-width: 135px; text-align: center;'>[[%PAGE%{{!}}%TITLE%]]</div></li>\n,</ul></div>|secseparators=,,File:,,,,,|multisecseparators={{!}}aa,,,|dominantsection=1|ordermethod=lastedit|order=descending|cacheperiod=604800}}
</div></div>

Unformatted output
(blanked)
Actual
(blanked)

Claim

Claim Useful Text

Current timestamp 20241122212057
Function 20241122102057
{{#time:Ymdhis|+1 hours}}
20241122102057
0
Refresh


Claim Testing

A

B

C

F
SHOVEL FLOWER.png  This page is missing information and is in need of editing or expansion. You can help YumeWiki by inserting the needed information via editing.
To do: details


G


Countdown

21:20

2120

0

00300

$timestamp = strtotime("20230120171222");