Template:Navigazione anno: differenze tra le versioni
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
| Riga 31: | Riga 31: | ||
--> [[{{#expr: {{{1|888}}} + 2}}]]<!-- |
--> [[{{#expr: {{{1|888}}} + 2}}]]<!-- |
||
--> [[{{#expr: {{{1|888}}} + 3}}]] |
--> [[{{#expr: {{{1|888}}} + 3}}]] |
||
|} |
|||
|}<noinclude> |
|||
<!------------------------------------ (non-included section below) |
|||
NOTES: |
|||
- This template uses expressions (#expr) to calculate centuries, |
|||
decades, and year numbers surrounding the year parameter. |
|||
- Negative numbers are passed through, not as "BC" but negative. |
|||
- Variables are not used, as they were not a supported feature |
|||
(when this template was created), so calculations are made twice, |
|||
as needed to determine results. |
|||
<includeonly> |
|||
------------------------------------- --> |
|||
==Result== |
|||
: Live result for default year "888" at right: |
|||
==Usage== |
|||
Takes one parameter, the year-number (year 101 or higher).<br> |
|||
The box width shrinks nearly 6% for smaller year-number sizes. |
|||
:<code><nowiki>Example for "{{Navigazione anno|1970}}" at right:</nowiki></code> |
|||
{{Navigazione anno|1970}} |
|||
{{-}} |
|||
:<code><nowiki>Example for "{{Navigazione anno|101}}" at right:</nowiki></code> |
|||
{{Navigazione anno|101}} |
|||
{{-}} |
|||
:<code><nowiki>Example for "{{Navigazione anno|100}}" [invalid] at right:</nowiki></code> |
|||
{{Navigazione anno|100}} |
|||
:: Use other tables to handle year 100 or below. |
|||
</noinclude> |
|||
<noinclude> |
|||
[[Categoria:Anni del XX secolo| {{{2}}}]] |
[[Categoria:Anni del XX secolo| {{{2}}}]] |
||
</ |
</includeonly> |
||