الگو:چگونههای ایرانپدیا/توضیحات
این زیرصفحهٔ مستندات الگو:چگونههای ایرانپدیا است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
- Note: For articles use the {{howto}} template instead.
This is the {{Iranpedia how to}} message box.
It can be placed on top of non-article pages where relevant. This usually means pages in the "Iranpedia:" and "Help:" namespaces, but sometimes how-to guides also exist as user subpages.
Usage
This template can be used as is. Like this:
{{Iranpedia how to}}
But it can also take up to five shortcuts as parameters. It then displays a small shortcut box inside it. Like this:
{{Iranpedia how to|IP:SHORT}}
Then it looks like this:
This page is a how-to guide detailing a practice or process on the Iranpedia. |
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:
{{Iranpedia how to}} {{shortcut|IP:SHORT|IP:SHORT2}}
Technical details
If a page that use this template is in the Iranpedia or Help namespace, then this template adds Category:Iranpedia how-to.
If you want to just demonstrate this template on a Iranpedia 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:
{{Iranpedia how to|sort-by=Example}}
where "Example" is replaced by the sort text. For example, if the how-to page is Iranpedia:Producing maps with xplanet and you want it category sorted to appear under "X", then the template could be formulated as:
{{Iranpedia how to|sort-by=Xplanet, Producing maps with}}
See also
- {{howto}} – The how-to message box for articles.
- Iranpedia:Template messages/Project namespace – For other "Iranpedia:" space header templates.
- Category:Iranpedia header templates