Difference between revisions of "Template:Floruit/sandbox"
(Some errors, etc.) |
|||
| 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|date= 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:{{{unit|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{unit|}}}|c-c= century|m-m= millennium}}|{{#switch:{{{unit|}}}|c= century|m= millennium| {{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= millennium| {{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> | + | <!--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= 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]}}}}}}| {{trim|{{{1|{{{date|}}}}}}}}}}{{#if:{{{unit|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{unit|}}}|c-c= century|m-m= millennium}}|{{#switch:{{{unit|}}}|c= century|m= millennium| {{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= millennium| {{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|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)