Template:Survivor/doc
Jump to navigation
Jump to search
This is the documentation page for Survivor. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
This template creates the icon and link for an Survivor.
Parameters
This template has 2 unnamed parameters:
- (mandatory) Name of the survivor.
- (optional) Size of the icon. Defaults to 50 on desktop, 30 on mobile.
This template has the following named parameters:
- text (optional) Changes text to something other than agent name.
- link (optional) Changes link to something other than agent.
- nobr (optional) Set to 1 for no new line.
- notext (optional) Set to 1 for no text.
- minOuterWidth (optional) Set minimum width of the container element.
- maxOuterWidth (optional) Set maximum width of the container element.
- outerWidth (optional) Set the width of the container element.
Example
{{Survivor|Eugene Grant}}
{{Survivor|Eugene Grant|30}}
{{Survivor|Eugene Grant|20px}}
{{Survivor|Eugene Grant|notext=1|nobr=1}}
{{Survivor|Eugene Grant|30|minOuterWidth=100}}
{{Survivor|Eugene Grant|30|nobr=1}}
Template Data
Display a link to a agent with icon.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Survivor Name | 1 | Name of the survivor.
| String | required |
| Icon Size | 2 | Size of the survivor icon.
| Number | optional |
| Custom Text | text | no description
| String | optional |
| Custom Link | link | Changes link to something other than survivor. | Page name | optional |
| nobr | nobr | Set to "1" for no new line. | Boolean | optional |
| notext | notext | Set to "1" for no text. | Boolean | optional |