Template:Infobox Agent: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Actually remembered to update my code snippets to match their new purpose) |
||
Line 32: | Line 32: | ||
<data source="age"><label>Age</label></data> | <data source="age"><label>Age</label></data> | ||
<data source="country_of_origin"><label>Country of Origin</label></data> | <data source="country_of_origin"><label>Country of Origin</label></data> | ||
<data source="languages"><label>Languages</label><format>{{#if:{{#arrayprint: | <data source="languages"><label>Languages</label><format>{{#if:{{#arrayprint:languages}}|{{#ifexpr: {{#arraysize:languages}} > 1 |<ul>{{#arrayprint:languages||@@@@|<li>@@@@</li>}}</ul>|{{#arrayprint:languages||@@@@|@@@@}}}}|}}</format></data> | ||
<data source="role"><label>Agent Role</label><format>{{#var:role}}</format></data> | <data source="role"><label>Agent Role</label><format>{{#var:role}}</format></data> | ||
</group> | </group> | ||
</infobox></includeonly> | </infobox></includeonly> |
Revision as of 21:18, 30 August 2023
This template is a work in progress.