Jump to content

Template:Floruit: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
belong in the doc if anywhere
Undid revision 753570097 by JJMC89 (talk) Thank you for your input. I am sure you have proof of the harm done by this version.
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;</small>}}&#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;</small>}}&#32;}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: bracket option requires a date value&#93;</small>}}&#32;}}|}}{{#if:{{{pfx|}}}|{{#switch:{{{pfx|}}}|active|fl.<!--Undocumented option.-->=|{{error|message=<small>&#91;error in template {{tl2|floruit}}: invalid prefix option&#93;</small>}}&#32;}}{{#ifeq:{{{pfx|}}}|active|{{#if:{{{pfx-style|}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix style not compatible with prefix option&#93;</small>}}&#32;}}}}}}{{#if:{{{pre|}}}|{{{pre}}}&#32;}}{{#if:{{{pfx-style|}}}|{{#ifeq:{{{pfx-style|}}}|italics|<em>|{{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix-style option with wrong value&#93;</small>}}&#32;}}}}{{#if:{{{pfx-lk|}}}|{{#switch:{{{pfx-lk|}}}|no|off={{#if:{{{pfx|}}}|{{{pfx}}}|fl.}}|abbr={{#ifeq:{{{pfx}}}|active|{{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix link inconsistent with prefix option&#93;</small>}}|{{abbr|fl.|floruit}}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix-link option with wrong value&#93;</small>}}&#32;}}|[[Floruit|{{#if:{{{pfx|}}}|{{{pfx}}}|fl.}}]]}}{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{pfx|}}}|active|&#160;|&#8239;}}|}}{{#ifeq:{{{pfx-style|}}}|italics|</em>}}{{#if:{{{ca|}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{ca|}}}|both|yes|date={{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}&#8239;|}}|{{#switch:{{{ca|}}}|yes|date={{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}&#8239;|{{#ifeq:{{{pfx|}}}|active|&#160;{{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}|&#8239;{{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}}}}}|{{#if:{{{1|{{{date|}}}}}}||&#32;}}{{error|message=<small>&#91;error in template {{tl2|floruit}}: circa option with wrong value&#93;</small>}}&#32;}}}}|{{#if:{{{ca-tt|}}}|{{error|message=<small>&#91;error in template {{tl2|b.}}: circa tooltip option requires circa&#93;</small>}}&#32;}}}}{{#if:{{{sortable|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{sortable|}}}|yes|{{#iferror:{{dts|{{{1|{{{date|}}}}}}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: wrong date format for the sortable option&#93;</small>}}}}|&#32;{{error|message=<small>&#91;error in template {{tl2|floruit}}: sortable option with wrong value&#93;</small>}}}}|&#32;{{error|message=<small>&#91;error in template {{tl2|floruit}}: sortable option requires a date value&#93;</small>}}}}|{{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}}: date-unit option with wrong value&#93;</small>}}}}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: date-unit option requires a date value&#93;</small>}}}}}}{{#if:{{{sfx|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{sfx|}}}|b-a=&#160;{{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|BC]]|BC}}|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;</small>}}}}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: suffix option requires a date value&#93;</small>}}}}|{{#if:{{{sfx-lk|}}}|&#32;{{error|message=<small>&#91;error in template {{tl2|floruit}}: suffix link requires suffix&#93;</small>}}}}}}{{#if:{{{2|{{{date2|}}}}}}|{{#if:{{{1|{{{date|}}}}}}|&#160;&#8211;&#32;{{#if:{{{ca|}}}|{{#switch:{{{ca|}}}|date2={{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}&#8239;|both=c.&#8239;|yes|date=|{{error|message=<small>&#91;error in template {{tl2|floruit}}: circa option with wrong value&#93;</small>}}&#32;}}| |{{#if:{{{ca-tt|}}}|{{error|message=<small>&#91;error in template {{tl2|b.}}: circa tooltip option requires circa&#93;</small>}}&#32;}}}}{{trim|{{{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}}: date-unit option with wrong value&#93;</small>}}}}}}{{#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;</small>}}}}}}|{{error|message=&#32;<small>&#91;error in template {{tl2|floruit}}: date range requires a start date&#93;</small>}}}}}}{{#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;</small>}}&#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;</small>}}&#32;}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: bracket option requires a date value&#93;</small>}}&#32;}}|}}{{#if:{{{pfx|}}}|{{#switch:{{{pfx|}}}|active|fl.<!--Undocumented option.-->=|{{error|message=<small>&#91;error in template {{tl2|floruit}}: invalid prefix option&#93;</small>}}&#32;}}{{#ifeq:{{{pfx|}}}|active|{{#if:{{{pfx-style|}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix style not compatible with prefix option&#93;</small>}}&#32;}}}}}}{{#if:{{{pre|}}}|{{{pre}}}&#32;}}{{#if:{{{pfx-style|}}}|{{#ifeq:{{{pfx-style|}}}|italics|<em>|{{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix-style option with wrong value&#93;</small>}}&#32;}}}}{{#if:{{{pfx-lk|}}}|{{#switch:{{{pfx-lk|}}}|no|off={{#if:{{{pfx|}}}|{{{pfx}}}|fl.}}|abbr={{#ifeq:{{{pfx}}}|active|{{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix link inconsistent with prefix option&#93;</small>}}|{{abbr|fl.|floruit}}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix-link option with wrong value&#93;</small>}}&#32;}}|[[Floruit|{{#if:{{{pfx|}}}|{{{pfx}}}|fl.}}]]}}{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{pfx|}}}|active|&#160;|&#8239;}}|}}{{#ifeq:{{{pfx-style|}}}|italics|</em>}}{{#if:{{{ca|}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{ca|}}}|both|yes|date={{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}&#8239;|}}|{{#switch:{{{ca|}}}|yes|date={{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}&#8239;|{{#ifeq:{{{pfx|}}}|active|&#160;{{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}|&#8239;{{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}}}}}|{{#if:{{{1|{{{date|}}}}}}||&#32;}}{{error|message=<small>&#91;error in template {{tl2|floruit}}: circa option with wrong value&#93;</small>}}&#32;}}}}|{{#if:{{{ca-tt|}}}|{{error|message=<small>&#91;error in template {{tl2|b.}}: circa tooltip option requires circa&#93;</small>}}&#32;}}}}{{#if:{{{sortable|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{sortable|}}}|yes|{{#iferror:{{dts|{{{1|{{{date|}}}}}}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: wrong date format for the sortable option&#93;</small>}}}}|&#32;{{error|message=<small>&#91;error in template {{tl2|floruit}}: sortable option with wrong value&#93;</small>}}}}|&#32;{{error|message=<small>&#91;error in template {{tl2|floruit}}: sortable option requires a date value&#93;</small>}}}}|{{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}}: date-unit option with wrong value&#93;</small>}}}}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: date-unit option requires a date value&#93;</small>}}}}}}{{#if:{{{sfx|}}}|{{#if:{{{1|{{{date|}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#switch:{{{sfx|}}}|b-a=&#160;{{#ifeq:{{{sfx-lk|}}}|yes|[[Anno Domini|BC]]|BC}}|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;</small>}}}}}}|{{error|message=<small>&#91;error in template {{tl2|floruit}}: suffix option requires a date value&#93;</small>}}}}|{{#if:{{{sfx-lk|}}}|&#32;{{error|message=<small>&#91;error in template {{tl2|floruit}}: suffix link requires suffix&#93;</small>}}}}}}{{#if:{{{2|{{{date2|}}}}}}|{{#if:{{{1|{{{date|}}}}}}|&#160;&#8211;&#32;{{#if:{{{ca|}}}|{{#switch:{{{ca|}}}|date2={{#ifeq:{{{ca-tt|}}}|yes|{{abbr|c.|circa}}|c.}}&#8239;|both=c.&#8239;|yes|date=|{{error|message=<small>&#91;error in template {{tl2|floruit}}: circa option with wrong value&#93;</small>}}&#32;}}| |{{#if:{{{ca-tt|}}}|{{error|message=<small>&#91;error in template {{tl2|b.}}: circa tooltip option requires circa&#93;</small>}}&#32;}}}}{{trim|{{{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}}: date-unit option with wrong value&#93;</small>}}}}}}{{#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;</small>}}}}}}|{{error|message=&#32;<small>&#91;error in template {{tl2|floruit}}: date range requires a start date&#93;</small>}}}}}}{{#if:{{{1|{{{date|}}}}}}|{{#ifeq:{{{b|}}}|yes|&#41;}}}}{{#ifeq:{{{wrap|}}}|yes||</span>}}</includeonly><!--End {{floruit}}.--><noinclude>
[{{var|display options}}] [{{var|prepended text}}] [{{var|prefix options}}] [[Floruit|{{bxtn|fl.}}]]|[<nowiki />[[Floruit|active]]] [{{var|date options}}] [{{var|date{{!}}range}}] [{{var|date unit(s)}}] [{{var|suffix(es)}}]<br/>{{floruit|2010s}}<br/>{{floruit|2010|2015|b=yes|ca=both|ca-tt=yes|pfx=active}}<br/>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 14:30, 8 December 2016

[display options] [prepended text] [prefix options] fl.|[active] [date options] [date|range] [date unit(s)] [suffix(es)]
fl. 2010s
(active c. 2010 – c. 2015)