Template:Infobox NPC: Difference between revisions
portalsofphereon>Kozd mNo edit summary |
Apologetic (talk | contribs) (Trying to add a section for date bonuses) |
||
(29 intermediate revisions by 3 users not shown) | |||
Line 1:
<includeonly><
<infobox theme="npc">
<title source="Name"><default>{{PAGENAME}}</default></title>
<image source="Image">
Line 5 ⟶ 6:
</image>
<group show="incomplete">
<data source="Species"><default>N/A</default><label>Species</label><format>{{#
<data source="Sex"><default>N/A</default><label>Sex</label>
<format>{{#switch:{{{Sex}}}
Line 11 ⟶ 12:
|Female = [[File:FemaleIcon.png|32x32px]] Female
|Futa = [[File:FutaIcon.png|32x32px]] Futa}}</format></data>
<data source="Personality"><default>N/A</default><label>Personality</label><format><div class="negative-list-margin">{{#
<data source="Traits"><default>N/A</default><label>Traits</label><format><div class="negative-list-margin">{{#arraydefine:temp|{{{Traits|}}}|*}}{{#arrayslice:traits|temp|1|10}}{{#arraymap:{{#arrayprint:traits|*}}|*|@@@@|*[[@@@@]]|\n\n|\n\n}}</div></format></data>
<data source="Learned"><default>N/A</default><label>Learned</label><format><div class="negative-list-margin">{{#arraydefine:temp|{{{Learned|}}}|*}}{{#arrayslice:learned|temp|1|4}}{{#arraymap:{{#arrayprint:learned|*}}|*|@@@@|*[[@@@@]]|\n\n|\n\n}}</format></data>
<data source="
<data source="
<data source="
<data source="SpecialTraits"><default>N/A</default><label>Special Traits</label><format>▼
</group>
<group>
<header>Main Character Bonuses</header>
<data source="MainCharBonus"><format><div class="negative-list-margin">{{InfoboxParser|prefix=*|newline=true|{{{MainCharBonus}}}}}</div></format></data>
</group>
<group>
<header>Date Bonuses</header>
<data source="DateBonus"><format><div class="negative-list-margin">{{InfoboxParser|prefix=*|newline=true|{{{DateBonus}}}}}</div></format></data>
</group>
<group show="incomplete" collapse="open">
<header>Character Stats</header>
<data source="Level"> <default>N/A</default><label>Level</label></data>
<data source="
▲
<data source="
<data source="MoveType"><default>N/A</default><label>Movement Type</label></data>
<data source="Size"> <default>N/A</default><label>Size</label></data>
<data source="Beauty"> <default>N/A</default><label>Beauty</label>
<format>{{#ifexpr: {{{Beauty}}} > 149|Angelic
|{{#ifexpr: {{{Beauty}}} > 129|Stunning
Line 38 ⟶ 47:
<group layout="horizontal" row-items="4" show="incomplete" collapse="open">
<header>Character Stats</header>
<data source="InitialHealth">
<data source="InitialMana"> <label>[[File:ManaIcon.png|Mana|center|32px]]</label> <
<data source="InitialStrength"> <label>[[File:StrengthIcon.png|Strength|center|32px]]</label> <
<data source="InitialMagic"> <label>[[File:MagicIcon.png|Magic Strength|center|32px]]</label> <
<data source="InitialSpeed"> <label>[[File:SpeedIcon.png|Speed|center|32px]]</label> <
<data source="InitialMovType">
<data source="InitialLDmg"> <label>[[File:LustIcon.png|Lust Damage|center|32px]]</label> <
<data source="InitialLRes"> <label>[[File:LResIcon.png|Lust Resistance|center|32px]]</label> <
<data source="InitialMaxLust"> <label>[[File:HeartIcon.png|Max Lust|center|32px]]</label> <
<data source="InitialArmor"> <label>[[File:ArmorIcon.png|Armor|center|32px]]</label> <
<data source="InitialFertility"><label>[[File:FertIcon.png|Fertility|center|32px]]</label> <
<data source="InitialVirility"> <label>[[File:VirIcon.png|Virility|center|32px]]</label> <
<data><default><b>Growth Stats</b></default></data>
<data source="GrowHealth" layout="default"><label>Health</label>
<format>{{progress bar|{{{GrowHealth}}}|total=3|header=no|text2=*{{{GrowHealth}}}|width=100%|height=20|margin=0|color1=#00AD00|color3=#FFDD50|shadow=20px 0px 10px 2px inset rgba(0, 0, 0, 0.12)|shadow2=1px 1px black|size2=17px|texture=yes|opacity=0.2}}</format></data>
<data source="GrowMana" layout="default"><label>Mana</label>
<format>{{progress bar|{{{GrowMana}}}|total=3|header=no|text2=*{{{GrowMana}}}|width=100%|height=20|margin=0|color1=#00ffcc|color3=#FFDD50|shadow=20px 0px 10px 2px inset rgba(0, 0, 0, 0.12)|shadow2=1px 1px black|size2=17px|texture=yes|opacity=0.2}}</format></data>
<data source="GrowStrength" layout="default"><label>Strength</label>
<format>{{progress bar|{{{GrowStrength}}}|total=3|header=no|text2=*{{{GrowStrength}}}|width=100%|height=20|margin=0|color1=#CC6D00|color3=#FFDD50|shadow=20px 0px 10px 2px inset rgba(0, 0, 0, 0.12)|shadow2=1px 1px black|size2=17px|texture=yes|opacity=0.2}}</format></data>
<data source="GrowMagic" layout="default"><label>Magic</label>
<format>{{progress bar|{{{GrowMagic}}}|total=3|header=no|text2=*{{{GrowMagic}}}|width=100%|height=20|margin=0|color1=#2C478C|color3=#FFDD50|shadow=20px 0px 10px 2px inset rgba(0, 0, 0, 0.12)|shadow2=1px 1px black|size2=17px|texture=yes|opacity=0.2}}</format></data>
<data source="GrowLDmg" layout="default"><label>LDmg</label>
<format>{{progress bar|{{{GrowLDmg}}}|total=3|header=no|text2=*{{{GrowLDmg}}}|width=100%|height=20|margin=0|color1=#B800B8|color3=#FFDD50|shadow=20px 0px 10px 2px inset rgba(0, 0, 0, 0.12)|shadow2=1px 1px black|size2=17px|texture=yes|opacity=0.2}}</format></data>
<data source="GrowSpeed" layout="default"><label>Speed</label>
<format>{{progress bar|{{{GrowSpeed}}}|total=3|header=no|text2=*{{{GrowSpeed}}}|width=100%|height=20|margin=0|color1=#E7E700|color3=#FFDD50|shadow=20px 0px 10px 2px inset rgba(0, 0, 0, 0.12)|shadow2=1px 1px black|size2=17px|texture=yes|opacity=0.2}}</format></data>
</group>
<group show="incomplete" row-items="4" collapse="closed">
<header>Body Stats</header>
<data source="Tits"><default>N/A</default><label>Tit size</label> <
<data source="Milk"><default>N/A</default><label>Milk
<data source="Cock"><default>N/A</default><label>Cock size</label> <
<data source="
<group>
<data source="Drop"><default>{{{Drop|N/A}}}</default><label>Drops</label><format><div class="negative-list-margin">{{InfoboxParser|prefix=*|newline=true|{{{Drop}}}}}</div></format></data>
<data source="
</group>
</group>
<group layout="horizontal" show="incomplete" row-items="2" collapse="open">
<header>Character Genetics</header>
<data source="MaxLV"> <
<format><div class="text-left">{{{MaxLV}}}</div></format></data>
▲ <data source="Lust"><label>Lust</label><format>{{{Lust|N/A}}}</format></data>
<data source="
<format><div class="text-left">{{{Lust}}}</div></format></data>
▲ <data source="Mana"><label>Mana</label><format>{{{Mana|N/A}}}</format></data>
<data source="
<format><div class="text-left">{{{Hp}}}</div></format></data>
<data source="Magic"><label>Magic</label><format>{{{Magic|N/A}}}</format></data>▼
<data source="
<format><div class="text-left">{{{Mana}}}</div></format></data>
<data source="Virility"><label>Virility</label><format>{{{Virility|N/A}}}</format></data>▼
<data source="Strength"><label><div class="text-left">Strength</div></label><default><div class="text-left">{{{Strength|N/A}}}</div></default>
<format><div class="text-left">{{{Strength}}}</div></format></data>
▲ <data source="Magic"> <label><div class="text-left">Magic</div></label> <default><
<format><div class="text-left">{{{Magic}}}</div></format></data>
<data source="Fertility"><label><div class="text-left">Fertility</div></label><default><div class="text-left">{{{Fertility|N/A}}}</div></default>
<format><div class="text-left">{{{Fertility}}}</div></format></data>
▲ <data source="Virility"><label><div class="text-left">Virility</div></label><
<format><div class="text-left">{{{Virility}}}</div></format></data>
</group>
</infobox>
|
Latest revision as of 00:20, 20 November 2023
- Description
- Creates a NPC Infobox with almost all npc parameters.
- Usage
- Use this as a template
{{Infobox_NPC | Name = | Image = | CharacterDescription = | Species = <!-- Species/Species --> | Sex = | Personality = <!-- * Personality here * continue the same way --> | Traits = <!-- * Trait here * continue the same way --> | Learned = <!-- * Learned Skill/Profession here * continue the same way --> | Skills = <!-- * Skill here * continue the same way --> | PassiveSkills = <!-- Skill attack/seduce/defend/move / continue the same way --> | SpecialTraits = <!-- * Special Traits here * continue the same way --> | MainCharBonus = <!-- Special bonuses when used as main character separated by / --> | DateBonus = <!-- Special bonuses when taken on a date separated by / --> | Level = | Type = | AtType = | LvType = | MoveType = | Size = | Beauty = <!-- Number Only --> | InitialHealth = | InitialMana = | InitialStrength = | InitialMagic = | InitialSpeed = | InitialMovType = | InitialLDmg = | InitialLRes = | InitialMaxLust = | InitialArmor = | InitialFertility = | InitialVirility = | GrowHealth = | GrowMana = | GrowStrength = | GrowMagic = | GrowLDmg = | GrowSpeed = | Tits = | Milk = | Cock = | Energy = | Prod = <!-- production items separated by / --> | Drop = <!-- combat drop items separated by / --> | SpecialBody = <!-- Extra Bodyparts like Tail --> | MaxLV = | Lust = | Hp = | Mana = | Strength = | Magic = | Fertility = | Virility = }}
Empty Template:
{{Infobox_NPC | Name = | Image = | CharacterDescription = | Species = | Sex = | Personality = | Traits = | Learned = | Skills = | PassiveSkills = | SpecialTraits = | MainCharBonus = | DateBonus = | Level = | Type = | AtType = | LvType = | MoveType = | Size = | Beauty = | InitialHealth = | InitialMana = | InitialStrength = | InitialMagic = | InitialSpeed = | InitialMovType = | InitialLDmg = | InitialLRes = | InitialMaxLust = | InitialArmor = | InitialFertility = | InitialVirility = | GrowHealth = | GrowMana = | GrowStrength = | GrowMagic = | GrowLDmg = | GrowSpeed = | Tits = | Milk = | Cock = | Energy = | Prod = | Drop = | SpecialBody = | MaxLV = | Lust = | Hp = | Mana = | Strength = | Magic = | Fertility = | Virility = }}
- Info
- Sex is Male, Female and Futa
- Infobox style is in Template:Infobox_NPC/ThemeNPC.css
- Example
An infobox for all npc's
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | Name | Infobox Title, defaults to title | String | optional |
Image | Image | Image | File | optional |
CharacterDescription | CharacterDescription | Description | String | optional |
Species | Species | Species separated by /, species names should be the same as they are in the gallery
| String | optional |
Sex | Sex | Sex
| String | optional |
Personality | Personality | Personality list separated by * and new line
| String | optional |
Traits | Traits | Traits list separated by * and new line
| String | optional |
Learned | Learned | Learned skills separated by * and new line
| String | optional |
Skills | Skills | Skills list separated by * and new line
| String | optional |
PassiveSkills | PassiveSkills | Passives separated by / , end passives with one: attack|defend|seduce|seduced|fuck|move|turn|death|turnstart|turnend|combatstart
| String | optional |
SpecialTraits | SpecialTraits | Special trait list separated by * and new line
| String | optional |
MainCharBonus | MainCharBonus | Main Character bonuses separated by /
| String | optional |
DateBonus | DateBonus | Special date bonuses separated by /
| String | optional |
Level | Level | Character level
| Number | optional |
LvType | LvType | Level type
| String | optional |
Type | Type | Elemental type (defense) | String | optional |
AtType | AtType | Elemental attack type and attack type in ()
| String | optional |
MoveType | MoveType | Biome movement type
| String | optional |
Size | Size | Size
| String | optional |
Beauty | Beauty | Beauty | Number | optional |
InitialHealth | InitialHealth | Starting Health | Number | optional |
InitialMana | InitialMana | Starting Mana | Number | optional |
InitialStrength | InitialStrength | Starting Strength | Number | optional |
InitialMagic | InitialMagic | Starting Magic | Number | optional |
InitialMovType | InitialMovType | Battle movement type
| String | optional |
InitialSpeed | InitialSpeed | Starting Movement Speed | Number | optional |
InitialLDmg | InitialLDmg | Starting Lust Damage | Number | optional |
InitialLRes | InitialLRes | Starting Lust Resistance | Number | optional |
InitialMaxLust | InitialMaxLust | Starting Maximum Lust | Number | optional |
InitialArmor | InitialArmor | Starting Armor | Number | optional |
InitialFertility | InitialFertility | Starting Fertility | Number | optional |
InitialVirility | InitialVirility | Starting Verility | Number | optional |
GrowHealth | GrowHealth | NPC growth health multiplier (up to 3)
| Number | optional |
GrowMana | GrowMana | NPC growth mana multiplier (up to 3)
| Number | optional |
GrowStrength | GrowStrength | NPC growth strength multiplier (up to 3)
| Number | optional |
GrowMagic | GrowMagic | NPC growth magic multiplier (up to 3)
| Number | optional |
GrowLDmg | GrowLDmg | NPC growth lust damage multiplier (up to 3)
| Number | optional |
GrowSpeed | GrowSpeed | NPC growth speed multiplier (up to 3)
| Number | optional |
Tits | Tits | Tits size | Number | optional |
Milk | Milk | Milk (not milk production) | Number | optional |
Cock | Cock | Cock size | Number | optional |
Energy | Energy | Energy | Number | optional |
Prod | Prod | Production items separated by /
| String | optional |
Drop | Drop | Dropped items separated by /
| String | optional |
SpecialBody | SpecialBody | Special body caracteristics
| String | optional |
MaxLV | MaxLV | Max Level Gene | Number | optional |
Lust | Lust | Lust Gene | Number | optional |
Hp | Hp | HP Gene | Number | optional |
Mana | Mana | Mana Gene | Number | optional |
Strength | Strength | Strength Gene | Number | optional |
Magic | Magic | Magic Gene | Number | optional |
Fertility | Fertility | Fertility Gene | Number | optional |
Virility | Virility | Virility Gene | Number | optional |