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

From Robowiki
Jump to navigation Jump to search
m
(update my sandbox using new rumblestats parser hook)
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|}}}}}'''{{if|test={{{tagline|}}}|then=&nbsp;- ''{{{tagline|}}}''}}
+
'''{{{version|''unreleased''}}}{{if|test={{{description|}}}|then=&nbsp;&ndash; {{{description|}}}}}'''{{if|test={{{tagline|}}}|then=&nbsp;&ndash; ''{{{tagline|}}}''}}
<!-- show rating -->
+
<includeonly><!--
{{if|test={{{melee|}}}|then=
+
        ############## MELEE RUMBLE STATS ################### -->
  {{if|test={{{1v1|}}}|then=
+
{{ifeq|{{{melee|}}}|nochanges|* '''MeleeRumble - Not entered.'''}}
    {{if|test={{{team|}}}|then=
+
{{ifeq|{{{melee|}}}|pulled|* '''MeleeRumble - Pulled.'''}}<!--
      <!-- 1v1, melee, team -->
+
        ------------ NANO MELEE RUMBLE STATS --------------- -->
    |else=
+
{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:nanomeleerumble|{{{name}} {{{version}}}}}'''}}<!--
      <!-- 1v1 and melee -->
+
        ------------ MICRO MELEE RUMBLE STATS --------------- -->
    }}
+
{{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:micromeleerumble|{{{name}} {{{version}}}}}'''}}
  |else=
+
{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:micromeleerumble|{{{name}} {{{version}}}}}'''}}<!--
    <!-- melee only -->
+
        ------------ MINI MELEE RUMBLE STATS --------------- -->
  }}
+
{{ifeq|{{{melee|}}}|mini|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}
|else=
+
{{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}
  {{if|{{{team|}}}|then=
+
{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:minimeleerumble|{{{name}} {{{version}}}}}'''}}<!--
    {{if|{{{melee|}}}|then=
+
        ------------ GENERAL MELEE RUMBLE STATS --------------- -->
      <!-- melee and team -->
+
{{ifeq|{{{melee|}}}|yes|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}
    |else=
+
{{ifeq|{{{melee|}}}|mini|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}
      <!-- team only -->
+
{{ifeq|{{{melee|}}}|micro|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}
    }}
+
{{ifeq|{{{melee|}}}|nano|* '''{{{subst:rumblestats:meleerumble|{{{name}} {{{version}}}}}'''}}<!--
  |else=
+
        ############## ROBORUMBLE STATS ################### -->
    <!-- 1v1 only -->
+
{{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}}}}}'''}}
 +
</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|version=1.0|description=Test description|tagline=Test tagline}}
 
</noinclude>
 
</noinclude>

Revision as of 15:31, 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