Template:Navigazione anno: differenze tra le versioni

Da LazioWiki.

Contenuto cancellato Contenuto aggiunto
Nuova pagina: <!-- ---------- Template displaying year-navigation box for years 101 & up (see NOTES below). --------------- --> {| class="infobox" style="text-align: center;" | align="right" | <sm...
 
Nessun oggetto della modifica
Riga 6: Riga 6:
| align="right" | <small>'''[[List of centuries|Centuries]]:''' </small>
| align="right" | <small>'''[[List of centuries|Centuries]]:''' </small>
| align="center" | <!--
| align="center" | <!--
--> [[{{ordinal|{{#expr: (({{{1|888}}} - 1) - (({{{1|888}}} - 1) mod 100))/100}}}} century]]<!--
--> [[{{ordinale|{{#expr: (({{{1|888}}} - 1) - (({{{1|888}}} - 1) mod 100))/100}}}} century]]<!--
--> - '''[[{{ordinal|{{#expr: (({{{1|888}}} - 1) - (({{{1|888}}} - 1) mod 100))/100 + 1}}}} century]]''' -<!--
--> - '''[[{{ordinale|{{#expr: (({{{1|888}}} - 1) - (({{{1|888}}} - 1) mod 100))/100 + 1}}}} century]]''' -<!--
--> [[{{ordinal|{{#expr: (({{{1|888}}} - 1) - (({{{1|888}}} - 1) mod 100))/100 + 2}}}} century]]
--> [[{{ordinale|{{#expr: (({{{1|888}}} - 1) - (({{{1|888}}} - 1) mod 100))/100 + 2}}}} century]]
|-
|-
| align="right" | <small>'''[[List of decades|Decades]]:'''</small>
| align="right" | <small>'''[[List of decades|Decades]]:'''</small>
Riga 47: Riga 47:
Takes one parameter, the year-number (year 101 or higher).<br>
Takes one parameter, the year-number (year 101 or higher).<br>
The box width shrinks nearly 6% for smaller year-number sizes.
The box width shrinks nearly 6% for smaller year-number sizes.
:<code><nowiki>Example for "{{Year nav|1970}}" at right:</nowiki></code>
:<code><nowiki>Example for "{{Navigazione anno|1970}}" at right:</nowiki></code>
{{Year nav|1970}}
{{Navigazione anno|1970}}
{{-}}
{{-}}
:<code><nowiki>Example for "{{Year nav|101}}" at right:</nowiki></code>
:<code><nowiki>Example for "{{Navigazione anno|101}}" at right:</nowiki></code>
{{Year nav|101}}
{{Navigazione anno|101}}
{{-}}
{{-}}
:<code><nowiki>Example for "{{Year nav|100}}" [invalid] at right:</nowiki></code>
:<code><nowiki>Example for "{{Navigazione anno|100}}" [invalid] at right:</nowiki></code>
{{Year nav|100}}
{{Navigazione anno|100}}


:: Use other tables to handle year 100 or below.
:: Use other tables to handle year 100 or below.


[[Category:History navigational boxes]]
[[Category:History navigational boxes]]

</noinclude>

<noinclude>
[[Categoria:Template di navigazione|Anno]]
</noinclude>
</noinclude>

Versione delle 14:28, 13 giu 2007

Centuries: 8th century - 9th century - 10th century
Decades: 850s  860s  870s  - 880s -  890s  900s  910s

Years: 885 886 887 - 888 - 889 890 891

Result

Live result for default year "888" at right:

Usage

Takes one parameter, the year-number (year 101 or higher).
The box width shrinks nearly 6% for smaller year-number sizes.

Example for "{{Navigazione anno|1970}}" at right:
Centuries: 19th century - 20th century - 21st century
Decades: 1940s  1950s  1960s  - 1970s -  1980s  1990s  2000s

Years: 1967 1968 1969 - 1970 - 1971 1972 1973



Example for "{{Navigazione anno|101}}" at right:
Centuries: 1st century - 2nd century - 3rd century
Decades: 70s  80s  90s  - 100s -  110s  120s  130s

Years: 98 99 100 - 101 - 102 103 104



Example for "{{Navigazione anno|100}}" [invalid] at right:
Centuries: 0th century - 1st century - 2nd century
Decades: 70s  80s  90s  - 100s -  110s  120s  130s

Years: 97 98 99 - 100 - 101 102 103


Use other tables to handle year 100 or below.