Difference between revisions of "Template:NPCTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
Line 6: Line 6:
-->{{#vardefine:QuestRequirement|{{:Friendly data|{{{1}}}|QuestRequirement}}}}
-->{{#vardefine:QuestRequirement|{{:Friendly data|{{{1}}}|QuestRequirement}}}}
|-
|-
{{#if:{{#var:QuestRequirement}}|{{!}} rowspan="2" }}| {{:Friendly data|{{{1}}}|Occupation}}
| {{:Friendly data|{{{1}}}|Occupation}}
| {{#if:{{#var:Exists}}|[[File:{{#if:{{#var:Image}}|{{#var:Image}}|{{{1}}}.png}}|37px|link={{#if:{{#var:Name}}|{{#if:{{#pos:{{lc:{{#var:Name}}}}|random}}||{{Translate|{{#var:Name}}|NPCNames}}}}|{{Translate|{{{1}}}|NPCNames}}}}]]<br>{{#if:{{#var:Name}}|{{#if:{{#pos:{{lc:{{#var:Name}}}}|random}}|{{Translate|{{#var:Name}}|NPCNames}}|[[{{Translate|{{#var:Name}}|NPCNames}}]]}}|[[{{Translate|{{{1}}}|NPCNames}}]]}}}}
| {{#if:{{#var:Exists}}|[[File:{{#if:{{#var:Image}}|{{#var:Image}}|{{{1}}}.png}}|37px|link={{#if:{{#var:Name}}|{{#if:{{#pos:{{lc:{{#var:Name}}}}|random}}||{{Translate|{{#var:Name}}|NPCNames}}}}|{{Translate|{{{1}}}|NPCNames}}}}]]<br>{{#if:{{#var:Name}}|{{#if:{{#pos:{{lc:{{#var:Name}}}}|random}}|{{Translate|{{#var:Name}}|NPCNames}}|[[{{Translate|{{#var:Name}}|NPCNames}}]]}}|[[{{Translate|{{{1}}}|NPCNames}}]]}}}}
| {{#if:{{#var:Exists}}|{{#if:{{:Friendly data|{{{1}}}|Contract}}|'''✓'''}}}}
| {{#if:{{#var:Exists}}|{{#if:{{:Friendly data|{{{1}}}|Contract}}|'''✓'''}}}}
Line 14: Line 14:
| {{#if:{{#var:Exists}}|{{#if:{{:Friendly data|{{{1}}}|Rumors}}|'''✓'''}}}}
| {{#if:{{#var:Exists}}|{{#if:{{:Friendly data|{{{1}}}|Rumors}}|'''✓'''}}}}
| {{#if:{{#var:Exists}}|{{#if:{{:Friendly data|{{{1}}}|Lore}}|'''✓'''}}}}
| {{#if:{{#var:Exists}}|{{#if:{{:Friendly data|{{{1}}}|Lore}}|'''✓'''}}}}
| {{#if:{{#var:Exists}}|{{#if:{{:Friendly data|{{{1}}}|UniqueDialogue}}|'''✓'''}}}}{{#if:{{#var:QuestRequirement}}|<br><br>{{!}}-
| {{#if:{{#var:Exists}}|{{#if:{{:Friendly data|{{{1}}}|UniqueDialogue}}|'''✓'''}}}}<!--
{{!}} colspan="8" {{!}} {{#var:QuestRequirement}}}}<!--
--></includeonly><noinclude>{{doc|Template:NPCTable/row}}[[Category:Templates]]</noinclude>
--></includeonly><noinclude>{{doc|Template:NPCTable/row}}[[Category:Templates]]</noinclude>

Revision as of 19:48, 18 October 2022

This template has no documentation. If you know how to use this template, please add some.