Template:Book Page: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (changed it to be based on qud look)
(gave book page a second unnamed argument that allows the name to change.)
Line 1: Line 1:
<includeonly>{{Qud look| text={{{1}}}|bottomtext=none|bordercolor=y}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
<includeonly>{{Qud look| text={{{1}}}|title=&amp;W{{{2|{{BASEPAGENAME}}}}}|bottomtext=none|bordercolor=y}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>

Revision as of 02:23, 21 July 2019

Usage

{{Book Page |Page text goes here.}}

results in

Book Page

Page text goes here.


This template attempts to format the verbatim text from an individual page of one of the books in the game's Books.xml file in a reasonable manner, including color codes.