साँचा:Wikipedia how to/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
- Note: For articles use the साँचा:tl template instead.
This is the साँचा:tl message box.
It can be placed on top of non-article pages where relevant. This usually means pages in the "Wikipedia:" and "Help:" namespaces, but sometimes how-to guides also exist as user subpages.
Usage
This template can be used as is. Like this:
But it can also take up to five shortcuts as parameters. It then displays a small shortcut box inside it. Like this:
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 साँचा:tlc box directly below this template. Like this:
{{Wikipedia how to}} {{shortcut|WP:SHORT|WP:SHORT2}}
Technical details
If a page that use this template is in the Wikipedia or Help namespace, then this template adds Category:Wikipedia how-to.
If you want to just demonstrate this template on a Wikipedia 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:
{{Wikipedia 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
- साँचा:tl – The how-to message box for articles.
- Wikipedia:Template messages/Project namespace – For other "Wikipedia:" space header templates.
- Category:Wikipedia header templates