Difference between revisions of "Template:Floruit/sandbox"
Jump to navigation
Jump to search
(Cleared (synced/superseded by live).) |
(WIP) |
||
| 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|}}}}}}|{{#ifeq:{{{ca|}}}|both| 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:{{{era|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{era|}}}|c-c= century |m-m= millenium |}}|{{#switch:{{{era|}}}|c= century|m= millenium| {{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the era option]}}}}}}|{{error|message={{small|[error in template {{tl2|floruit}}: era option requires a date value]}}}}}}}}}}{{#if:{{{sfx|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{sfx|}}}|b-a={{#ifeq:{{{era|}}}|| }}{{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|BC]]|BC}} |bce|b-c={{#ifeq:{{{era|}}}|| }}{{#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|}}}}}}|{{#ifeq:{{{ca|}}}| }}‒{{#switch:{{{ca|}}}|date2|both= c. |}}{{{2|{{{date2|}}}}}}{{#if:{{{era|}}}|{{#switch:{{{era|}}}|c|c-c= century|m|m-m= millenium| {{error|message={{small|[error in template {{tl2|floruit}}: wrong value for the era 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|b=yes}}<br/> | ||
| + | {{floruit/sandbox|21st|b=yes|era=c|sfx=bc|sfx-lk=yes|ca=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|2010|2016|era=c-c|b=yes}}<br/> | ||
| + | {{floruit/sandbox|2nd|2nd|ca=both|era=c-c|sfx=b-a|b=yes}}<br/> | ||
| + | {{floruit/sandbox|2nd|2nd|ca=both|era=m-m|sfx=b-c|sfx-lk=yes|b=yes}}<br/> | ||
| + | |||
| + | </noinclude> | ||