Difference between revisions of "NetHackWiki:Sandbox"

From NetHackWiki
Jump to navigation Jump to search
(tiny table sort)
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#invoke:Example|hello|anonymous NetHacker}}
+
Hi #nethackwiki!
  
{{#invoke:Example|hello}}
+
Testing simple tabs:
  
Testing reference stuff hi a b<ref>Reference</ref> c
+
 
Hi #nethackwiki!
+
<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>
  
  
Line 13: Line 41:
  
 
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.)
 
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*
+
  &nbsp;----     ----------- '''M''' rdrr r*
 
  --.@--------  |.........| '''N''' rrrr rrru urdr rrr*
 
  --.@--------  |.........| '''N''' rrrr rrru urdr rrr*
 
  |..........|  |.........| '''K''' ddll lllr rrrr rruu rdrr rrr*
 
  |..........|  |.........| '''K''' ddll lllr rrrr rruu rdrr rrr*
Line 27: Line 55:
 
  -----..|..|
 
  -----..|..|
 
     -------
 
     -------
 +
H̡̫̤̤̣͉̤ͭ̓̓̇͗̎̀
 +
 +
 +
 +
Test sort table:
 +
{| class="wikitable sortable"
 +
|-
 +
! Title
 +
|-
 +
| [[B]]
 +
|-
 +
| [[C]]
 +
|-
 +
| [[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}