Template:ArmyList: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
mNo edit summary
m (Undo revision 16593 by Disgruntled-tom (talk))
Tag: Undo
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Models ===
<noinclude>
==== Warcasters (Leaders)====
This template uses the dynamic page list. Plans are to upgrade to a later version for more options. Call this template on any army page to build a list using tags as a deliminator.
</noinclude>
<includeonly>
=== Army Models ===
==== Leaders====
{{#tag:DynamicPageList|
{{#tag:DynamicPageList|
category = {{{1}}}
category = {{{1}}}
Line 7: Line 11:
order = ascending
order = ascending
}}
}}
<DynamicPageList>
category = {{PAGENAME}}
category = Leader
ordermethod = categorysortkey
order    = ascending
</DynamicPageList>


==== Cohort Models ====
==== Cohort Models ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Cohort
category = Cohort
notcategory = Mercenary
notcategory = Mercenary
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
 
==== Battle Engines ====
==== Battle Engines ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Battle Engine
category = Battle Engine
notcategory = Mercenary
notcategory = Mercenary
notcategory = Leader
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
==== Structures ====
==== Structures ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Structure
category = Structure
notcategory = Mercenary
notcategory = Mercenary
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
==== Solos ====
==== Solos ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Solo
category = Solo
notcategory = Mercenary
notcategory = Mercenary
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
==== Units ====
==== Units ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Unit
category = Unit
notcategory = Mercenary
notcategory = Mercenary
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
==== Command Attachments ====
==== Command Attachments ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Command Attachment
category = Command Attachment
notcategory = Mercenary
notcategory = Mercenary
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
==== Weapon Attachments ====
{{#tag:DynamicPageList|
category = {{{1}}}
category = Weapon Attachment
notcategory = Mercenary
ordermethod = categorysortkey
order = ascending
}}


=== Mercenary Models ===
=== Mercenary Models ===
==== Cohort Models ====
{{#tag:DynamicPageList|
category = {{{1}}}
category = Cohort
category = Mercenary
ordermethod = categorysortkey
order = ascending
}}
==== Battle Engines ====
==== Battle Engines ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Battle Engine
category = Mercenary
category = Mercenary
category = Battle Engine
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
==== Structures ====
==== Structures ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Structure
category = Mercenary
category = Mercenary
category = Structure
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
==== Solos ====
==== Solos ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Solo
category = Mercenary
category = Mercenary
category = Solo
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
==== Units ====
==== Units ====
<DynamicPageList>
{{#tag:DynamicPageList|
category = {{1}}
category = {{{1}}}
category = Unit
category = Mercenary
category = Mercenary
category = Unit
ordermethod = categorysortkey  
ordermethod = categorysortkey  
order     = ascending
order = ascending
</DynamicPageList>
}}
<includeonly>

Latest revision as of 14:46, 28 January 2025

This template uses the dynamic page list. Plans are to upgrade to a later version for more options. Call this template on any army page to build a list using tags as a deliminator.