Template:Book Page: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(sorry forgot padding)
(added square brackets to title)
Line 1: Line 1:
<includeonly>{{Qud look| text={{{1}}}|title=&amp;W{{{2|{{BASEPAGENAME}}}}}|padding=1|bottomtext=none|bordercolor=y}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
<includeonly>{{Qud look| text={{{1}}}|title=[ &amp;W{{{2|{{BASEPAGENAME}}}}} &amp;y]|padding=1|bottomtext=none|bordercolor=y}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>

Revision as of 17:54, 23 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.