Template:Survivor: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{Image Template Base|1={{{1}}} |2{{UndefParam|{{{2|}}}}}={{{2}}} |text{{UndefParam|{{{text|}}}}}={{{text}}} |link{{UndefParam|{{{link|}}}}}={{{link}}} |nobr{{UndefParam|{{{nobr|}}}}}={{{nobr}}} |notext{{UndefParam|{{{notext|}}}}}={{{notext|}}} |minOuterWidth{{UndefParam|{{{minOuterWidth|}}}}}={{{minOuterWidth}}} |maxOuterWidth{{UndefParam|{{{maxOuterWidth|}}}}}={{{maxOuterWidth}}} |outerWidth{{UndefParam|{{{outerWidth|}}}}}={{{outerWidth}}} |type=Survivor |..." |
(No difference)
|
Latest revision as of 14:07, 10 June 2025
Note: parts of or the entire template might not be visible without values provided.
| 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 |