Template:ShroomTocItem

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search

This is the template for individual items in tables of contents for The 'Shroom. Should be used within {{ShroomToc}}.

Parameter Description
title* The title of the section.
link The section link. Optional: when not set, links to a header with the same name as the title on the current page.
author The wiki username of the author of this section, which will be formatted with {{user}}. This is ignored if writtenby is set; set only one of these.
writtenby The raw author coding, to use if different or multiple links are required. This overrides author; set only one of these.
description A blurb describing the listed section.
class Optional parameter to give a CSS class to this item. Primarily for setting team styles on pages other than that team, or for use on the main page (main-toc)

* Required

Examples:

{{ShroomTocItem
|title=Section
|author=porplemontage
}}
{{ShroomTocItem
|title=Main page
|link=The 'Shroom:Main Page
|writtenby=[[mb:members/1/|Steve]]
|description=Description
|class=fn
}}
Description