User:Musha/Sandbox2

From Guild Wars 2 Wiki
Jump to: navigation, search
<onlyinclude>{{#if:<!-- remove whitespace -->
{{#set:Has canonical name={{{name|{{trim|{{#replace:{{PAGENAME}}|(collections)|}}}}}}}}}
}}

{| {{STDT|mech1}}
!style="font-size:large;" |<div style="position:absolute; top:0; left:5px; z-index:1;">[[Has game icon::File:{{{icon|{{PAGENAME}}.png}}}|48px]]</div> {{{title|Collection}}} {{#if:{{{group|}}}|<small>([[Has achievement group::{{{group|}}}]])</small>}}<!-- Need better place for this, next to icon? -->
! Total items required: {{#ask:[[Has achievement category::{{{1|{{PAGENAME}}}}}]]|format=count}}
! style="text-align: right; border-left-width: 0;" | [[File:Chest icon.png|20px|{{#var:table_tier_total}}]]</onlyinclude>
|}

== Example ==
{{User:Musha/Collections table header|icon=Basic Collections.png}}
{{Achievement table row
| name = Required: [[Ogre Tooth]]
}}
{{Achievement table row
| description = Ogre Cleaver
}}
{{Achievement table row
| description = Ogre Mace
}}