Difference between revisions of "Template:UO SetCollection Header"

Line 2: Line 2:
 
<div class="toc" style="{{{style|}}}">
 
<div class="toc" style="{{{style|}}}">
 
{{#arraydefine: collection_pages | {{{collection_page|}}}, {{{collection_page1|}}}, {{{collection_page2|}}}, {{{collection_page3|}}}, {{{collection_page4|}}}, {{{collection_page5|}}}, {{{collection_page6|}}}, {{{collection_page7|}}}, {{{collection_page8|}}}, {{{collection_page9|}}} }}
 
{{#arraydefine: collection_pages | {{{collection_page|}}}, {{{collection_page1|}}}, {{{collection_page2|}}}, {{{collection_page3|}}}, {{{collection_page4|}}}, {{{collection_page5|}}}, {{{collection_page6|}}}, {{{collection_page7|}}}, {{{collection_page8|}}}, {{{collection_page9|}}} }}
<h2>Related Collections</h2>
+
==Related Collections==
 
{{#loop: i | 0 | {{#arraysize: collection_pages}} | {{#vardefine: collection_page_name | {{#arrayindex: collection_pages | {{#var:i}} }} }}
 
{{#loop: i | 0 | {{#arraysize: collection_pages}} | {{#vardefine: collection_page_name | {{#arrayindex: collection_pages | {{#var:i}} }} }}
 
{{#if: {{#var:collection_page_name}}|* [[UO:{{#var:collection_page_name}} (collection)|{{#var:collection_page_name}}]]<br/>|}}
 
{{#if: {{#var:collection_page_name}}|* [[UO:{{#var:collection_page_name}} (collection)|{{#var:collection_page_name}}]]<br/>|}}
 
}}
 
}}
 
</div>
 
</div>

Revision as of 03:00, 3 October 2018

Related Collections