Difference between revisions of "Template:Floruit/sandbox"

From blackwiki
Jump to navigation Jump to search
(Some errors, etc.)
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|date=&#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:{{{unit|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{unit|}}}|c-c=&#160;century|m-m=&#160;millennium}}|{{#switch:{{{unit|}}}|c=&#160;century|m=&#160;millennium|&#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;&#8211;&#32;{{#switch:{{{ca|}}}|date2|both=c.&#8239;|}}{{{2|{{{date2|}}}}}}{{#if:{{{unit|}}}|{{#switch:{{{unit|}}}|c|c-c=&#160;century|m|m-m=&#160;millennium|&#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>
+
<!--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=&#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;{{trim|{{{1|{{{date|}}}}}}}}}}{{#if:{{{unit|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{unit|}}}|c-c=&#160;century|m-m=&#160;millennium}}|{{#switch:{{{unit|}}}|c=&#160;century|m=&#160;millennium|&#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;&#8211;&#32;{{#switch:{{{ca|}}}|date2|both=c.&#8239;|}}{{{2|{{{date2|}}}}}}{{#if:{{{unit|}}}|{{#switch:{{{unit|}}}|c|c-c=&#160;century|m|m-m=&#160;millennium|&#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|unit=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|sortable=yes}}<br/>
 
{{floruit/sandbox|2000|2016}}<br/>
 
{{floruit/sandbox|2000|2016}}<br/>
 
{{floruit/sandbox|2000|2016|ca=date}}<br/>
 
{{floruit/sandbox|2000|2016|ca=date}}<br/>
Line 15: Line 15:
 
{{floruit/sandbox|21st|b=no|unit=c-c|sfx=a|sfx-lk=yes|ca=yes}}<br/>
 
{{floruit/sandbox|21st|b=no|unit=c-c|sfx=a|sfx-lk=yes|ca=yes}}<br/>
 
{{floruit/sandbox|200|200|sfx=b|sfx-lk=yes|b=no}}<br/>
 
{{floruit/sandbox|200|200|sfx=b|sfx-lk=yes|b=no}}<br/>
{{floruit/sandbox||2016}}<br/>
+
{{floruit/sandbox||2016|sortable=yes}}<br/>
 
{{floruit/sandbox|2000|ca=both}}<br/>
 
{{floruit/sandbox|2000|ca=both}}<br/>
 
{{floruit/sandbox|20th|21st|ca=date2|unit=c|sfx-lk=yes|b=yes}}<br/>
 
{{floruit/sandbox|20th|21st|ca=date2|unit=c|sfx-lk=yes|b=yes}}<br/>
  
 
</noinclude>
 
</noinclude>

Revision as of 20:35, 26 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 – c. 21st century AD)
(fl. c. 2nd century BC – c. 2nd century AD)
(fl. c. 2nd millennium BCE – 2nd millennium CE)

[error in template {{floruit}}: bracket option requires a date value] fl.
[error in template {{floruit}}: wrong value for the bracket option] fl. c. 21st [error in template {{floruit}}: wrong value for the time-unit option] [error in template {{floruit}}: wrong or unsupported suffix]
[error in template {{floruit}}: wrong value for the bracket option] fl. 200 – 200 [error in template {{floruit}}: wrong or unsupported suffix]
fl. [error in template {{floruit}}: sortable option requires a date value] [error in template {{floruit}}: date range requires a starting date]
fl. [error in template {{floruit}}: wrong value for the circa option] 2000
(fl. 20th [error in template {{floruit}}: suffix link requires suffix] – c. 21st century)