Difference between revisions of "Template:Estcatbyyear"

From blackwiki
Jump to navigation Jump to search
imported>DavidLeighEllis
(fix sort key problem for low numbered years)
imported>Certes
(When {{{1}}} is blank denoting the decade AD 1 to AD 9, suppress years -1 and 0 and prevent expression errors)
Line 3: Line 3:
 
{| class="toccolours" align=center
 
{| class="toccolours" align=center
 
|[[:Category:{{{1}}}0s establishments by country|{{{1}}}0s establishments by country]]:  
 
|[[:Category:{{{1}}}0s establishments by country|{{{1}}}0s establishments by country]]:  
−
|[[:Category:{{#expr:{{{1}}}0 - 1}} establishments by country|←]] [[:Category:{{{1}}}0 establishments by country|{{{1}}}0]] • [[:Category:{{{1}}}1 establishments by country|{{{1}}}1]] • [[:Category:{{{1}}}2 establishments by country|{{{1}}}2]] • [[:Category:{{{1}}}3 establishments by country|{{{1}}}3]] • [[:Category:{{{1}}}4 establishments by country|{{{1}}}4]] • [[:Category:{{{1}}}5 establishments by country|{{{1}}}5]] • [[:Category:{{{1}}}6 establishments by country|{{{1}}}6]] • [[:Category:{{{1}}}7 establishments by country|{{{1}}}7]] • [[:Category:{{{1}}}8 establishments by country|{{{1}}}8]] • [[:Category:{{{1}}}9 establishments by country|{{{1}}}9]] [[:Category:{{#expr:{{{1}}}9 + 1}} establishments by country|→]]
+
|{{#ifexpr: {{{1}}}0 < 10 ||[[:Category:{{#expr:{{{1}}}0 - 1}} establishments by country|&larr;]] [[:Category:{{{1}}}0 establishments by country|{{{1}}}0]] • }}[[:Category:{{{1}}}1 establishments by country|{{{1}}}1]] • [[:Category:{{{1}}}2 establishments by country|{{{1}}}2]] • [[:Category:{{{1}}}3 establishments by country|{{{1}}}3]] • [[:Category:{{{1}}}4 establishments by country|{{{1}}}4]] • [[:Category:{{{1}}}5 establishments by country|{{{1}}}5]] • [[:Category:{{{1}}}6 establishments by country|{{{1}}}6]] • [[:Category:{{{1}}}7 establishments by country|{{{1}}}7]] • [[:Category:{{{1}}}8 establishments by country|{{{1}}}8]] • [[:Category:{{{1}}}9 establishments by country|{{{1}}}9]] [[:Category:{{#expr:{{{1}}}9 + 1}} establishments by country|&rarr;]]
 
|}
 
|}
  
Line 9: Line 9:
 
[[Category:{{{1}}}{{{2}}} by country| Establishments]]
 
[[Category:{{{1}}}{{{2}}} by country| Establishments]]
 
[[Category:{{{1}}}0s establishments by country|*{{PAGENAME}}]]
 
[[Category:{{{1}}}0s establishments by country|*{{PAGENAME}}]]
−
{{#ifexpr: {{{1}}} < 10 | [[Category:Establishments by year and country|00{{{1}}}]] | {{#ifexpr: {{{1}}} < 100 | [[Category:Establishments by year and country|0{{{1}}}]] | [[Category:Establishments by year and country]]}} }}
+
{{#ifexpr: {{{1}}}0 < 100 | [[Category:Establishments by year and country|00{{{1}}}]] | {{#ifexpr: {{{1}}}0 < 1000 | [[Category:Establishments by year and country|0{{{1}}}]] | [[Category:Establishments by year and country]]}} }}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
<!-- Add categories and interwikis to the /doc subpage, please, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, please, not here! -->
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 14:38, 19 November 2016

50px Template documentation[create]