Template:Writing

From Ultima Codex
Jump to navigation Jump to search
  • {{{body}}}

Use this in articles in Category:In-Game_Books which list multiple types of writing or any other similar articles. A single use of this template should be applied to each writing.

Since each instance of this template, may be used dozens or even 100s of times in one article, this could cause the table to contents to be spammed. For this reason, many articles may require {{TOClimit|limit=2}} to prevent all the level 3 headers (the default level for this template) to be omitted.

Parameters[edit]

title
(optional) the text which appears as the markup title. In also appears an anchor in lieu of anchor. If omitted, it will be assumed to be very short and without a title. There will therefore be no markup header nor and anchor automatically to this text.
headerNote
(optional) This would be some kind of note that the reader should see between the header and the body, such as a use of {{main}} or {{Otheruses}}. Not a lot of reason this couldn't have been just part of the body, but it seemed to make sense to have a separate parameter. In fact, the editor may need to take care about how line breaks will turn out.
anchor
(optional) provides an {{anchor}}. Only title (if there is one) will appear in the table of contents, (if such inclusions are not suppressed) but both anchor and title will form an anchor to this text.
body
the body of the writing.
level
(optional) the markup level used by title. Defaults to 3.
author
(optional) current does nothing, but included for future use

Examples[edit]

 {{writing
 |title=Spellbook
 |body=This book will enable you to cast spells, from the small to the spectacular.}}

Spellbook

This book will enable you to cast spells, from the small to the spectacular.

 {{writing
 |title=''How to keep people from stealing from your shop''
 |anchor=Keep people stealing
 |body=Glue!  You'll be amazed at how little you'll lose to thieves if you just glue your merchandise to the table.}}

How to keep people from stealing from your shop

Glue! You'll be amazed at how little you'll lose to thieves if you just glue your merchandise to the table.

 {{writing|body=From the Desk of Lord British}}
 {{writing
 |title=Book of Prophecy
 |author=Naxatilor
 |headerNote={{Otheruses|a book in {{Ultima IX}}|other uses|The Book of Prophecies (disambiguation)|section}}{{main|The Book of Prophecies}}
 |body=by [[Naxatilor]] the Seer
 <br>
 <br>An ancient prophecy tells of the final days...}}

Book of Prophecy


This section is about a book in Ultima IX. For other uses, see The Book of Prophecies (disambiguation).


Main article: The Book of Prophecies

by Naxatilor the Seer

An ancient prophecy tells of the final days...