Difference between revisions of "Template:UO SetCollection Header"

Line 1: Line 1:
<center>
+
{{#arraydefine: collection_pages | {{{collection_page0|}}}, {{{collection_page1|}}}, {{{collection_page2|}}}, {{{collection_page3|}}}, {{{collection_page4|}}}, {{{collection_page5|}}}, {{{collection_page6|}}}, {{{collection_page7|}}}, {{{collection_page8|}}}, {{{collection_page9|}}} }}
<div style="display: inline-flex;padding: 7px;border: 1px outset grey;text-align: center;line-height: 1.2em;max-width:{{{width|41}}}%;left:2%;position:relative;min-height: 1.2em;padding-right: 1.5em;{{{style|}}}">
+
item is included in these collections
[[File:UO-Item-3702-0.png]] ''Other items in the same set are listed at
+
{{#loop: i | 0 | {{#arraysize: collection_pages}} | {{#vardefine: collection_page | {{#arrayindex: collection_pages | {{#var:i}} }} }}
[[UO:{{{collection_page}}} (collection)|{{{collection_page}}}]].''
+
{{#ifeq: {{Boolean|{{{ {{#var:collection_page}}|}}} }} | 1 |* [[UO:{{{collection_page}}} (collection)|{{{collection_page}}}]]<br/>|}}
</div>
+
}}
</center>
 
{{#if:{{{nobr|}}}||<br/><br/><br/><br/><br/><br/>}}
 

Revision as of 02:17, 3 October 2018

item is included in these collections