Difference between revisions of "Template:Floruit/sandbox"
Jump to navigation
Jump to search
(Sync w. live) |
|||
| 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]</small>}} }}|<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]</small>}} }}|{{error|message=<small>[error in template {{tl2|floruit}}: bracket option requires a date value]</small>}} }}|}}{{#if:{{{pfx|}}}|{{#switch:{{{pfx|}}}|active|fl.<!--Undocumented option.-->=|{{error|message=<small>[error in template {{tl2|floruit}}: invalid prefix option]</small>}} }}{{#ifeq:{{{pfx|}}}|active|{{#if:{{{pfx-style|}}}|{{error|message=<small>[error in template {{tl2|floruit}}: prefix style not compatible with prefix option]</small>}} }}}}}}{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{pfx-style|}}}|{{#ifeq:{{{pfx-style|}}}|italics|<em>|{{error|message=<small>[error in template {{tl2|floruit}}: prefix-style option with wrong value]</small>}} }}}}{{#if:{{{pfx-lk|}}}|{{#switch:{{{pfx-lk|}}}|no|off={{#if:{{{pfx|}}}|{{{pfx}}}|fl.}}|abbr={{#ifeq:{{{pfx}}}|active|{{error|message=<small>[error in template {{tl2|floruit}}: prefix link inconsistent with prefix option]</small>}}|{{abbr|fl.|floruit}}}}|{{error|message=<small>[error in template {{tl2|floruit}}: prefix-link option with wrong value]</small>}} }}|[[Floruit|{{#if:{{{pfx|}}}|{{{pfx}}}|fl.}}]]}}{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{pfx|}}}|active| | }}|}}{{#ifeq:{{{pfx-style|}}}|italics|</em>}}{{#if:{{{ca|}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{ca|}}}|both|yes|date={{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}} |}}|{{#switch:{{{ca|}}}|yes|date={{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}} |{{#ifeq:{{{pfx|}}}|active| {{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}| {{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}}}}}|{{#if:{{{1|{{{date|}}}}}}|| }}{{error|message=<small>[error in template {{tl2|floruit}}: circa option with wrong value]</small>}} }}}}|{{#if:{{{ca-tt|}}}|{{error|message=<small>[error in template {{tl2|floruit}}: circa tooltip option requires circa]</small>}} }}}}{{#if:{{{sortable|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{sortable|}}}|yes|{{#iferror:{{dts|{{{1|{{{date|}}}}}}}}|{{error|message=<small>[error in template {{tl2|floruit}}: wrong date format for the sortable option]</small>}}}}| {{error|message=<small>[error in template {{tl2|floruit}}: sortable option with wrong value]</small>}}}}| {{error|message=<small>[error in template {{tl2|floruit}}: sortable option requires a date value]</small>}}}}|{{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}}: date-unit option with wrong value]</small>}}}}}}|{{error|message=<small>[error in template {{tl2|floruit}}: date-unit option requires a date value]</small>}}}}}}{{#if:{{{sfx|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{sfx|}}}|b-a= {{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|BC]]|BC}}|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]</small>}}}}}}|{{error|message=<small>[error in template {{tl2|floruit}}: suffix option requires a date value]</small>}}}}|{{#if:{{{sfx-lk|}}}| {{error|message=<small>[error in template {{tl2|floruit}}: suffix link requires suffix]</small>}}}}}}{{#if:{{{2|{{{date2|}}}}}}|{{#if:{{{1|{{{date|}}}}}}| – {{#if:{{{ca|}}}|{{#switch:{{{ca|}}}|date2={{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}} |both=c. |yes|date=|{{error|message=<small>[error in template {{tl2|floruit}}: circa option with wrong value]</small>}} }}| |{{#if:{{{ | + | <!--Begin {{floruit}}.--><includeonly>{{#if:{{{wrap|}}}|{{#ifeq:{{{wrap|}}}|yes||{{error|message=<small>[error in template {{tl2|floruit}}: wrong value for the wrap option]</small>}} }}|<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]</small>}} }}|{{error|message=<small>[error in template {{tl2|floruit}}: bracket option requires a date value]</small>}} }}|}}{{#if:{{{pfx|}}}|{{#switch:{{{pfx|}}}|active|fl.<!--Undocumented option.-->=|{{error|message=<small>[error in template {{tl2|floruit}}: invalid prefix option]</small>}} }}{{#ifeq:{{{pfx|}}}|active|{{#if:{{{pfx-style|}}}|{{error|message=<small>[error in template {{tl2|floruit}}: prefix style not compatible with prefix option]</small>}} }}}}}}{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{pfx-style|}}}|{{#ifeq:{{{pfx-style|}}}|italics|<em>|{{error|message=<small>[error in template {{tl2|floruit}}: prefix-style option with wrong value]</small>}} }}}}{{#if:{{{pfx-lk|}}}|{{#switch:{{{pfx-lk|}}}|no|off={{#if:{{{pfx|}}}|{{{pfx}}}|fl.}}|abbr={{#ifeq:{{{pfx}}}|active|{{error|message=<small>[error in template {{tl2|floruit}}: prefix link inconsistent with prefix option]</small>}}|{{abbr|fl.|floruit}}}}|{{error|message=<small>[error in template {{tl2|floruit}}: prefix-link option with wrong value]</small>}} }}|[[Floruit|{{#if:{{{pfx|}}}|{{{pfx}}}|fl.}}]]}}{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{pfx|}}}|active| | }}|}}{{#ifeq:{{{pfx-style|}}}|italics|</em>}}{{#if:{{{ca|}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{ca|}}}|both|yes|date={{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}} |}}|{{#switch:{{{ca|}}}|yes|date={{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}} |{{#ifeq:{{{pfx|}}}|active| {{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}| {{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}}}}}|{{#if:{{{1|{{{date|}}}}}}|| }}{{error|message=<small>[error in template {{tl2|floruit}}: circa option with wrong value]</small>}} }}}}|{{#if:{{{ca-tt|}}}|{{error|message=<small>[error in template {{tl2|floruit}}: circa tooltip option requires circa]</small>}} }}}}{{#if:{{{sortable|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{sortable|}}}|yes|{{#iferror:{{dts|{{{1|{{{date|}}}}}}}}|{{error|message=<small>[error in template {{tl2|floruit}}: wrong date format for the sortable option]</small>}}}}| {{error|message=<small>[error in template {{tl2|floruit}}: sortable option with wrong value]</small>}}}}| {{error|message=<small>[error in template {{tl2|floruit}}: sortable option requires a date value]</small>}}}}|{{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}}: date-unit option with wrong value]</small>}}}}}}|{{error|message=<small>[error in template {{tl2|floruit}}: date-unit option requires a date value]</small>}}}}}}{{#if:{{{sfx|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{sfx|}}}|b-a= {{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|BC]]|BC}}|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]</small>}}}}}}|{{error|message=<small>[error in template {{tl2|floruit}}: suffix option requires a date value]</small>}}}}|{{#if:{{{sfx-lk|}}}| {{error|message=<small>[error in template {{tl2|floruit}}: suffix link requires suffix]</small>}}}}}}{{#if:{{{2|{{{date2|}}}}}}|{{#if:{{{1|{{{date|}}}}}}| – {{#if:{{{ca|}}}|{{#switch:{{{ca|}}}|date2={{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}} |both=c. |yes|date=|{{error|message=<small>[error in template {{tl2|floruit}}: circa option with wrong value]</small>}} }}}}}}{{trim|{{{2|{{{date2|}}}}}}}}{{#if:{{{unit|}}}|{{#switch:{{{unit|}}}|c|c-c= century|m|m-m= millennium| {{error|message=<small>[error in template {{tl2|floruit}}: date-unit option with wrong value]</small>}}}}}}{{#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]</small>}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#if:{{{1|{{{date|}}}}}}||{{error|message= <small>[error in template {{tl2|floruit}}: date range requires a start date]</small>}}}}}}}}{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{b|}}}|yes|)}}}}{{#ifeq:{{{wrap|}}}|yes||</span>}}</includeonly><!--End {{floruit}}.--><noinclude> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | < | ||