Difference between revisions of "User:Nat/Template:Version"

From Robowiki
Jump to navigation Jump to search
m
(not work at all, don't try to use this template, it do huge request to RRQuery API)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>Sandbox for my new version history item template. Base on [[Ocnirp/Version History]], [[Diamond/Version History]] and several other. Not complete yet.</noinclude>
 
<noinclude>Sandbox for my new version history item template. Base on [[Ocnirp/Version History]], [[Diamond/Version History]] and several other. Not complete yet.</noinclude>
 
----
 
----
<!-- Header -->
+
{{{{{subst|}}}if|test={{{subst|}}}|then=
'''{{{1|1.0}}}{{if|test={{{description|}}}|then=&nbsp;- {{{description|}}}}}'''
+
'''{{{version|''unreleased''}}}{{if|test={{{date|}}}|then=&nbsp;&ndash; {{{date|}}}}}'''{{if|test={{{tagline|}}}|then=&nbsp;&ndash; ''{{{tagline|}}}''}}
{{if|test={{{tagline|}}}|then=<br />''{{{tagline|}}}''}}
+
<includeonly><nowiki><!--
<!-- show rating -->
+
        ############## MELEE RUMBLE STATS ###################
{{if|test={{{melee|}}}|then=
+
-->{{ifeq|{{{melee|}}}|nochanges|* '''MeleeRumble - Not entered.'''
  {{if|test={{{1v1|}}}|then=
+
}}<!--
    {{if|test={{{team|}}}|then=
+
-->{{ifeq|{{{melee|}}}|pulled|* '''MeleeRumble - Pulled.'''
      <!-- 1v1, melee, team -->
+
}}<!--
    |else=
+
        ------------ NANO MELEE RUMBLE STATS ---------------
      <!-- 1v1 and melee -->
+
-->{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:nanomeleerumble|{{{name}} {{{version}}}}}'''}}<!--
    }}
+
        ------------ MICRO MELEE RUMBLE STATS ---------------
  |else=
+
-->{{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:micromeleerumble|{{{name}} {{{version}}}}}'''}}<!--
    <!-- melee only -->
+
-->{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:micromeleerumble|{{{name}} {{{version}}}}}'''}}<!--
  }}
+
        ------------ MINI MELEE RUMBLE STATS ---------------
|else=
+
-->{{ifeq|{{{melee|}}}|mini|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}<!--
  {{if|{{{team|}}}|then=
+
-->{{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}<!--
    {{if|{{{melee|}}}|then=
+
-->{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}<!--
      <!-- melee and team -->
+
        ------------ GENERAL MELEE RUMBLE STATS --------------- -->
    |else=
+
-->{{ifeq|{{{melee|}}}|yes|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!--
      <!-- team only -->
+
-->{{ifeq|{{{melee|}}}|mini|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!--
    }}
+
-->{{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!--
  |else=
+
-->{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!--
    <!-- 1v1 only -->
+
        ############## ROBORUMBLE STATS ###################
  }}
+
-->{{ifeq|{{{oneOnOne|}}}|nochanges|* '''RoboRumble - Not entered.'''}}
 +
-->{{ifeq|{{{oneOnOne|}}}|pulled|* '''RoboRumble - Pulled.'''}}<!--
 +
        ------------ NANO ROBORUMBLE STATS ---------------
 +
-->{{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:nanorumble|{{{name}} {{{version}}}}}'''}}<!--
 +
        ------------ MICRO ROBORUMBLE STATS ---------------
 +
-->{{ifeq|{{{oneOnOne|}}}|micro|* '''{{{subst:rumblestats:microrumble|{{{name}} {{{version}}}}}'''}}<!--
 +
-->{{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:microrumble|{{{name}} {{{version}}}}}'''}}<!--
 +
        ------------ MINI ROBORUMBLE STATS ---------------
 +
-->{{ifeq|{{{oneOnOne|}}}|mini|* '''{{{subst:rumblestats:minirumble|{{{name}} {{{version}}}}}'''}}<!--
 +
-->{{ifeq|{{{oneOnOne|}}}|micro|* '''{{{subst:rumblestats:minirumble|{{{name}} {{{version}}}}}'''}}<!--
 +
-->{{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:minirumble|{{{name}} {{{version}}}}}'''}}<!--
 +
        ------------ GENERAL ROBORUMBLE STATS ---------------
 +
-->{{ifeq|{{{oneOnOne|}}}|yes|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}}<!--
 +
-->{{ifeq|{{{oneOnOne|}}}|mini|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}}<!--
 +
-->{{ifeq|{{{oneOnOne|}}}|micro|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}}<!--
 +
-->{{ifeq|{{{oneOnOne|}}}|nano|* '''{{{subst:rumblestats:roborumble|{{{name}} {{{version}}}}}'''}}<!--
 +
        ############## TEAM RUMBLE STATS ###################
 +
-->{{ifeq|{{{team|}}}|nochanges|* '''TeamRumble - Not entered.'''}}<!--
 +
-->{{ifeq|{{{team|}}}|pulled|* '''TeamRumble - Pulled.'''}}<!--
 +
        ------------ TEAM RUMBLE STATS ---------------
 +
-->{{ifeq|{{{team|}}}|yes|* '''{{{subst:rumblestats:teamrumble|{{{name}} {{{version}}}}}'''}}<!--
 +
        ############## TWIN DUEL STATS ###################
 +
-->{{ifeq|{{{twinduel|}}}|nochanges|* '''Twin Duel - Not entered.'''}}
 +
-->{{ifeq|{{{twinduel|}}}|pulled|* '''Twin Duel - Pulled.'''}}<!--
 +
        ------------ TEAM RUMBLE STATS ---------------
 +
-->{{ifeq|{{{twinduel|}}}|yes|* '''{{{subst:rumblestats:twinduel|{{{name}} {{{version}}}}}'''}}<!--
 +
</nowiki></includeonly><noinclude>* '''The stats will only show on the real page.'''</noinclude>
 +
{{{list|* No changes}}}
 +
|else=ERROR! This template must be substituted with <nowiki>subst=subst:</nowiki> parameter
 
}}
 
}}
{{{list|* No changes}}}
 
 
<noinclude>
 
<noinclude>
 
== Test ==
 
== Test ==
{{:User:Nat/Template:Version|1.0|description=Test description|tagline=Test tagline}}
+
{{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