Jump to content

User:Davidgothberg/Range and User:Davidgothberg/Range/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Now in userspace
 
m Plastikspork moved page Template:User:Davidgothberg/Range/sandbox to User:Davidgothberg/Range/sandbox without leaving a redirect: Fix move
 
Line 1: Line 1:
<!-- 1=year1, 2=year2, 3=itemyear, 4=item, 5=separator, 6=nextitemyear, 7=nowrap (default) or wrap items
<!-- 1=year1, 2=year2, 3=itemyear, 4=item, 5=separator, 6=nextitemyear
-->{{#switch:<!--
-->{{#switch:
-->{{#if:{{{1|}}}<!--
{{#if:{{{1|}}}
-->| {{#if:{{{2|}}}<!--
| {{#if:{{{2|}}}
-->| <!-- year1 and year2 given --><!--
| <!-- year1 and year2 given -->
-->{{#ifexpr: {{{1|}}} <= {{{3|}}} and {{{3|}}} <= {{{2|}}}<!--
{{#ifexpr: {{{1|}}} <= {{{3|}}} and {{{3|}}} <= {{{2|}}}
-->| <!-- Within range --><!--
| <!-- Within range -->
-->{{#if:{{{5|}}}<!--
{{#if:{{{5|}}}
-->| <!-- Separator given --><!--
| <!-- Separator given -->
-->{{#if:{{{6|}}}<!--
{{#if:{{{6|}}}
-->| {{#ifexpr: {{{1|}}} <= {{{6|}}} and {{{6|}}} <= {{{2|}}}<!--
| {{#ifexpr: {{{1|}}} <= {{{6|}}} and {{{6|}}} <= {{{2|}}}
-->| show_sep <!-- Next item will show --><!--
| show_sep <!-- Next item will show -->
-->| show_nosep <!-- Next item will not show --><!--
| show_nosep <!-- Next item will not show -->
-->}}<!--
}}
-->| <!-- No nextitemyear given --><!--
| <!-- No nextitemyear given -->
-->{{#ifexpr: {{{2|}}} = {{{3|}}}<!--
{{#ifexpr: {{{2|}}} = {{{3|}}}
-->| show_nosep <!-- Last year in range --><!--
| show_nosep <!-- Last year in range -->
-->| show_sep<!--
| show_sep
-->}}<!--
}}
-->}}<!--
}}
-->| show_nosep <!-- No separator given. --><!--
| show_nosep <!-- No separator given. -->
-->}}<!--
}}
-->| hide <!-- Not in range --><!--
| hide <!-- Not in range -->
-->}}<!--
}}
-->| hide <!-- year1 given but not year2, is an error so hide all. --><!--
| hide <!-- year1 given but not year2, is an error so hide all. -->
-->}}<!--
}}
-->| <!-- year1 not given, default to show. --><!--
| <!-- year1 not given, default to show. -->
-->{{#if:{{{5|}}}<!--
{{#if:{{{5|}}}
-->| show_sep <!-- Separator given --><!--
| show_sep <!-- Separator given -->
-->| show_nosep <!--
| show_nosep
-->}}<!--
}}
-->}}<!--
}}
-->| show_sep = <span {{#ifeq:{{{7|}}}|wrap | | style="white-space:nowrap;" }}>{{{4|}}}&nbsp;{{{5|}}}</span>&#32;<!--
-->| show_nosep = <span {{#ifeq:{{{7|}}}|wrap | | style="white-space:nowrap;" }}>{{{4|}}}</span>&#32;<!--
-->}}<noinclude>


| show_sep = <span style="white-space: nowrap;">{{{4|}}}&nbsp;{{{5|}}}</span>&#32;
{{documentation}}
| show_nosep = <span style="white-space: nowrap;">{{{4|}}}</span>&#32;

}}<noinclude>


{{Template sandbox notice}}
<!-- {{Documentation}} -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>