Template:Wiki how to/doc

From Bogleheads

This is the {{Wiki how to}} message box.

It can be placed on top of non-article pages where relevant. This usually means pages in the "finiki:" and "Help:" namespaces, but sometimes how-to guides also exist as user subpages.

Usage

This template can be used as is. Like this:

{{Wiki how to}}

But it can also take up to five shortcuts as parameters. The necessary templates need for shortcuts are not yet implement on the Bogleheads wiki, yet! It then displays a small shortcut box inside it. Like this:

{{Wikipedia how to|WP:SHORT}}

Then it looks like this:

If you want to feed more than one or two shortcuts then the shortcut box becomes too high, which doesn't look good. Then we recommend instead placing a {{shortcut}} box directly below this template. Like this:

{{Wiki how to}}
{{shortcut|WP:SHORT|WP:SHORT2}} 

Technical details

If a page that use this template is in the finiki or Help namespace, then this template adds Category:Wiki how-to.

If you want to just demonstrate this template on a finiki or Help page, then you can feed "nocat = true" to stop this template from categorizing.

There is an optional parameter sort-by which sets the category sort key:

{{Wiki how to|sort-by=Example}} 

where "Example" is replaced by the sort text. For example, if the how-to page is Wikipedia:Producing maps with xplanet and you want it category sorted to appear under "X", then the template could be formulated as:

{{Wikipedia how to|sort-by=Xplanet, Producing maps with}}

See also