Difference between revisions of "Template:Floruit/sandbox"

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

Revision as of 14:12, 24 September 2016


fl. 2010s
(fl. 2010s)
(fl. c. 21st century BC)
(fl. 200 BCE ‒ 200 CE)
fl. 2000 ‒ 2016
fl. c. 2000 ‒ 2016
(fl. 20th ‒ 21st century)
(fl. 20th century ‒ c. 21st century AD)
(fl. c. 2nd century BC ‒ c. 2nd century AD)
(fl. c. 2nd millenium BCE ‒ 2nd millenium CE)