Шаблон:Status
Материал из проекта «Повелитель Тайн Вики»
Дополнительные действия
Документация шаблона (для шаблона выше, иногда скрытого или невидимого)
Примечание: части шаблона или весь шаблон могут быть не видны без заданных значений.
Примечание: части шаблона или весь шаблон могут быть не видны без заданных значений.
| Шаблон | Документация | Использование |
Показать спойлеры:выкл вкл
Usage
To use the "Status" template, you can include it in your wiki markup with the following syntax:
{{Status|<status_type>|<reason (optional)>|<toggle (optional)>}}
- `status_type` (Required): This parameter specifies the status type, which can be one of the following:
- `dead` or `deceased`: For deceased individuals.
- `pretender`: For those who are pretenders.
- `former`: For former individuals.
- `unknown`: For those whose status is unknown.
- `note`: For additional notes.
- `hp`: For historical projections.
- `envisioned`: For envisioned individuals.
- `perished`: For destruction or decay subjects.
- `reason` (Optional): You can provide a custom reason to be displayed as a tooltip. If not specified, a default reason will be used based on the status type.
- `toggle` (Optional): This parameter is used to the display the "deceased"/"dead"/"perished" status which are hidden by default. It can have one of the following values:
- `on`: To hide the status (default behavior).
- `off`: To display the status by ignore the
{{SpoilerToggle}}template.
Example
* Toto{{Status|deceased}}
* Toto{{Status|dead}}
* Toto{{Status|pretender}}
* Toto{{Status|former}}
* Toto{{Status|former|Resigned}}
* Toto{{Status|unknown}}
* Toto{{Status|note|Undercover}}
* Toto{{Status|hp}}
* Toto{{Status|envisioned}}
* Toto{{status|perished}}
yields:
- Toto†
- Toto†
- Toto≠
- Toto‡
- Toto‡
- Toto?
- Toto*
- Toto⋏
- Toto↡
- Toto†
If you want to toggle the spoiler display on for "deceased", "dead", or, "perished" status types, you can use the toggle parameter as shown below:
* Toto{{Status|deceased|toggle=off}}
* Toto{{Status|dead|toggle=off}}
* Toto{{status|perished|toggle=off}}
yields:
- Toto†
- Toto†
- Toto†
Чтобы изменить этот текст, перейдите на Template:Status/doc (как это работает?)