Difference between revisions of "Template:NHVer"

From Nookipedia, the Animal Crossing wiki
(Link template to easily generate NH version links)
 
(Adjusting template to work with renamed pages)
Line 23: Line 23:
 
|1.11.1 = Free Update}}}}}}{{#switch:{{{1|1.0.0}}}
 
|1.11.1 = Free Update}}}}}}{{#switch:{{{1|1.0.0}}}
 
|1.0.0 = [[Animal Crossing: New Horizons|1.0.0]] {{#var:full}}
 
|1.0.0 = [[Animal Crossing: New Horizons|1.0.0]] {{#var:full}}
|1.1.0 = [[Animal Crossing: New Horizons/Update history/1.1.0 First Update|1.1.0]] {{#var:full}}
+
|1.1.1  
|1.1.1 = [[Animal Crossing: New Horizons/Update history/1.1.0 First Update#In 1.1.1|1.1.1]] {{#var:full}}
+
|1.1.2
|1.1.2 = [[Animal Crossing: New Horizons/Update history/1.1.0 First Update#In 1.1.2|1.1.2]] {{#var:full}}
+
|1.1.3
|1.1.3 = [[Animal Crossing: New Horizons/Update history/1.1.0 First Update#In 1.1.3|1.1.3]] {{#var:full}}
+
|1.1.4
|1.1.4 = [[Animal Crossing: New Horizons/Update history/1.1.0 First Update#In 1.1.4|1.1.4]] {{#var:full}}
+
|1.2.1
|1.2.0 = [[Animal Crossing: New Horizons/Update history/1.2.0 April Free Update|1.2.0]] {{#var:full}}
+
|1.3.1
|1.2.1 = [[Animal Crossing: New Horizons/Update history/1.2.0 April Free Update#In 1.2.1|1.2.1]] {{#var:full}}
+
|1.4.1
|1.3.0 = [[Animal Crossing: New Horizons/Update history/1.3.0 Free Summer Update (Wave 1)|1.3.0]] {{#var:full}}
+
|1.4.2
|1.3.1 = [[Animal Crossing: New Horizons/Update history/1.3.0 Free Summer Update (Wave 1)#In 1.3.1|1.3.1]] {{#var:full}}
+
|1.5.1
|1.4.0 = [[Animal Crossing: New Horizons/Update history/1.4.0 Summer Update (Wave 2)|1.4.0]] {{#var:full}}
+
|1.11.1 = [[Animal Crossing: New Horizons/Update history/{{#sub:{{{1|}}}|0|4}}0#In {{{1|}}}|{{{1|}}}]] {{#var:full}}
|1.4.1 = [[Animal Crossing: New Horizons/Update history/1.4.0 Summer Update (Wave 2)#In 1.4.1|1.4.1]] {{#var:full}}
+
|#default = [[Animal Crossing: New Horizons/Update history/{{{1|}}}|{{{1|}}}]] {{#var:full}}
|1.4.2 = [[Animal Crossing: New Horizons/Update history/1.4.0 Summer Update (Wave 2)#In 1.4.2|1.4.2]] {{#var:full}}
 
|1.5.0 = [[Animal Crossing: New Horizons/Update history/1.5.0 Fall Update|1.5.0]] {{#var:full}}
 
|1.5.1 = [[Animal Crossing: New Horizons/Update history/1.5.0 Fall Update#In 1.5.1|1.5.1]] {{#var:full}}
 
|1.6.0 = [[Animal Crossing: New Horizons/Update history/1.6.0 Free Winter Update|1.6.0]] {{#var:full}}
 
|1.7.0 = [[Animal Crossing: New Horizons/Update history/1.7.0 Free Update|1.7.0]] {{#var:full}}
 
|1.8.0 = [[Animal Crossing: New Horizons/Update history/1.8.0 Free Update|1.8.0]] {{#var:full}}
 
|1.9.0 = [[Animal Crossing: New Horizons/Update history/1.9.0 Free Update|1.9.0]] {{#var:full}}
 
|1.10.0 = [[Animal Crossing: New Horizons/Update history/1.10.0 Free Update|1.10.0]] {{#var:full}}
 
|1.11.0 = [[Animal Crossing: New Horizons/Update history/1.11.0 Free Update|1.11.0]] {{#var:full}}
 
|1.11.1 = [[Animal Crossing: New Horizons/Update history/1.11.0 Free Update|1.11.1]] {{#var:full}}
 
 
}}<noinclude><br>{{Documentation}}[[Category:Link templates]]</noinclude>
 
}}<noinclude><br>{{Documentation}}[[Category:Link templates]]</noinclude>

Revision as of 20:45, September 17, 2021

1.0.0 Initial release

Template documentation (view)


Lua Logo.svg
This template is using a Lua module
To change certain features of this template, the following modules will need to be edited:
  • Module:NHVer
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
    Lua Logo.svg
    This template is using a Lua module
    To change certain features of this template, the following modules will need to be edited:
  • Module:NHVer
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.

    This template takes a version number as its first parameter (e.g. 1.2.1). If the second parameter is set to full, the template will display the full name of the update, otherwise it will display the version number alone. By default the template will link to the initial release 1.0.0 (Animal Crossing: New Horizons).

    Examples:

    • {{NHVer|1.1.3}}1.1.3
    • {{NHVer|1.1.3|full}}1.1.3 First Update