Using FogBugz On Demand? We've recently rolled out a new sidebar as part of taking FogBugz forward. Please see this article for details on what's new, what's changed, and where you can find all your favorite things.

The Manuscript Wiki Template allows you to add custom HTML, CSS, and Javascript to a Wiki.  Each wiki uses our standard template by default, but you can create a separate template for every Wiki to redesign the appearance of the page (including the sidebar), create custom css for HTML elements like tables, or

To create a new wiki template, navigate to Wiki > Dot Menu > Manage Wikis > Customize templates > New Template.  You’ll see separate fields for HTML and CSS, and you can embed JavaScript in <script> tags in the HTML section.  Once you’ve got a wiki template, you can apply it to any wiki (and all of the wiki articles in it).

 

Template Placeholders

In fact, there are a whole slew of new template placeholders that come with FogBugz 8 and its new default template.  Click the “learn more” link when modifying your wiki template to see the exhaustive list of available placeholders.

 

 

Variable Content
$articlecommands$ An unordered list of the various actions that can be performed on a wiki page: Info, Edit, View, History, RSS, Subscribe, Star.
$body$ Content of current article
$breadcrumbs$ Path in the wiki tree to the current page.
$headline$ Headline of current article
$home_headline$ Headline of wiki’s home article
$home_url$ URL of wiki’s home article
$incoming_links$ List of incoming links from other wiki articles and cases
$lastmodified$ Date and time of current article’s last change
$lastmodified_by$ Name of user who last changed current article
$lastmodifiedlink$ A link to the diff of the latest modification.
$newlink$ A link for creating a new wiki page.
$outgoing_links$ List of outgoing links to other wiki articles and cases
$recenturl$ URL of a search that lists all articles in this wiki edited in the past week
$revision_number$ Latest revision number of current article
$rss_link$ Link allowing users to grab an RSS feed of current article’s changes
$rss_url$ URL of RSS feed of current article’s changes
$search$ Search box that lets users search the current wiki
$subscribe_link$ Link allowing users to subscribe to or unsubscribe from changes to current article, including description
$subscribe_link_terse$ Link allowing users to subscribe to or unsubscribe from changes to current article
$tags$ List of tags that have been applied to current article
$tags_vertical$ Vertical list of tags that have been applied to current article
$toc$ Auto-generated table of contents for the current article
$treeview$ Displays a tree of the wiki pages closely related to the currently displayed page.
$url$ URL of current article
$wiki_name$ Name of current article’s wiki
$wiki_tagline$ Tagline of current article’s wiki
$wikiattributelinks$ An unordered list of links to all of the wiki views that contatin attributes of pages (ex: tags/attachments).
$wikipagecollectionlinks$ An unordered list of links to all of the wiki views that contatin collections of pages.
$wikirootlink$ A link to the root page of a wiki.