Difference between revisions of "NetHackWiki:Sandbox"

From NetHackWiki
Jump to navigation Jump to search
(tiny table sort)
 
(60 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{top icon
+
Hi #nethackwiki!
| imagename  = LinkFA-star.png
 
| wikilink    = NetHackWiki:Featured articles
 
| description = This is a featured article. Click here for more information.
 
| id          = featured-star
 
}}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Featured articles]]}}
 
<noinclude>This template places a small star in the top right corner of an article to indicate that it is a [[NetHackWiki:Featured articles|featured article on NetHackWiki]]. It also adds the article to [[:Category:Featured articles]].
 
  
This template should be placed at the bottom of the article before defaultsort, categories and interwikis.
+
Testing simple tabs:
  
The code behind this template was taken from http://en.wikipedia.org/wiki/Template:Featured_article. It has been modified slightly to work with NetHackWiki.
 
  
[[NetHackWiki:Featured_articles]] explains how to feature an article.
+
<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>
  
[[Category:Top icon templates|{{PAGENAME}}]]
+
 
[[Category:Featured article templates|{{PAGENAME}}]]</noinclude>
+
<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"
 +
|-
 +
! 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}