Template:Book Page: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(sorry forgot padding)
(to module)
 
(One intermediate revision by the same user not shown)
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>{{#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.