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



YumeWiki
3,036Articles

User:ZASNK/Sandbox: Difference between revisions

(add templatedoc guide)
Line 1: Line 1:
__TOC__
__TOC__
=Guides=
=Guides=
==Template Documentation==
<!-- test of comments.
if this doesnt work then neither will the thing below.
...so hopefully it does work - function - not break - not make me have to re-edit the whole thing.
- heres some more [[File:testing]] <nowiki>just in case</nowiki>
-->
The following block is text that 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.
<div class="toccolours mw-collapsible mw-collapsed">
Template Documentation guide (copy and paste)
<div class="mw-collapsible-content">
<pre><nowiki>
==Description==
<!--Short summary of what the main function of the template is-->
INSERT_TEXT_HERE
<br clear=all>
==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></nowiki>{{t|Documentation}}<nowiki></noinclude></nowiki></code> at the end of the template page.
Add <code><nowiki><noinclude></nowiki>{{t|Documentation|documentation page}}<nowiki></noinclude></nowiki></code> to transclude an alternative page from the /doc subpage.
Basically think of it as a simplified sample.-->
INSERT_TEXT_HERE
<br clear=all>
==Usage==
<!--How to use. Attempt to answer:
- What does it present to the reader?
- Why would an editor choose to use it?
- What is the recommended use?
- What does the template require in order to function?
- What can the template NOT do? (limitations)
- What are some potential issues that should be kept in mind? (troubleshooting)
It may be helpful to give examples in this section instead of waiting until "Samples".-->
INSERT_TEXT_HERE
<br clear=all>
==Parameters==
<pre><nowiki>
<!--Copy the below texts to build the template parameter table. Spaces surround placeholder names to ease selection - do not include spaces.
This starts the function:
<templatedata>{"params": {
The following is a template with all options listed - DO NOT INCLUDE }, LINE IF USING IT FIRST
" parameter ": {
"label": " Fancy_Name ",
"aliases": [" Other_Name1 "," Other_Name2 "],
"type": "Choose one of: number, string, line(no line breaks), content(formatted wikitext), boolean, url(https://example.com), date, wiki-page-name, wiki-file-name, wiki-user-name, wiki-template-name.",
"description": " Explanation ",
"example": " Example_Input ",
"default": " Default_If_Static ",
"autovalue": " Default_If_Magic_Word ",
"suggestedvalues: [" Value1 "," Value2 "],
"required": true
"suggested": true
"deprecated": " What_To_Use_Instead ",
"inherits": "put another parameter name here to copy it's properties (gets overwritten by new ones)",
The following is a template with minumum options and less placeholders - DO NOT INCLUDE }, LINE IF USING IT FIRST
},
" parameter ": {
"label": " Fancy_Name ",
"type": "Choose one of: number, string, line(single), content(wikitext), wiki-page-name, wiki-file-name, wiki-user-name.",
"description": " Explanation ",
"example": " Example_Input ",
"default": " Default_If_Static ",
"autovalue": " Default_If_Magic_Word ",
This ends the templatedata function:
}},}</templatedata>
Obviously, only include as many parameters as you need.
Oh, and remember to also remove the "nowiki" and "pre" tags you see around this particular comment.--></nowiki><pre>
INSERT_TEXT_HERE
<br clear=all>
==Sample==
The following input:
<code><pre>
{{Example|param=value|pa..}}
</pre></code>
Produces:
<!--Copy the actual template call from the preformatted section and use that. If the template is heavy when loading you may instead want to copy the expected output, however this has risk of becoming outdated and should be avoided.-->
INSERT_TEXT_HERE
<noinclude>__NOTOC__ [[Category:Template documentation]]</noinclude>
</nowiki><pre></div></div><br clear=all>
==Face any direction==
==Face any direction==
You can face any direction you want on any tile in Yume Nikki's dream worlds, using the power of [[Yume Nikki:Glitches|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.
You can face any direction you want on any tile in Yume Nikki's dream worlds, using the power of [[Yume Nikki:Glitches|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.

Revision as of 03:15, 25 June 2023

Guides

Template Documentation

The following block is text that can be inserted into a Template:(name)/doc 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.

Template Documentation guide (copy and paste)

<nowiki>
==Description==
<!--Short summary of what the main function of the template is-->
INSERT_TEXT_HERE
<br clear=all>
==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 = }}
	

Another example, this time from Template:Documentation: Add <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

<!--Copy the below texts to build the template parameter table. Spaces surround placeholder names to ease selection - do not include spaces.
This starts the function:
	<templatedata>{"params": {
The following is a template with all options listed - DO NOT INCLUDE }, LINE IF USING IT FIRST
		" parameter ": {
			"label": " Fancy_Name ",
			"aliases": [" Other_Name1 "," Other_Name2 "],
			"type": "Choose one of: number, string, line(no line breaks), content(formatted wikitext), boolean, url(https://example.com), date, wiki-page-name, wiki-file-name, wiki-user-name, wiki-template-name.",
			"description": " Explanation ",
			"example": " Example_Input ",
			"default": " Default_If_Static ",
			"autovalue": " Default_If_Magic_Word ",
			"suggestedvalues: [" Value1 "," Value2 "],
			"required": true
			"suggested": true
			"deprecated": " What_To_Use_Instead ",
			"inherits": "put another parameter name here to copy it's properties (gets overwritten by new ones)",
The following is a template with minumum options and less placeholders - DO NOT INCLUDE }, LINE IF USING IT FIRST
		},
		" parameter ": {
			"label": " Fancy_Name ",
			"type": "Choose one of: number, string, line(single), content(wikitext), wiki-page-name, wiki-file-name, wiki-user-name.",
			"description": " Explanation ",
			"example": " Example_Input ",
			"default": " Default_If_Static ",
			"autovalue": " Default_If_Magic_Word ",
This ends the templatedata function:
	}},}</templatedata>
Obviously, only include as many parameters as you need.
Oh, and remember to also remove the "nowiki" and "pre" tags you see around this particular comment.--><pre>
INSERT_TEXT_HERE
<br clear=all>
==Sample==
The following input:
<code><pre>
{{Example|param=value|pa..}}

Produces: INSERT_TEXT_HERE

</nowiki>


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.

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 test

Recently Edited

Other test
test

Visual List

Trying to make the above using a DPL function Code used <div class="toccolours mw-collapsible" style='text-align: center;'> <big>'''Recently Edited'''</big> <div class="mw-collapsible-content"> {{#dpl:execandexit={{#ifeq:{{NAMESPACE}}|Template|disabled on the template|}}|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: top; 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

Recently Edited
{{Extension DPL}}<div style='text-align: center;'><ul><li style="display: inline-block; vertical-align: top; width: 135px;">[[File:2kki Jimbo.png|none|135x101px|Yume 2kki:Jimbo]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Jimbo|Jimbo]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Boyoutline.png|aaFile:Cagedfairy.png|aaFile:Ookamishonen~1.png|aaFile:Bomb.png|aaFile:Pet_telephone.png|aaFile:Maiky.png|aaFile:Bugeff.png|aaFile:Bane-jack.png|aaFile:Invis.png|aaFile:Xxx.20.Charset_02heishi.png|aaFile:Corstretch.png|aaFile:Grayhan.png|aaFile:Syujinkou_effect_caker.png|aaFile:Twintais.png|aaFile:20_Charset_03.png|aaFile:Trombonist.png|aaFile:HoutaiUde.png|aaFile:Margivivid.png|aaFile:Komorin.png|aaFile:Grave.png|aaFile:Usamimi.png|aaFile:Saikoro-kun.pngFile:|none|135x101px|Yume 2kki:Minor Characters]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Minor Characters|Minor Characters]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:2kki Sniper-san Side.png|none|135x101px|Yume 2kki:Sniper-san]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Sniper-san|Sniper-san]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:WitchOfHatred.png|none|135x101px|Yume 2kki:Witch of Hatred]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Witch of Hatred|Witch of Hatred]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Pet telephone.png|none|135x101px|Yume 2kki:Pet Telephone]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Pet Telephone|Pet Telephone]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Monoebig.png|none|135x101px|Yume Nikki:Monoe]]<div style='max-width: 135px; text-align: center;'>[[Yume Nikki:Monoe|Monoe]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Yn-aztecrave.png|none|135x101px|Yume Nikki:Aztec Rave Monkey]]<div style='max-width: 135px; text-align: center;'>[[Yume Nikki:Aztec Rave Monkey|Aztec Rave Monkey]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Monokobig.png|none|135x101px|Yume Nikki:Monoko]]<div style='max-width: 135px; text-align: center;'>[[Yume Nikki:Monoko|Monoko]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Fallingmanevent.gif|none|135x101px|Yume Nikki:Falling Men]]<div style='max-width: 135px; text-align: center;'>[[Yume Nikki:Falling Men|Falling Men]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:YN FACE.png|none|135x101px|Yume Nikki:FACE]]<div style='max-width: 135px; text-align: center;'>[[Yume Nikki:FACE|FACE]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Trombonist.png|none|135x101px|Yume 2kki:Flashing Trombonist]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Flashing Trombonist|Flashing Trombonist]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Pc-yumegamen-03-45.png|none|135x101px|Yume 2kki:Chasers]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Chasers|Chasers]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Margivivid.png|none|135x101px|Yume 2kki:Marginal Vivid Worker]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Marginal Vivid Worker|Marginal Vivid Worker]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:HoutaiUde.png|none|135x101px|Yume 2kki:Houtai Ude]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Houtai Ude|Houtai Ude]]</div></li>
<li style="display: inline-block; vertical-align: top; width: 135px;">[[File:Book txt 893 1-3.png|none|135x101px|Yume 2kki:Surimuki]]<div style='max-width: 135px; text-align: center;'>[[Yume 2kki:Surimuki|Surimuki]]</div></li>
</ul></div>

Actual