Template:Survivor

From Zombie Panic! Official Wiki
Revision as of 14:07, 10 June 2025 by Wuffesan (talk | contribs) (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 |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

This template creates the icon and link for an Survivor.

Parameters

This template has 2 unnamed parameters:

  1. (mandatory) Name of the survivor.
  2. (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}}

Eugene Grant Eugene Grant

{{Survivor|Eugene Grant|30}}

Eugene Grant Eugene Grant

{{Survivor|Eugene Grant|20px}}

Eugene Grant Eugene Grant

{{Survivor|Eugene Grant|notext=1|nobr=1}}

Eugene Grant

{{Survivor|Eugene Grant|30|minOuterWidth=100}}

Eugene Grant Eugene Grant

{{Survivor|Eugene Grant|30|nobr=1}}

Eugene Grant Eugene Grant

Template Data

Display a link to a agent with icon.

Template parameters

ParameterDescriptionTypeStatus
Survivor Name1

Name of the survivor.

Example
Anby
Stringrequired
Icon Size2

Size of the survivor icon.

Default
50 on desktop, 30 on mobile
Numberoptional
Custom Texttext

no description

Default
Changes text to something other than survivor name.
Stringoptional
Custom Linklink

Changes link to something other than survivor.

Page nameoptional
nobrnobr

Set to "1" for no new line.

Booleanoptional
notextnotext

Set to "1" for no text.

Booleanoptional