Difference between revisions of "NetHackWiki:Sandbox"

From NetHackWiki
Jump to navigation Jump to search
(storing alternative role table... (alignment,role:[race] rather than race,role:[alignment]))
(tiny table sort)
 
(65 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{|class="wikitable"
+
Hi #nethackwiki!
!colspan=2 rowspan=`|AC Range
+
 
!colspan=3|Specific AC
+
Testing simple tabs:
!rowspan=3|Example Monsters
+
 
 +
 
 +
<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>
 +
 
 +
 
 +
<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"
 
|-
 
|-
!rowspan=2|AC
+
! Title
!rowspan=2|Hit Chance
 
!rowspan=2|AC
 
!colspan=2|Hit Chance
 
 
|-
 
|-
!Fraction
+
| [[B]]
!Decimal
 
 
|-
 
|-
|11 and above
+
| [[C]]
|1
 
|colspan=3|
 
| -
 
|-
 
|rowspan=2|10 to 3
 
|rowspan=2|0.945 + (AC * 1/200)
 
|6
 
|39/40
 
|0.975
 
|[[minotaur]], [[kraken]]
 
|-
 
|5
 
|97/100
 
|0.97
 
|[[couatl]], [[python]], [[mind flayer]]
 
|-
 
|2 to 1
 
|0.795 + (AC * 11/200)
 
|2
 
|181/200
 
|0.905
 
|[[Lord Surtur]], [[Medusa]], [[rust monster]]
 
|-
 
|rowspan=2|0 to -1
 
|rowspan=2|0.8 + (AC * 10/200)
 
|0
 
|4/5
 
|0.8
 
|Other quest nemeses, [[master mind flayer]], [[shopkeeper]]
 
|-
 
| -1
 
|3/4
 
|0.75
 
|[[Ixoth]], [[giant eel]]
 
|-
 
|rowspan=6|-2 to -14
 
|rowspan=6|0.775 + (AC * 5/200)
 
| -2
 
|29/40
 
|0.725
 
|[[Nalzok]], [[Minion of Huhetotl]]
 
|-
 
| -3
 
|7/10
 
|0.7
 
|[[titan]], [[electric eel]], [[Vlad the Impaler]]
 
|-
 
| -5
 
|13/20
 
|0.65
 
|[[Riders]]
 
|-
 
| -8
 
|23/40
 
|0.575
 
|[[Wizard of Yendor]]
 
|-
 
| -10
 
|21/40
 
|0.525
 
|[[disenchanter]]
 
|-
 
| -12
 
|19/40
 
|0.475
 
|[[Master Kaen]] wearing +0 [[robe]]
 
|-
 
| -15 and below
 
| -6/AC
 
|colspan=3|
 
| -
 
 
|-
 
|-
 +
| [[A]]
 
|}
 
|}
  
{| class="prettytable"
+
 
|-
+
Test math
!
+
 
! [[Lawful]]
+
 
! [[Neutral]]
+
:<math> i \cdot \operatorname{rne}(4) \cdot \frac{666 + \operatorname{rnz}(202)}{1999}</math>
! [[Chaotic]]
 
|-
 
| [[Archeologist]]
 
| Human Dwarf
 
| Human Gnome
 
|
 
|-
 
| [[Barbarian]]
 
|
 
| Human
 
| Human __ Orc
 
|-
 
| [[Caveman]]
 
| Human Dwarf
 
| Human
 
|
 
|-
 
| [[Healer]]
 
|
 
| Human Gnome
 
|
 
|-
 
| [[Knight]]
 
| Human
 
|
 
|
 
|-
 
| [[Monk]]
 
| Human
 
| Human
 
| Human Elf
 
|-
 
| [[Priest]]
 
| Human
 
| Human
 
| Human Elf
 
|-
 
| [[Ranger]]
 
|
 
| Human Gnome
 
| Human Elf Orc
 
|-
 
| [[Rogue]]
 
|
 
|
 
| Human __ Orc
 
|-
 
| [[Samurai]]
 
| Human
 
|
 
|
 
|-
 
| [[Tourist]]
 
|
 
| Human
 
|
 
|-
 
| [[Valkyrie]]
 
| Human Dwarf
 
| Human
 
|
 
|-
 
| [[Wizard]]
 
|
 
| Human Gnome
 
| Human Elf Orc
 
|}
 

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}