Difference between revisions of "Template:Floruit/sandbox"
Jump to navigation
Jump to search
(WIP 2.) |
|||
| Line 1: | Line 1: | ||
| − | <!--Begin {{floruit}}.--><includeonly>{{#if:{{{wrap|}}}|{{#ifeq:{{{wrap|}}}|yes||{{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the wrap option]}}}} }}|<span style="white-space:nowrap;">}}{{#if:{{{b|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{b|}}}|yes|(|{{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the bracket option]}}}} }}|{{#if:{{{2|{{{date2|}}}}}}||{{error|message={{small|[error in template {{tl2|floruit}}: bracket option requires a date value]}}}} }}}}|}}{{#if:{{{pfx1|}}}|{{#ifeq:{{{pfx1|}}}|italics|<em>|{{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the prefix-style option]}}}} }}}}{{#if:{{{pfx2|{{{lk|}}}}}}|{{#switch:{{{pfx2|{{{lk|}}}}}}|no|off=fl.|abbr={{abbr|fl.|floruit}}|{{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the prefix-link option]}}}}}}|[[Floruit|fl.]]}}{{#ifeq:{{{pfx1|}}}|italics|</em>}}{{#if:{{{ca|}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{ca|}}}|both|yes= c.|}}|{{#switch:{{{ca|}}}|yes|date= c.| {{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the circa option]}}}}}}|}}}}{{#if:{{{sortable|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{sortable|}}}|yes| {{dts|{{{1|{{{date|}}}}}}}}| {{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the sortable option]}}}}}}| {{error|message={{small|[error in template {{tl2|floruit}}: sortable option requires a date value]}}}}}}| {{{1|{{{date|}}}}}}}}{{#if:{{{ | + | <!--Begin {{floruit}}.--><includeonly>{{#if:{{{wrap|}}}|{{#ifeq:{{{wrap|}}}|yes||{{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the wrap option]}}}} }}|<span style="white-space:nowrap;">}}{{#if:{{{b|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{b|}}}|yes|(|{{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the bracket option]}}}} }}|{{#if:{{{2|{{{date2|}}}}}}||{{error|message={{small|[error in template {{tl2|floruit}}: bracket option requires a date value]}}}} }}}}|}}{{#if:{{{pfx1|}}}|{{#ifeq:{{{pfx1|}}}|italics|<em>|{{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the prefix-style option]}}}} }}}}{{#if:{{{pfx2|{{{lk|}}}}}}|{{#switch:{{{pfx2|{{{lk|}}}}}}|no|off=fl.|abbr={{abbr|fl.|floruit}}|{{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the prefix-link option]}}}}}}|[[Floruit|fl.]]}}{{#ifeq:{{{pfx1|}}}|italics|</em>}}{{#if:{{{ca|}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{ca|}}}|both|yes|date|date1= c.|}}|{{#switch:{{{ca|}}}|yes|date|date1= c.| {{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the circa option]}}}}}}|}}}}{{#if:{{{sortable|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{sortable|}}}|yes| {{dts|{{{1|{{{date|}}}}}}}}| {{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the sortable option]}}}}}}| {{error|message={{small|[error in template {{tl2|floruit}}: sortable option requires a date value]}}}}}}| {{{1|{{{date|}}}}}}}}{{#if:{{{unit|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{unit|}}}|c-c= century|m-m= millenium|}}|{{#switch:{{{unit|}}}|c= century|m= millenium| {{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the time-unit option]}}}}}}|{{error|message={{small|[error in template {{tl2|floruit}}: time-unit option requires a date value]}}}}}}}}}}{{#if:{{{sfx|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{sfx|}}}|b-a= {{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|BC]]|BC}}|bce|b-c= {{#ifeq:{{{sfx-lk|}}}|yes|[[Common Era|BCE]]|BCE}}|}}|{{#switch:{{{sfx|}}}|ad= {{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|AD]]|AD}}|bc= {{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|BC]]|BC}}|bce= {{#ifeq:{{{sfx-lk|}}}|yes|[[Common Era|BCE]]|BCE}}|ce= {{#ifeq:{{{sfx-lk|}}}|yes|[[Common Era|CE]]|CE}}| {{error|message={{small|[error in template {{tl2|floruit}}: wrong or unsupported suffix]}}}}}}|{{error|message={{small|[error in template {{tl2|floruit}}: suffix option requires a date value]}}}}}}|}}|{{#if:{{{sfx-lk|}}}| {{error|message={{small|[error in template {{tl2|floruit}}: suffix link requires suffix]}}}}}}}}{{#if:{{{2|{{{date2|}}}}}}|{{#if:{{{1|{{{date|}}}}}}| ‒ {{#switch:{{{ca|}}}|date2|both=c. |}}{{{2|{{{date2|}}}}}}{{#if:{{{unit|}}}|{{#switch:{{{unit|}}}|c|c-c= century|m|m-m= millenium| {{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the time-unit option]}}}}}}}}{{#if:{{{sfx|}}}|{{#switch:{{{sfx|}}}|ad|b-a= {{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|AD]]|AD}}|bc= {{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|BC]]|BC}}|bce= {{#ifeq:{{{sfx-lk|}}}|yes|[[Common Era|BCE]]|BCE}}|ce|b-c= {{#ifeq:{{{sfx-lk|}}}|yes|[[Common Era|CE]]|CE}}|{{error|message= {{small|[error in template {{tl2|floruit}}: wrong or unsupported suffix]}}}}}}}}|{{error|message= {{small|[error in template {{tl2|floruit}}: date range requires a starting date]}}}}}}}}{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{b|}}}|yes|)}}}}{{#ifeq:{{{wrap|}}}|yes||</span>}}</includeonly><!--End {{floruit}}.--><noinclude> |
{{floruit/sandbox|2010s}}<br/> | {{floruit/sandbox|2010s}}<br/> | ||
{{floruit/sandbox|2010s|b=yes}}<br/> | {{floruit/sandbox|2010s|b=yes}}<br/> | ||
| − | {{floruit/sandbox|21st|b=yes| | + | {{floruit/sandbox|21st|b=yes|unit=c|sfx=bc|sfx-lk=yes|ca=yes}}<br/> |
{{floruit/sandbox|200|200|sfx=b-c|sfx-lk=yes|b=yes}}<br/> | {{floruit/sandbox|200|200|sfx=b-c|sfx-lk=yes|b=yes}}<br/> | ||
| − | {{floruit/sandbox|20th|21st| | + | {{floruit/sandbox|2000|2016}}<br/> |
| − | {{floruit/sandbox|20th|21st|ca=date2| | + | {{floruit/sandbox|2000|2016|ca=date}}<br/> |
| − | {{floruit/sandbox|2nd|2nd|ca=both| | + | {{floruit/sandbox|20th|21st|unit=c|b=yes}}<br/> |
| − | {{floruit/sandbox|2nd|2nd|ca= | + | {{floruit/sandbox|20th|21st|ca=date2|unit=c-c|sfx=ad|sfx-lk=yes|b=yes}}<br/> |
| + | {{floruit/sandbox|2nd|2nd|ca=both|unit=c-c|sfx=b-a|b=yes}}<br/> | ||
| + | {{floruit/sandbox|2nd|2nd|ca=date1|unit=m-m|sfx=b-c|sfx-lk=yes|b=yes}}<br/> | ||
</noinclude> | </noinclude> | ||