Difference between revisions of "User:Nat/Template:Version"
< User:Nat
Jump to navigation
Jump to search
(update my sandbox using new rumblestats parser hook) |
(not work at all, don't try to use this template, it do huge request to RRQuery API) |
||
Line 2: | Line 2: | ||
---- | ---- | ||
{{{{{subst|}}}if|test={{{subst|}}}|then= | {{{{{subst|}}}if|test={{{subst|}}}|then= | ||
− | '''{{{version|''unreleased''}}}{{if|test={{{ | + | '''{{{version|''unreleased''}}}{{if|test={{{date|}}}|then= – {{{date|}}}}}'''{{if|test={{{tagline|}}}|then= – ''{{{tagline|}}}''}} |
− | <includeonly><!-- | + | <includeonly><nowiki><!-- |
− | ############## MELEE RUMBLE STATS ################### --> | + | ############## MELEE RUMBLE STATS ################### |
− | {{ifeq|{{{melee|}}}|nochanges|* '''MeleeRumble - Not entered.'''}} | + | -->{{ifeq|{{{melee|}}}|nochanges|* '''MeleeRumble - Not entered.''' |
− | {{ifeq|{{{melee|}}}|pulled|* '''MeleeRumble - Pulled.'''}}<!-- | + | }}<!-- |
− | ------------ NANO MELEE RUMBLE STATS --------------- --> | + | -->{{ifeq|{{{melee|}}}|pulled|* '''MeleeRumble - Pulled.''' |
− | {{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:nanomeleerumble|{{{name}} {{{version}}}}}'''}}<!-- | + | }}<!-- |
− | ------------ MICRO MELEE RUMBLE STATS --------------- --> | + | ------------ NANO MELEE RUMBLE STATS --------------- |
− | {{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:micromeleerumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:nanomeleerumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:micromeleerumble|{{{name}} {{{version}}}}}'''}}<!-- | + | ------------ MICRO MELEE RUMBLE STATS --------------- |
− | ------------ MINI MELEE RUMBLE STATS --------------- --> | + | -->{{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:micromeleerumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{melee|}}}|mini|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:micromeleerumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}} | + | ------------ MINI MELEE RUMBLE STATS --------------- |
− | {{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}<!-- | + | -->{{ifeq|{{{melee|}}}|mini|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}<!-- |
+ | -->{{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}<!-- | ||
+ | -->{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}<!-- | ||
------------ GENERAL MELEE RUMBLE STATS --------------- --> | ------------ GENERAL MELEE RUMBLE STATS --------------- --> | ||
− | {{ifeq|{{{melee|}}}|yes|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{melee|}}}|yes|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{melee|}}}|mini|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{melee|}}}|mini|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!-- | + | -->{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | ############## ROBORUMBLE STATS ################### --> | + | ############## ROBORUMBLE STATS ################### |
− | {{ifeq|{{{oneOnOne|}}}|nochanges|* '''RoboRumble - Not entered.'''}} | + | -->{{ifeq|{{{oneOnOne|}}}|nochanges|* '''RoboRumble - Not entered.'''}} |
− | {{ifeq|{{{oneOnOne|}}}|pulled|* '''RoboRumble - Pulled.'''}}<!-- | + | -->{{ifeq|{{{oneOnOne|}}}|pulled|* '''RoboRumble - Pulled.'''}}<!-- |
− | ------------ NANO ROBORUMBLE STATS --------------- --> | + | ------------ NANO ROBORUMBLE STATS --------------- |
− | {{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:nanorumble|{{{name}} {{{version}}}}}'''}}<!-- | + | -->{{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:nanorumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | ------------ MICRO ROBORUMBLE STATS --------------- --> | + | ------------ MICRO ROBORUMBLE STATS --------------- |
− | {{ifeq|{{{oneOnOne|}}}|micro|* '''{{{subst:rumblestats:microrumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{oneOnOne|}}}|micro|* '''{{{subst:rumblestats:microrumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:microrumble|{{{name}} {{{version}}}}}'''}}<!-- | + | -->{{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:microrumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | ------------ MINI ROBORUMBLE STATS --------------- --> | + | ------------ MINI ROBORUMBLE STATS --------------- |
− | {{ifeq|{{{oneOnOne|}}}|mini|* '''{{{subst:rumblestats:minirumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{oneOnOne|}}}|mini|* '''{{{subst:rumblestats:minirumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{oneOnOne|}}}|micro|* '''{{{subst:rumblestats:minirumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{oneOnOne|}}}|micro|* '''{{{subst:rumblestats:minirumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:minirumble|{{{name}} {{{version}}}}}'''}}<!-- | + | -->{{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:minirumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | ------------ GENERAL ROBORUMBLE STATS --------------- --> | + | ------------ GENERAL ROBORUMBLE STATS --------------- |
− | {{ifeq|{{{oneOnOne|}}}|yes|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{oneOnOne|}}}|yes|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{oneOnOne|}}}|mini|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{oneOnOne|}}}|mini|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{oneOnOne|}}}|micro|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{oneOnOne|}}}|micro|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | {{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}}<!-- | + | -->{{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | ############## TEAM RUMBLE STATS ################### --> | + | ############## TEAM RUMBLE STATS ################### |
− | {{ifeq|{{{team|}}}|nochanges|* '''TeamRumble - Not entered.'''}} | + | -->{{ifeq|{{{team|}}}|nochanges|* '''TeamRumble - Not entered.'''}}<!-- |
− | {{ifeq|{{{team|}}}|pulled|* '''TeamRumble - Pulled.'''}}<!-- | + | -->{{ifeq|{{{team|}}}|pulled|* '''TeamRumble - Pulled.'''}}<!-- |
− | ------------ TEAM RUMBLE STATS --------------- --> | + | ------------ TEAM RUMBLE STATS --------------- |
− | {{ifeq|{{{team|}}}|yes|* '''{{{subst:rumblestats:teamrumble|{{{name}} {{{version}}}}}'''}}<!-- | + | -->{{ifeq|{{{team|}}}|yes|* '''{{{subst:rumblestats:teamrumble|{{{name}} {{{version}}}}}'''}}<!-- |
− | ############## TWIN DUEL STATS ################### --> | + | ############## TWIN DUEL STATS ################### |
− | {{ifeq|{{{twinduel|}}}|nochanges|* '''Twin Duel - Not entered.'''}} | + | -->{{ifeq|{{{twinduel|}}}|nochanges|* '''Twin Duel - Not entered.'''}} |
− | {{ifeq|{{{twinduel|}}}|pulled|* '''Twin Duel - Pulled.'''}}<!-- | + | -->{{ifeq|{{{twinduel|}}}|pulled|* '''Twin Duel - Pulled.'''}}<!-- |
− | ------------ TEAM RUMBLE STATS --------------- --> | + | ------------ TEAM RUMBLE STATS --------------- |
− | {{ifeq|{{{twinduel|}}}|yes|* '''{{{subst:rumblestats:twinduel|{{{name}} {{{version}}}}}'''}} | + | -->{{ifeq|{{{twinduel|}}}|yes|* '''{{{subst:rumblestats:twinduel|{{{name}} {{{version}}}}}'''}}<!-- |
− | </includeonly><noinclude>* '''The stats will only show on the real page.'''</noinclude> | + | </nowiki></includeonly><noinclude>* '''The stats will only show on the real page.'''</noinclude> |
{{{list|* No changes}}} | {{{list|* No changes}}} | ||
|else=ERROR! This template must be substituted with <nowiki>subst=subst:</nowiki> parameter | |else=ERROR! This template must be substituted with <nowiki>subst=subst:</nowiki> parameter | ||
Line 54: | Line 56: | ||
<noinclude> | <noinclude> | ||
== Test == | == Test == | ||
− | {{ | + | {{User:Nat/Template:Version |
+ | | name = NP | ||
+ | |version=1.32 | ||
+ | |date=Today | ||
+ | |tagline=Test tagline | ||
+ | |oneOnOne = micro | ||
+ | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 15:39, 19 August 2009
Sandbox for my new version history item template. Base on Ocnirp/Version History, Diamond/Version History and several other. Not complete yet.
ERROR! This template must be substituted with subst=subst: parameter
Test
ERROR! This template must be substituted with subst=subst: parameter