Hello! Project Wiki en español
Advertisement
Hello! Project Wiki en español


Documentación de la siguiente plantilla
Nota: la plantilla anterior a veces puede ser parcial o totalmente invisible.
Visite Plantilla:YearNav/doc para editar esta documentación. (Como funciona esto?)
This template uses Module:YearNav, a script written in Lua.
Please see the Lua reference manual and Lua templating on the Fandom Developers Wiki for more information on using Lua as a templating language.
×

Place this template on pages or categories with 4-digit years in their titles to easily provide links to neighboring years, as well as years a decade away in each direction.


Notes on Module:YearNav since we can't currently have Module doc pages.

To get a year navigation template similar but not identical to this one, use

{{#invoke:YearNav|YearNav|pattern}}

Where pattern is what the output should be like. In place of years use #### with - or + and a number to represent where the links should go. The default pattern is: ####-10 ・・ ####-1 ・ '''####''' ・ ####+1 ・・ ####+10

The pattern used by the YearNav template is currently: <table style="background:linear-gradient(to right,rgba(255,255,255,0),#e1e7f6,rgba(255,255,255,0));"><tr><td>####-10 ・・ ####-1 ・ '''####''' ・ ####+1 ・・ ####+10</td></tr></table>

Advertisement