Template:Survivor Infobox: Difference between revisions
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
<panel> | <panel> | ||
<section> | <section> | ||
<data source="realname"> | <data source="realname"> | ||
<label>Real Name</label> | <label>Real Name</label> | ||
| Line 18: | Line 17: | ||
<data source="brief_name"> | <data source="brief_name"> | ||
<label>Brief Name</label> | <label>Brief Name</label> | ||
</data> | |||
<data source="age"> | |||
<label>Age</label> | |||
</data> | </data> | ||
<data source="gender"> | <data source="gender"> | ||
<label>Gender</label> | <label>Gender</label> | ||
</data> | |||
<data source="color_hair"> | |||
<label>Hair Color</label> | |||
</data> | |||
<data source="color_eyes"> | |||
<label>Eye Color</label> | |||
</data> | </data> | ||
<data source="game"> | <data source="game"> | ||
<label>Game</label> | <label>Game(s)</label> | ||
<format>{{#if:{{{baseGame|}}}|{{Game|{{{game}}}|30|text={{{baseGame}}}|link={{{baseGame}}}|nobr=1}}|{{Game|{{{game}}}|30|nobr=1}}}}</format> | <format>{{#if:{{{baseGame|}}}|{{Game|{{{game}}}|30|text={{{baseGame}}}|link={{{baseGame}}}|nobr=1}}|{{Game|{{{game}}}|30|nobr=1}}}}<!-- | ||
-->{{#if:{{{game2|}}}|<br/>{{#ifexist:{{{game2}}}|{{#if:{{{baseGame2|}}}|{{Game|{{{game2}}}|30|text={{{baseGame2}}}|link={{{baseGame2}}}|nobr=1}}|{{Game|{{{game2}}}|30|nobr=1}}}}|{{{baseGame2}}}}}}}<!-- | |||
-->{{#if:{{{game3|}}}|<br/>{{#ifexist:{{{game3}}}|{{#if:{{{baseGame3|}}}|{{Game|{{{game3}}}|30|text={{{baseGame3}}}|link={{{baseGame3}}}|nobr=1}}|{{Game|{{{game3}}}|30|nobr=1}}}}|{{{baseGame3}}}}}}}<!-- | |||
-->{{#if:{{{game4|}}}|<br/>{{#ifexist:{{{game4}}}|{{#if:{{{baseGame4|}}}|{{Game|{{{game4}}}|30|text={{{baseGame4}}}|link={{{baseGame4}}}|nobr=1}}|{{Game|{{{game4}}}|30|nobr=1}}}}|{{{baseGame4}}}}}}}<!-- | |||
-->{{#if:{{{game5|}}}|<br/>{{#ifexist:{{{game5}}}|{{#if:{{{baseGame5|}}}|{{Game|{{{game5}}}|30|text={{{baseGame5}}}|link={{{baseGame5}}}|nobr=1}}|{{Game|{{{game5}}}|30|nobr=1}}}}|{{{baseGame5}}}}}}}<!-- | |||
-->{{#if:{{{game6|}}}|<br/>{{#ifexist:{{{game6}}}|{{#if:{{{baseGame6|}}}|{{Game|{{{game6}}}|30|text={{{baseGame6}}}|link={{{baseGame6}}}|nobr=1}}|{{Game|{{{game6}}}|30|nobr=1}}}}|{{{baseGame6}}}}}}}</format> | |||
</data> | </data> | ||
<data source="affiliation"> | <data source="affiliation"> | ||
| Line 38: | Line 51: | ||
</data> | </data> | ||
<data source="releaseDate"> | <data source="releaseDate"> | ||
<label>[[ | <label>[[Survivor|Release Date]]</label> | ||
<format>{{#time:F d, Y|{{{releaseDate}}}}}<br />{{Time Ago|{{{releaseDate}}}|include = y,mth,d}} | <format>{{#time:F d, Y|{{{releaseDate}}}}}<br />{{Time Ago|{{{releaseDate}}}|include = y,mth,d}}</format> | ||
</data> | </data> | ||
<data source="voice"> | <data source="voice"> | ||
| Line 87: | Line 100: | ||
-->{{#if:{{{type9|}}}|[[Category:{{{type9}}}]]}}<!-- | -->{{#if:{{{type9|}}}|[[Category:{{{type9}}}]]}}<!-- | ||
Gender | Gender | ||
-->{{#if:{{{gender|}}}|[[Category:{{{gender}}} | -->{{#if:{{{gender|}}}|[[Category:{{{gender}}} Survivor]]}}<!-- | ||
Game and Affiliation | Game and Affiliation | ||
-->{{#if:{{{game|}}}|[[Category:{{{game}}}]]}}<!-- | -->{{#if:{{{game|}}}|[[Category:{{{game}}}]]}}<!-- | ||
-->{{#if:{{{baseGame|}}}|[[Category:{{{baseGame}}}]]}}<!-- | -->{{#if:{{{baseGame|}}}|[[Category:{{{baseGame}}}]]}}<!-- | ||
-->{{#if:{{{game2|}}}|[[Category:{{{game2}}}]]}}<!-- | |||
-->{{#if:{{{baseGame2|}}}|[[Category:{{{baseGame2}}}]]}}<!-- | |||
-->{{#if:{{{game3|}}}|[[Category:{{{game3}}}]]}}<!-- | |||
-->{{#if:{{{baseGame3|}}}|[[Category:{{{baseGame3}}}]]}}<!-- | |||
-->{{#if:{{{game4|}}}|[[Category:{{{game4}}}]]}}<!-- | |||
-->{{#if:{{{baseGame4|}}}|[[Category:{{{baseGame4}}}]]}}<!-- | |||
-->{{#if:{{{game5|}}}|[[Category:{{{game5}}}]]}}<!-- | |||
-->{{#if:{{{baseGame5|}}}|[[Category:{{{baseGame5}}}]]}}<!-- | |||
-->{{#if:{{{game6|}}}|[[Category:{{{game6}}}]]}}<!-- | |||
-->{{#if:{{{baseGame6|}}}|[[Category:{{{baseGame6}}}]]}}<!-- | |||
-->{{#if:{{{affiliation|}}}|[[Category:{{{affiliation}}}]]}}<!-- | -->{{#if:{{{affiliation|}}}|[[Category:{{{affiliation}}}]]}}<!-- | ||
-->{{#if:{{{affiliation2|}}}|[[Category:{{{affiliation2}}}]]}}<!-- | -->{{#if:{{{affiliation2|}}}|[[Category:{{{affiliation2}}}]]}}<!-- | ||
Latest revision as of 16:54, 18 August 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Examples
{{Survivor Infobox
|image = <gallery>
Survivor1.png|Portrait
Survivor1 In-Game.png|In-Game
</gallery>
|type = Playable
|name = Eugene Grant
|title = Detective
|realname = Eugene Grant
|brief_name = Eugene
|age = 27
|gender = Male
|color_hair = Brown
|color_eyes = Brown
|game = Zombie Panic! Source
|game2 = Zombie Panic!
|affiliation = B.P.P.D
|releaseDate = 2007-11-28
|voice = Eric Grant
}}
Template Data
Infobox used to display information about an survivor.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image (Gallery) | image | no description
| Content | suggested |
| Type | type | The Type of Survivor (Playable or Upcoming)
| String | required |
| Title | title | Their official title/occupation. | String | optional |
| Name | name | Name of the survivor.
| String | optional |
| Real Name | realname | Real Name of the agent, if different from in-game display name.
| String | optional |
| Gender | gender | no description
| String | optional |
| Affiliation | affiliation | Other groups the agent may be affiliated with. | Page name | optional |
| Game | game | The game this survivor is available in.
| Page name | optional |
| baseGame | baseGame | no description | Unknown | optional |
| Affiliation Note | affiliationNote | Added a note in parenthesis
| String | optional |
| Affiliation 2 | affiliation2 | Any groups the agent is affiliated with, adds the link and add the category if the page exists | Page name | optional |
| Affiliation Note 2 | affiliationNote2 | Any groups the agent is affiliated with, adds the link and add the category if the page exists | Page name | optional |
| Affiliation 3 | affiliation3 | Any groups the agent is affiliated with, adds the link and add the category if the page exists | Page name | optional |
| Affiliation Note 3 | affiliationNote3 | Any groups the agent is affiliated with, adds the link and add the category if the page exists | Page name | optional |
| Affiliation 4 | affiliation4 | Any groups the agent is affiliated with, adds the link and add the category if the page exists | Page name | optional |
| Affiliation Note 4 | affiliationNote4 | Added a note in parenthesis | String | optional |
| Release Date | releaseDate | Date the agent was released in yyyy-mm-dd format
| Date | optional |
| Voice Actor | voice | Must have official announcement or confirmation, with references.
| String | optional |