Difference between revisions of "Template:NPCTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
(add extra image slots for generic NPCs with multiple images (guards, peasants))
m
 
Line 13: Line 13:
| {{#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}}}}]]<!--
| {{#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}}}}]]<!--
--- Extra images for NPC entries like generic guards or peasants. Many face images with no link. ---
--- Extra images for NPC entries like generic guards or peasants. Many face images with no link. ---
-->{{#if:{{#var:Image2}}|[[File:{{#var:Image2}}.png}}|37px|link=]]}}<!--
-->{{#if:{{#var:Image2}}|[[File:{{#var:Image2}}|37px|link=]]}}<!--
-->{{#if:{{#var:Image3}}|[[File:{{#var:Image3}}.png}}|37px|link=]]}}<!--
-->{{#if:{{#var:Image3}}|[[File:{{#var:Image3}}|37px|link=]]}}<!--
-->{{#if:{{#var:Image4}}|[[File:{{#var:Image4}}.png}}|37px|link=]]}}<!--
-->{{#if:{{#var:Image4}}|[[File:{{#var:Image4}}|37px|link=]]}}<!--
-->{{#if:{{#var:Image5}}|[[File:{{#var:Image5}}.png}}|37px|link=]]}}<!--
-->{{#if:{{#var:Image5}}|[[File:{{#var:Image5}}|37px|link=]]}}<!--
-->{{#if:{{#var:Image6}}|[[File:{{#var:Image6}}.png}}|37px|link=]]}}<!--
-->{{#if:{{#var:Image6}}|[[File:{{#var:Image6}}|37px|link=]]}}<!--
--><br>{{#if:{{#var:Name}}|{{#if:{{#pos:{{lc:{{#var:Name}}}}|random}}|{{Translate|{{#var:Name}}|NPCNames}}|[[{{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}}|'''✓'''}}}}

Latest revision as of 20:22, 18 October 2022

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