Шаблон:Pathway/commondoc
Дополнительные действия
This template create a small, linked icon with a link text, corresponding to the Pathways. There are specific sub-templates for each.
{{Pathway/one}}for only one pathway.{{Pathway}}for multiple with certain distributive settings.{{Pathway/group}}for expanding an AtS group into multiple.
Parameters
Template Parameters | ||||
|---|---|---|---|---|
| Parameters | Type | Description | Status | |
| Id | Label | |||
| Name | 1 | string | This can be the Above the Sequence name, which will point to the ATS with the ATS icon. Using Pathway name or the Sequence name displays the pathway card. | required |
| Add Pathway | pathway | boolean | If true, it adds a ' Pathway' at the end of the linked text. 1 or 'y' also works. | optional |
| Custom Label | label | string | If this has contents, it replaces the linked text with this one. This naturally overwrites the 'Pathway' operation. | optional |
| Note | note | string | Adds a text outside the link. This cannot be overwritten by the 'Custom Label'. | optional |
| Icon Size | iconsize | string | The size of the icon. The default is '26px'. | Default: 26px |
| Mode | mode | string | The display mode. It supports multiple modes. It can be any or multiple of noicon;centre;nolink;nohref, separate them with semicolons. See doc for examples. | optional |
{{Pathway/one}} except that this one supports multiple names, and each parameters of that template is a sub-parameter.Template Parameters | ||||
|---|---|---|---|---|
| Parameters | Type | Description | Status | |
| Id | Label | |||
| Pathway/one | 1..10 | string | The {{Pathway/one}} arguments as a sub-paramter. Where ;; are used as a delimeter instead of | and :: are used as a named parameter instead of =. | required |
| Add Pathway | pathway | boolean | If true, it adds a ' Pathway' at the end of the linked text. 1 or 'y' also works. Note that this property can be overwritten for each {{Pathway/one}} sub-parameters. | optional |
| Icon Size | iconsize | string | The size of the icon. The default is '26px'. Note that this property can be overwritten for each {{Pathway/one}} sub-parameters. | Default: n/a |
| Mode | mode | string | The display mode. It supports multiple modes. It can be any or multiple of noicon;centre;nolink;nohref, separate them with semicolons. See doc for examples. Note that this property can be overwritten for each {{Pathway/one}} sub-arameters. | optional |
| Separator | separator | string | The separator. If left nil and The separator for | optional |
Usage
Template:Pathway/one: {{Pathway/one|<Name>|<add pathway>|<label>|<note>|<iconsize>|<mode>}}
Template:Pathway: {{Pathway|<Pathway/one items 1-10>|<add pathway>|<iconsize>|<mode>|<separator>}}
Examples
{{Pathway/one|Fool}} yields:
Шут
{{Pathway/one|Seer}} yields:
Провидец
{{Pathway/one|Corpse Collector|pathway=true}} yields:
Путь Собирателя трупов
{{Pathway/one|White Tower|iconsize=69px}} yields:
Белая Башня
{{Pathway|Primordial Demoness|Red Priest}} yields:
{{Pathway|Paragon|Hermit|Everlasting|separator= || }} yields:
Эталон ||
Отшельник ||
Вечный
Sub-parameters in Pathway
As said in the Parameters:
;;are used as a delimeter instead of|.::are used as a named parameter instead of=.
For the number parameters, all parameters in {{Pathway/one}} are all supported as a sub-parameter.
Additionally, while parameters of {{Pathway}} such as iconsize, mode, and separator are distributive, the sub-parameters take bigger priority when they do have value.
Take notice of the Lord of Mysteries one, as it has a custom size of 60px.
In this case, pathway is true by default, and the first two explicitly made them false.
Custom Label
You can place your own custom label or main text for each.
{{Pathway/one|Lord of Mysteries|label=Cowardly Trio Pathways}} yields:
Cowardly Trio Pathways
{{Pathway|God Almighty;;label::Quintessential Irrelevance Pathways|mode=inline}} yields:
Quintessential Irrelevance Pathways
Note
The note parameter is a feature to add additional non-link text:
{{Pathway/one|Painter|note=(Notorious in CoI)}} yields:
Художник (Notorious in CoI)
Mode
Parameter values for {{Pathway|<mode>}} or {{Pathway/one|<mode>}} and the corresponding sub-parameter.
mode=inline is meant only for {{Pathway}}.
{{Pathway|mode=inline|Visionary|Hanged Man|Sun|Tyrant|White Tower}} yields:
Мечтатель •
Повешенный •
Солнце •
Тиран •
Белая Башня
mode=nolink removes the link or main text.
{{Pathway|mode=nolink;inline|Visionary|Hanged Man|Sun|Tyrant|White Tower}} yields:
•
•
•
•
{{Pathway/one|mode=nolink|Door}} yields:
mode=center places the result in the centre. Center also works, but centre is the more superior spelling.
{{Pathway/one|mode=center|Twilight Giant}} yields:
Сумеречный Гигант
mode=nohref removes the hyperlink of the main text.
{{Pathway/one|mode=nohref|Darkness|label=Evernight}} yields:
Evernight
mode=noicon removes the icon.
{{Pathway/one|mode=noicon|Eternal Sleeper}} yields: Смерть
You can also try to combine different modes, you only need to separate them with a ;.
- ↑ Example