Difference between revisions of "Template:Ring"

From NetHackWiki
Jump to navigation Jump to search
(Probability (constant))
(Including probabilites (constant).)
Line 1: Line 1:
 
<div class="thumb tright">
 
<div class="thumb tright">
 
{| class="prettytable" style="margin: 0;"
 
{| class="prettytable" style="margin: 0;"
!colspan="2"| {{yellow|<nowiki>=</nowiki>}}
+
!colspan="4"| {{yellow|<nowiki>=</nowiki>}}
 
|-
 
|-
 
!Name
 
!Name
|{{{name}}}
+
| colspan="3" | {{{name}}}
 
|-
 
|-
 
!Appearance
 
!Appearance
|[[Randomised appearance|random]]
+
| colspan="3" | [[Randomised appearance|random]]
 
|-
 
|-
 
!Base price
 
!Base price
|{{{cost}}} [[Zorkmid|zm]]
+
| colspan="3" | {{{cost}}} [[Zorkmid|zm]]
 
|-
 
|-
 
!Weight
 
!Weight
|3
+
| colspan="3" | 3
 
|-
 
|-
!Probability
+
!Probability out of rings
|3.57%
+
| colspan="3" | 3.57%
 +
|-
 +
! colspan="4" | Probability out of items in:
 +
|-
 +
![[containers]]
 +
![[Rogue]] level
 +
![[Gehennom]]
 +
!Elsewhere
 +
|-
 +
|0.179%
 +
|0.179%
 +
|0.286%
 +
|0.107%
 
|}
 
|}
 
</div><noinclude>
 
</div><noinclude>
Line 24: Line 36:
 
   |cost=''COST''
 
   |cost=''COST''
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
 
See this [[template talk:ring|talk page]] for further usage notes.
 
  
 
[[Category:Infobox templates|R]]
 
[[Category:Infobox templates|R]]
 
</noinclude>
 
</noinclude>

Revision as of 15:48, 29 July 2015

=
Name {{{name}}}
Appearance random
Base price {{{cost}}} zm
Weight 3
Probability out of rings 3.57%
Probability out of items in:
containers Rogue level Gehennom Elsewhere
0.179% 0.179% 0.286% 0.107%

Put this template at the top of every ring page. Call it like this:

{{ring
 |name=NAME
 |cost=COST
}}