Template:Book Page: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(updated with new arguments to match in game book UI)
(to module)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Qud dialogue| text={{{1}}}|bottomtext=none|bordercolor=Y}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
<includeonly>{{#invoke: qud look|qudlook| text={{{1}}}|title=[ &amp;W{{{2|{{#titleparts:{{BASEPAGENAME}}}}}}} &amp;y]|padding=1|bottomtext=none|bordercolor=y}}</includeonly><noinclude>{{doc}}[[Category:Qud Templates]]</noinclude>

Latest revision as of 23:07, 8 August 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.