Шаблон:Formatting subpage
This template is used on formatting subpages to provide a very basic, standardized documentation of their purpose. It also automatically categorizes the page accordingly.
This aims at addressing the common misunderstanding of especially newer editors considering a page with no visible output unnecessary and unused.
Usage
{{ formatting subpage | onlybox = y | <partial customization of doc text> | nocat = y }}
All parameters are optional.
- onlybox
Only display the box. This is often used if a subpage requires documentation that exceeds the standard, predefined text.
- First unnamed parameter
Partially modify the standard, predefined documentation text, e.g. if only a small customization needs to be made. Only has an effect if
is not set.
$onlybox
There are different predefined texts, depending on the subpage's title:
Subpage title | Text |
---|---|
|
Ця сторінка використовується для того, щоб мати невидимий шаблон {{item infobox}} для кожного рядка (для збереження даних предмета в cargo таблиці) таблиці «Рецепти» на основній сторінці Шаблон:Formatting subpage. |
|
Ця сторінка використовується для того, щоб відобразити рядки таблиці на основній сторінці Шаблон:Formatting subpage. |
default | Ця сторінка використовується для того, щоб відформатувати певні дані у стандартизований спосіб на основній сторінці Шаблон:Formatting subpage. |
default (customized) |
Ця сторінка використовується для того, щоб <custom text from first unnamed parameter> на основній сторінці Шаблон:Formatting subpage. |
- nocat
Prevent categorization of the subpage.
Examples
- Only box
{{formatting subpage|onlybox=y}}
results in:
- Full
{{formatting subpage}}
results in:
Ця сторінка використовується для того, щоб відформатувати певні дані у стандартизований спосіб на основній сторінці Шаблон:Formatting subpage.
- Full (custom text)
{{formatting subpage|to print a list of items}}
results in:
Ця сторінка використовується для того, щоб to print a list of items на основній сторінці Шаблон:Formatting subpage.
- Локалізовані шаблони
- Шаблони ярликів