Difference between revisions of "Template:Book"

From CrawlWiki
Jump to: navigation, search
(Simple spell book info box, includes category.)
 
(book_rarity and spell_rarity were removed in 0.27 (commit https://github.com/crawl/crawl/commit/a6dc6547e3))
 
(3 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
{{#!:|-
 
{{#!:|-
 
! align="left" | Primary school
 
! align="left" | Primary school
| {{{school}}}
+
| {{schoollink|{{{school}}}}}
 
}}}}
 
}}}}
 
|-
 
|-
! align="left" | Rarity
+
|}</div><includeonly>{{if|{{{school|}}}|[[Category:{{{school}}} Books|{{#invoke:String|sort_key}}]]|[[Category:Book|{{#invoke:String|sort_key}}]]}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
|{{{rarity}}}/20
 
|-
 
|}</div>{{#set:spell level={{{level}}} }}<includeonly>[[Category:Book]]</includeonly><noinclude>[[Category:Templates]]</noinclude>
 

Latest revision as of 13:35, 4 November 2021

Spellbook.png {{{name}}}