Content added Content deleted
Horblegorble (talk | contribs) No edit summary |
Horblegorble (talk | contribs) mNo edit summary |
||
(7 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" style="padding-right: |
<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 style="padding-right: |
<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" style="padding-right: |
<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" style="padding-right: |
<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" style="padding-right: |
<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" style="padding-right: |
<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" style="padding-right: |
<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" style="padding-right: |
<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|}}} }} |
|||
⚫ | |||
⚫ | |||
<th colspan="3" class="infobox-title" style="font-size: 100%;"><!-- |
|||
⚫ | |||
-->Technical Information |
|||
-->Technical Info |
|||
</ |
</th> |
||
⚫ | |||
| |
|||
}} |
|||
{{#if: {{{path|}}} |
{{#if: {{{path|}}} |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle" style="padding-right: |
<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}}}] |
||
Line 87: | Line 99: | ||
{{#if: {{{voxel|}}} |
{{#if: {{{voxel|}}} |
||
| <tr colspan="3"> |
| <tr colspan="3"> |
||
<td class="infobox-texttitle" style="padding-right: |
<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;"><!-- |
<td colspan="2" class="infobox-text" style="word-wrap: break-word; word-break: break-all;"><!-- |
||
-->[{{#invoke:Gitlab|voxel|{{{voxel}}}}} voxygen/voxel/{{{voxel}}}] |
-->[{{#invoke:Gitlab|voxel|{{{voxel}}}}} voxygen/voxel/{{{voxel}}}] |
||
Line 98: | Line 110: | ||
--><noinclude> |
--><noinclude> |
||
{{User:Horblegorble/Sandbox/Template/Infobox npc |
{{User:Horblegorble/Sandbox/Template/Infobox npc |
||
|float=0 |
|||
|name=Cave Troll |
|name=Cave Troll |
||
|linking=0 |
|||
|link=[[Mountain Troll]] |
|||
|type=Wildlife |
|type=Wildlife |
||
|location=World, Cave, Dungeon, Other, Another, Yet Another, Oh boy one more |
|location=World, Cave, Dungeon, Other, Another, Yet Another, Oh boy one more |
||
Line 108: | Line 120: | ||
|tamable=1 |
|tamable=1 |
||
|mountspeed=10 |
|mountspeed=10 |
||
|path=common.entity.wild.aggressive. |
|path=common.entity.wild.aggressive.cave_troll |
||
|voxel=npc/troll_cave |
|||
}} |
}} |
||
Example |
|||
</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