Content added Content deleted
Horblegorble (talk | contribs) No edit summary |
Horblegorble (talk | contribs) mNo edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- |
<includeonly><!-- |
||
-->{{IfTrue| {{{navbox|1}}} |
|||
⚫ | |||
| {{Navbox}} |
|||
| |
|||
}} |
|||
⚫ | |||
<tr> |
<tr> |
||
<td class="infobox-image" colspan="3"><!-- |
<td class="infobox-image" colspan="3"><!-- |
||
-->{{IfTrue| {{{linking|0}}} |
|||
⚫ | |||
| [[Image:Veloren_{{#if: {{{image|}}} | {{{image}}} | {{{name}}}.png }}|class=infobox-image|290px|center|link={{#if: {{{link|}}} | {{{link}}} | [[{{{name}}}]] }} ]] |
|||
⚫ | |||
⚫ | |||
</td> |
</td> |
||
</tr> |
</tr> |
||
<tr> |
<tr> |
||
<th colspan="3" class="infobox-title" style="font-size: 150%;"> |
<th colspan="3" class="infobox-title" style="font-size: 150%;"><!-- |
||
-->{{IfTrue| {{{linking|0}}} |
|||
⚫ | |||
| {{#if: {{{link|}}} | {{{link}}} | [[{{{name}}}]] }} |
|||
⚫ | |||
| {{{name}}} |
|||
⚫ | |||
}} |
|||
</th> |
|||
</tr> |
</tr> |
||
{{#if: {{{type|}}} |
{{#if: {{{type|}}} |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle">[[NPCs|Type]]</td> |
<td class="infobox-texttitle" style="padding-right:10px;">[[NPCs|Type]]</td> |
||
<td colspan="2" class="infobox-text">{{{type}}}</td> |
<td colspan="2" class="infobox-text">{{{type}}}</td> |
||
</tr> |
</tr> |
||
Line 21: | Line 30: | ||
{{#if: {{{location|}}} |
{{#if: {{{location|}}} |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle">Location</td> |
<td class="infobox-texttitle" style="padding-right:10px;">Location</td> |
||
<td colspan="2" class="infobox-text">{{{location}}}</td> |
<td colspan="2" class="infobox-text">{{{location}}}</td> |
||
</tr> |
</tr> |
||
Line 28: | Line 37: | ||
{{#if: {{{hp|}}} |
{{#if: {{{hp|}}} |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle">HP</td> |
<td class="infobox-texttitle" style="padding-right:10px;">HP</td> |
||
<td colspan="2" class="infobox-text">{{formatnum: {{{hp}}} }}</td> |
<td colspan="2" class="infobox-text">{{formatnum: {{{hp}}} }}</td> |
||
</tr> |
</tr> |
||
Line 35: | Line 44: | ||
{{#if: {{{hostile|}}} |
{{#if: {{{hostile|}}} |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle">Hostile</td> |
<td class="infobox-texttitle" style="padding-right:10px;">Hostile</td> |
||
<td colspan="2" class="infobox-text"><!-- |
<td colspan="2" class="infobox-text"><!-- |
||
-->{{IfTrue| {{{hostile}}} | Yes | No }} |
-->{{IfTrue| {{{hostile}}} | Yes | No }} |
||
Line 42: | Line 51: | ||
| |
| |
||
}} |
}} |
||
{{#ifexpr: {{IsNotEmpty| {{{hostile}}} }} and {{IsNotEmpty| {{{tamable}}} }} |
{{#ifexpr: {{IsNotEmpty| {{{hostile|}}} }} and {{IsNotEmpty| {{{tamable|}}} }} |
||
| {{# |
| {{#ifeq: {{Bool| {{{hostile}}} }} | 0 |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle">[[Taming|Tamable]]</td> |
<td class="infobox-texttitle" style="padding-right:10px;">[[Taming|Tamable]]</td> |
||
<td colspan="2" class="infobox-text">{{IfTrue| {{{tamable}}} | Yes | No }}</td> |
<td colspan="2" class="infobox-text">{{IfTrue| {{{tamable}}} | Yes | No }}</td> |
||
</tr> |
</tr> |
||
{{# |
{{#ifeq: {{Bool| {{{tamable}}} }} | 1 |
||
| {{#if: {{{mountspeed|}}} |
| {{#if: {{{mountspeed|}}} |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle">[[Taming#Mount|Mountable]]</td> |
<td class="infobox-texttitle" style="padding-right:10px;">[[Taming#Mount|Mountable]]</td> |
||
<td class="infobox-text">Yes</td> |
<td class="infobox-text">Yes</td> |
||
<td> |
<td> |
||
<table> |
<table> |
||
<td class="infobox-texttitle">Speed</td> |
<td class="infobox-texttitle" style="padding-right:10px;">Speed</td> |
||
<td class="infobox-text">{{{mountspeed}}}</td> |
<td class="infobox-text">{{{mountspeed}}}</td> |
||
</table> |
</table> |
||
Line 61: | Line 70: | ||
</tr> |
</tr> |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle">[[Taming#Mount|Mountable]]</td> |
<td class="infobox-texttitle" style="padding-right:10px;">[[Taming#Mount|Mountable]]</td> |
||
<td colspan="2" class="infobox-text">No</td> |
<td colspan="2" class="infobox-text">No</td> |
||
</tr> |
</tr> |
||
Line 71: | Line 80: | ||
| |
| |
||
}} |
}} |
||
{{#ifexpr: {{IsNotEmpty| {{{path|}}} }} or {{IsNotEmpty| {{{voxel|}}} }} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
-->Technical Information |
|||
-->Technical Info |
|||
</ |
</th> |
||
⚫ | |||
| |
|||
}} |
|||
{{#if: {{{path|}}} |
{{#if: {{{path|}}} |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle">Config</td> |
<td class="infobox-texttitle" style="padding-right:10px;">Config</td> |
||
<td colspan="2" class="infobox-text" style="word-wrap: break-word; word-break: break-all;"><!-- |
<td colspan="2" class="infobox-text" style="word-wrap: break-word; word-break: break-all;"><!-- |
||
-->[{{#invoke:Gitlab|config|{{{path}}}}} {{{path}}}] |
-->[{{#invoke:Gitlab|config|{{{path}}}}} {{{path}}}] |
||
</td> |
</td> |
||
</tr> |
|||
| |
| |
||
}} |
}} |
||
{{#if: {{{voxel|}}} |
|||
| <tr colspan="3"> |
|||
<td class="infobox-texttitle" style="padding-right:10px;">Voxel</td> |
|||
<td colspan="2" class="infobox-text" style="word-wrap:break-word; word-break:break-all;">[https://gitlab.com/veloren/veloren/-/tree/master/assets/voxygen/voxel/npc/troll_cave/male assets/voxygen/voxel/npc/troll_cave/male] |
|||
⚫ | |||
⚫ | |||
-->[{{#invoke:Gitlab|voxel|{{{voxel}}}}} voxygen/voxel/{{{voxel}}}] |
|||
⚫ | |||
</td> |
|||
⚫ | |||
| |
|||
}} |
|||
⚫ | |||
--></includeonly><!-- |
--></includeonly><!-- |
||
--><noinclude> |
--><noinclude> |
||
{{User:Horblegorble/Sandbox/Template/Infobox npc |
|||
|name=Cave Troll |
|||
|linking=0 |
|||
|link=[[Mountain Troll]] |
|||
|type=Wildlife |
|||
|location=World, Cave, Dungeon, Other, Another, Yet Another, Oh boy one more |
|||
|hp=1000 |
|||
|hostile=0 |
|||
|tamable=1 |
|||
|mountspeed=10 |
|||
|path=common.entity.wild.aggressive.cave_troll |
|||
}} |
|||
Example |
|||
{{User:Horblegorble/Sandbox/Template/Infobox npc|type=Wildlife|name=Cave Troll|location=World, Cave, Dungeon, Other|hp=1000|path=common.entity.wild.aggressive.troll_cave|hostile=1|tamable=1|mountspeed=10}} |
|||
</noinclude> |
</noinclude> |
Latest revision as of 08:15, 6 January 2024
Cave Troll | ||||
---|---|---|---|---|
Type | Wildlife | |||
Location | World, Cave, Dungeon, Other, Another, Yet Another, Oh boy one more | |||
HP | 1,000 | |||
Hostile | No | |||
Tamable | Yes | |||
Mountable | Yes |
|
||
Technical Info | ||||
Config | common.entity.wild.aggressive.cave_troll |
Example