Jump to content

Template:Floruit: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Copy from Template:circa -- use Abbr template
Cmnt pos.
(33 intermediate revisions by 9 users not shown)
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>
{{#if:{{{sortable|}}}
[{{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/>
|<span style="display:none;">{{{1|}}}</span>
}}{{#if:{{{i|}}}
{{documentation}}
|<nowiki/>''
}}{{#switch:{{{lk|}}}
|no|off = fl.
|yes|on = [[Floruit|fl.]]
|abbr
|#default = {{Abbr|fl.|floruit}}
}}{{#if:{{{i|}}}
|''<nowiki/>
}}{{#if:{{{1|}}}
|<span style="white-space:nowrap;">&thinsp;{{{1}}}</span>
}}{{#if:{{{2|}}}
|&nbsp;– c.<span style="white-space:nowrap;">&thinsp;{{{2}}}</span>
}}<noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 20:26, 6 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)