Difference between revisions of "NetHackWiki:Sandbox"

From NetHackWiki
Jump to navigation Jump to search
m (Revert the test redirect so others can begin editing the sandbox again.)
(tiny table sort)
 
(193 intermediate revisions by 47 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:
----
 
  
Sacrificing [[Unicorn]]s is tricky. Offering a unicorn on an altar of its own alignment will cause bad things happen to you. If the altar was not aligned with you but the unicorn was, you will be converted to the alignment of that altar. Offering a unicorn of different alignment on the altar of your god is considered a good action. Other combinations convert the altar. The white unicorn is considered lawful, grey neutral, and black chaotic.
 
  
 +
<simpletabs>
 +
Tab 1 name|Contents for tab 1
 +
|-|
 +
Tab 2 name|Contents for tab 2, contents can be multiple lines
 +
and wiki markup too, like this large kobold monster template.
 +
{{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>
  
{| border="1" cellpadding="5" cellspacing="0" align="center"
+
 
|+ You are Lawful
+
<references/>
 +
 
 +
 
 +
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.)
 +
&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̡̫̤̤̣͉̤ͭ̓̓̇͗̎̀
 +
 
 +
 
 +
 
 +
Test sort table:
 +
{| class="wikitable sortable"
 
|-
 
|-
! &nbsp; !! Lawful Altar !! Neutral Altar !! Chaotic Altar
+
! Title
 
|-
 
|-
! White Unicorn
+
| [[B]]
| bad || your align changes: neutral || your align changes: chaotic
 
 
|-
 
|-
! Grey Unicorn
+
| [[C]]
| good || bad || altar align changes: lawful
 
|-
 
! Black Unicorn
 
| good || altar align changes: lawful || bad
 
 
|-
 
|-
 +
| [[A]]
 
|}
 
|}
 +
 +
 +
Test math
 +
 +
 +
:<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}