Difference between revisions of "NetHackWiki:Sandbox"

From NetHackWiki
Jump to navigation Jump to search
(I usually type the wiki markup myself, but this time I tried the buttons at top at bottom.)
(tiny table sort)
 
(161 intermediate revisions by 39 users not shown)
Line 1: Line 1:
Try editing the sandbox! Click the "edit" link at the top of the page. Then make some changes in the text box that appears. Click "Save Page". The sandbox will update with your changes.
+
Hi #nethackwiki!
  
The sandbox is a ''safe place to experiment with wiki''. By playing in the sandbox, you can make arbitrary changes without messing an existing Wikihack page.
+
Testing simple tabs:
----
 
  
This is a test of the Template:Chartreuse.
 
{{User:Pokemonman/Chartreuse|chartreuse}}
 
  
== [[MediaWiki:Talkpagetext]] could look like this ==
+
<simpletabs>
<table style="width: 100%;"><tr>
+
Tab 1 name|Contents for tab 1
<td style="font-family: monospace;
+
|-|
          font-size: 2em; padding: 1em; width: 3em;
+
Tab 2 name|Contents for tab 2, contents can be multiple lines
          color: white; background-color: black;
+
and wiki markup too, like this large kobold monster template.
          vertical-align: middle;"
+
{{monster
 +
|name=large kobold
 +
|difficulty=2
 +
|level=1
 +
|experience=13
 +
|speed=6
 +
|AC=10
 +
|MR=0
 +
|align=-3
 +
|frequency=1
 +
|genocidable=Yes
 +
|attacks=Weapon 1d6
 +
|weight=450
 +
|nutr=150
 +
|size=Small
 +
|resistances=Poison
 +
|resistances conveyed=None
 +
|attributes={{attributes|A large kobold|
 +
|humanoid=1|pois=1|omnivore=1|hostile=1|collect=1|infravisible=1|infravision=1}}
 +
|reference=[[monst.c#line576]]
 +
}}
 +
|-|
 +
Tab 3 name|Contents for tab 3. The contents will shrink to match the content height.
 +
</simpletabs>
  
== [[MediaWiki:Anoneditwarning]] could look like this ==
 
<div style="padding: 1em; background-color: #ffcccc;">
 
'''Warning:''' You are not logged in. Your IP address will be recorded in this page's edit history. <small><a href="/wiki/Special:Userlogin" target="_blank">Register and log in</a> to prevent this.</small>
 
</div>
 
  
Signature testing [[User:Azzkikr|Azzkikr]] 07:59, 21 February 2007 (UTC)
 
 
== Testing newly created sourcecode template ==
 
<ref>{{sourcecode|dog.c|12}}</ref>
 
 
<references/>
 
<references/>
  
== Inventory ==
 
 
a - a +5 blessed Wiki
 
b - a +1 magic textbox (20:1)
 
c - a summary (unpaid)
 
d - a button of page saving
 
e - a +2 button of preview
 
f - 105 keys (on keyboard)
 
g - an optical mouse corpse
 
h - a spellbook of SCNR
 
 
<!-- maybe this helps ... -->
 
 
== Playing with the editor ==
 
When you open the editor, there is a row of blue buttons at the top, and a box of "commonly used wiki codes" at the bottom. Highlight '''some text''' in the editor, and '''click''' the blue "B" button to make the text become <nowiki>'''bold'''</nowiki>.
 
 
It is written in the Book of Anhur:
 
 
<blockquote>I saw this passage so many times, but fail to recall what it said. I think that it was about Moloch taking the [[Amulet of Yendor]] from Marduk, and Moloch put it in some place called [[Gehennom]]. Perhaps I should read it instead of just spacing past the [[introduction]], every time that I start NetHack.</blockquote>
 
 
* [http://www.nethack.org Click here] and check if the [[next version]] is ready.
 
* <span class="plainlinks">[http://www.nethack.org Click here] and check if the [[next version]] is ready.</span>
 
* <nowiki><span class="plainlinks">[http://www.nethack.org Click here] and check if the [[next version]] is ready.</span></nowiki>
 
  
What does the <nowiki>{{Reflist}}</nowiki> button do?
+
test nowrap
  
{{Reflist}}
+
Clear the lower half, using the 'loop' above '''M''' and the 2x3 turning space in the lower left. (Notice how the end is always 'lllrrrrrrruurdrrrrrr*', with the number of 'r's depending on the number of filled holes.)
 +
&nbsp;----    ----------- '''M''' rdrr r*
 +
--.@--------  |.........| '''N''' rrrr rrru urdr rrr*
 +
|..........|  |.........| '''K''' ddll lllr rrrr rruu rdrr rrr*
 +
|.A-----.-.|  |.........| '''L''' ddll lrrr rrrr uurd rrrr rr*
 +
|..|...|CF.|  |....&lt;....| '''P''' rdrr uurd rrrr rrr*
 +
|.D.E.B...-|  |.........| '''I''' drdd drru urdr rrrr rrr*
 +
|.G..H..|..|  |.........|
 +
|.----I.--.|  |.........|
 +
|..J.....|.--  |.........|
 +
|.---L-K.M..------------+|
 +
|...|.P.-....^^^^^^^^^^^.|
 +
|.N.......----------------
 +
-----..|..|
 +
    -------
 +
H̡̫̤̤̣͉̤ͭ̓̓̇͗̎̀
  
Using the symbols, I can draw a dungeon with funny stuff, like foreign currency and ¶ signs (that some players think are [[fountain]]s).
 
  
      -------------
 
      |¥..{.₩.¶..!|
 
#####..$...€..₨..|
 
      |.¢..%..¾..¡|
 
      -------------
 
  
== Gameinfo has moved ==
+
Test sort table:
It's now at egamia.wikia.com and the gameinfo template doesn't work. Links get redirected to the main page.
+
{| class="wikitable sortable"
 +
|-
 +
! Title
 +
|-
 +
| [[B]]
 +
|-
 +
| [[C]]
 +
|-
 +
| [[A]]
 +
|}
  
<s>[[gameinfo:NetHack]]</s>
 
  
<s>[[egamia:NetHack]]</s>
+
Test math
  
<s>[[w:c:gameinfo:NetHack]]</s>
 
  
[[w:c:egamia:NetHack]]
+
:<math> i \cdot \operatorname{rne}(4) \cdot \frac{666 + \operatorname{rnz}(202)}{1999}</math>

Latest revision as of 05:19, 27 February 2024

Hi #nethackwiki!

Testing simple tabs:


Contents for tab 1
Contents for tab 2, contents can be multiple lines

and wiki markup too, like this large kobold monster template.

Contents for tab 3. The contents will shrink to match the content height.



test nowrap

Clear the lower half, using the 'loop' above M and the 2x3 turning space in the lower left. (Notice how the end is always 'lllrrrrrrruurdrrrrrr*', with the number of 'r's depending on the number of filled holes.)

 ----     ----------- M rdrr r*
--.@--------   |.........| N rrrr rrru urdr rrr*
|..........|   |.........| K ddll lllr rrrr rruu rdrr rrr*
|.A-----.-.|   |.........| L ddll lrrr rrrr uurd rrrr rr*
|..|...|CF.|   |....<....| P rdrr uurd rrrr rrr*
|.D.E.B...-|   |.........| I drdd drru urdr rrrr rrr*
|.G..H..|..|   |.........|
|.----I.--.|   |.........|
|..J.....|.--  |.........|
|.---L-K.M..------------+|
|...|.P.-....^^^^^^^^^^^.|
|.N.......----------------
-----..|..|
    -------

H̡̫̤̤̣͉̤ͭ̓̓̇͗̎̀


Test sort table:

Title
B
C
A


Test math


 i \cdot \operatorname{rne}(4) \cdot \frac{666 + \operatorname{rnz}(202)}{1999}