Difference between revisions of "Template:NPCTable/row"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--- Define variables, goal is to only load each property from the Data page once. --- | --- Define variables, goal is to only load each property from the Data page once. --- | ||
-->{{#vardefine:Occupation|{{#ifeq: {{:Friendly data|{{{1}}}|Occupation}}|NPC {{{1}}} does not exist in | -->{{#vardefine:Occupation|{{#ifeq: {{:Friendly data|{{{1}}}|Occupation}}|NPC {{{1}}} does not exist in Friendly data.||{{:Friendly data|{{{1}}}|Occupation}}}}}}<!-- | ||
-->{{#vardefine:Name|{{:Friendly data|{{{1}}}|Name}}}}<!-- | -->{{#vardefine:Name|{{:Friendly data|{{{1}}}|Name}}}}<!-- | ||
-->{{#vardefine:Image|{{:Friendly data|{{{1}}}|Image}}}} | -->{{#vardefine:Image|{{:Friendly data|{{{1}}}|Image}}}} | ||
Line 14: | Line 14: | ||
| {{#if:{{#var:Occupation}}|{{#if:{{:Friendly data|{{{1}}}|Lore}}|'''✓'''}}}} | | {{#if:{{#var:Occupation}}|{{#if:{{:Friendly data|{{{1}}}|Lore}}|'''✓'''}}}} | ||
| {{#if:{{#var:Occupation}}|{{#if:{{:Friendly data|{{{1}}}|UniqueDialogue}}|'''✓'''}}}} | | {{#if:{{#var:Occupation}}|{{#if:{{:Friendly data|{{{1}}}|UniqueDialogue}}|'''✓'''}}}} | ||
</includeonly><noinclude>{{doc|Template:NPCTable/row}}[[Category:Templates]]</noinclude> | </includeonly><noinclude>{{doc|Template:NPCTable/row}}[[Category:Templates]]</noinclude> |
Revision as of 15:58, 18 October 2022
This template has no documentation. If you know how to use this template, please add some.