Difference between revisions of "Template:Floruit/sandbox"

From blackwiki
Jump to navigation Jump to search
(Clear; {{date}} weirdness precludes its use. May or may not replace with native date checking routines.)
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|floruit}}: 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;}}}}}}{{trim|{{{2|{{{date2|}}}}}}}}{{#ifeq:{{fdate|{{{1|{{{date|}}}}}}}}|{{fdate|{{{2|{{{date2|}}}}}}}}|{{#ifeq:{{fdate|{{{1|{{{date1|}}}}}}|none}}|{{fdate|{{{2|{{{date2|}}}}}}|none}}|{{#switch:{{{sfx|}}}|b-a|b-c=|&#32;{{error|message=<small>&#91;error in template {{tl2|floruit}}: date range with start date same as end date&#93;</small>}}}}}}}}{{#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>}}}}}}|{{#if:{{{2|{{{date2|}}}}}}|{{#if:{{{1|{{{date|}}}}}}||{{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/sandbox|2010s}}<br/>{{floruit/sandbox|1January 2010|01  january 2010|b=yes|ca=both}}<br/>{{floruit/sandbox|1 January 2010|2 January 2010|b=yes|ca=both}}<br/>{{floruit/sandbox|2010|2010|b=yes|ca=both|sfx=bc}}<br/>{{floruit/sandbox|2010|2010|b=yes}}<br/>{{floruit/sandbox|about 2010s|about 2010s|b=yes}}<br/>{{floruit/sandbox|2000s|2010s|b=yes}}<br/>
 
__NOTOC__
 
===Date formatting parameters===
 
Suggested:
 
*{{bxtn|date}} or {{bxtn|[1]}} (stand-alone date, or start date in a range){{spnd}} the time period (or the start of a time period) during which the subject is known to have been active or popular. Values may be in any relevant date unit. You may also use this parameter as a free-form field, for stand-alone dates or for date ranges; such ranges must be separated by a [[spaced en dash]] where applicable ([[WP:DATERANGE]]). For time periods not delimited with start and end dates (such as "1990s" or "21st century") use this parameter only; in ranges with start and end dates, the additional parameter {{bxt|date2}} below may be used, and is recommended. Apply any of Wikipedia's [[MOS:DATEFORMAT|acceptable date formats]], but please follow the relevant format established in the article, if any. In general, there is no date-checking performed by the template; inaccurate, non-existent, or impossible dates will display as entered. Depending on the prefix used (parameter {{bxt|pfx}} [[#pref|below]]), the value of {{bxt|date}} may be preceded by a [[narrow no-break space]], or by a [[no-break space]]. A value for this parameter {{em|may be required}} by other options.
 
:{{em|id=unnamed|Note:}} You may treat {{bxt|date}} as an unnamed parameter, and insert only its desired value.
 
:{{em|id=space|Note:}} When {{bxt|date}} is not utilized, displayed output may vary according to user formatting.
 
:{{en dash}}{{nbsp}}{{em|for examples see}} [[#dec|here]] {{em|(named and unnamed) and}} [[#plain|here]] {{em|(not used)}}
 
*{{bxtn|date2}} or {{bxtn|[2]}} (end date in range){{spnd}} use to format the end date (or end period) in ranges delimited with start and end dates; this parameter is recommended when depicting such ranges. Values may be in any relevant date unit. {{em|Requires}} a start date (parameter {{bxt|date}}). A [[spaced en dash]] is used as the range separator. A value for this parameter {{em|may be required}} by other options.
 
:{{em|id=unnamed2|Note:}} You may treat {{bxt|date2}} as an unnamed parameter, and insert only its desired value.
 
:{{em|Note:}} A rare case in formatted ranges {{em|requires}} use of parameter {{bxt|sfx}}, see [[#suf|below]].
 
:{{en dash}}{{nbsp}}{{em|for examples see}} [[#brc|here]] {{em|(named and unnamed, include additional option)}}
 
Optional:
 
*{{bxtn|ca}} (circa){{spnd}} use for [[circa]] dates; the additional prefix "c.", preceded by a narrow no-break space, is inserted before the relevant date(s) (&#8239;c.). The dependent parameter {{bxt|ca-tt}} below may be used to add a [[tooltip]] definition over "c.".
 
**set {{para|ca|yes}} or {{para|ca|date}} to apply circa independently of any parameter; or to apply to parameter {{bxt|date}} where it is used as a stand-alone (or free-form) date, or where it is used as the start date in formatted ranges
 
**set {{para|ca|date2}} in formatted ranges {{italics correction|{{em|only}}}}; applies to the end date (parameter {{bxt|date2}})
 
**set {{para|ca|both}} in formatted ranges as above, but applies to both start and end date (parameters {{bxt|date}} and {{bxt|date2}})
 
:{{en dash}}{{nbsp}}{{em|for examples see}} [[#ca1|here]] {{em|(stand-alone date)}},  [[#ca1a|here]] {{em|(start date in range)}}, [[#ca2|here]] {{em|(end date in range), and}} [[#ca12|here]] {{em|(start and end date in range)}}
 
*{{anchor|catt}}{{bxtn|ca-tt}} (circa tooltip){{spnd}} use to display the tooltip {{abbr|c.|circa}} (circa){{efn|name=ttip|In code, tooltips are generated via {{tl|abbr}}.}} when the cursor hovers over "c.", by setting {{para|ca-tt|yes}}.{{efn|name=noerr|Any other value is ignored silently.}} Parameter {{bxt|ca}} is {{em|required}}; when it is set to {{para|ca|both}}, the circa tooltip appears over the first instance of "c." only.
 
:{{en dash}}{{nbsp}}{{em|see last two examples under parameter}} {{bxt|ca}} {{em|above}}
 
Conditional ({{em|require a value for parameter}} {{bxt|date}}; {{em|may require a value for parameter}} {{bxt|date2}}):
 
*{{bxtn|unit}} (date unit){{spnd}} use this parameter to specify a date unit for the floruit date or range, preceded by a no-break space. When this parameter is used with formatted ranges, its value may apply to the end date; or, to both start and end date.
 
**set {{para|unit|c}}  to add "century" after parameter {{bxt|date}} when it is a stand-alone (or free-form) date; or, in formatted ranges, to add the unit after the end date (parameter {{bxt|date2}})
 
**set {{para|unit|m}} as above, but adds "millennium" instead
 
**set {{para|unit|c-c}} in formatted ranges {{italics correction|{{em|only}}}}; adds "century" after both the start and the end date ({{bxt|date}} and {{bxt|date2}})
 
**set {{para|unit|m-m}} in formatted ranges as above, but adds "millennium" instead
 
:{{en dash}}{{nbsp}}{{em|for examples see}} [[#du1|here]] {{em|(stand-alone date)}}, [[#ca2|here]] {{em|(end date in range), and}} [[#du12|here]] {{em|(start and end date in range)}}
 
*{{bxtn|sortable}}{{spnd}} set {{para|sortable|yes}} to format the value for parameter {{bxt|date}} so that it is displayed properly within [[WP:TABLESORT|sortable table]]s; sorting is applied to stand-alone dates, or to start dates in formatted ranges. This parameter works correctly {{em|only}} with dates that conform to Wikipedia's [[MOS:DATEFORMAT|acceptable date formats]]. Avoid embedding other templates to {{bxt|date}} when {{bxt|sortable}} is used; results may be inconsistent.{{efn|name=dts}}
 
:{{em|id=sorted|Note:}} When {{bxt|sortable}} is used, year values less than 1000 require leading zeroes up to the century digit, e.g. "050". Era suffixes (via parameter {{bxt|sfx}} [[#suf|below]]) are ignored.
 
:{{en dash}}{{nbsp}}{{em|for an example see}} [[#sort|here]] ({{em|includes additional options}})
 
  
===Suffix formatting parameters===
 
Conditional ({{em|require a value for parameter}} {{bxt|date}}; {{em|may require a value for parameter}} {{bxt|date2}}):
 
*{{anchor|suf}}{{bxtn|sfx}} (suffix){{spnd}} use this parameter to add an era suffix preceded by a no-break space to the floruit date or range. Displays in plain text, but you may use the dependent parameter {{bxt|sfx-lk}} below to display with an appropriate wikilink. The available options conform to the [[MOS:ERA|default calendar era]]. If parameter {{bxt|unit}} is specified, the suffix follows the unit value. When this parameter is used with formatted ranges, its value may appear only after the end date{{spnd}} {{em|except}} when the date range straddles eras.
 
**set {{para|sfx|ad}} to display the suffix AD ([[Anno Domini]]) after parameter {{bxt|date}} when used as a stand-alone (or free-form) date; or, in formatted ranges, after the end date (parameter {{bxt|date2}})
 
**set {{para|sfx|bc}} as above, but displays the suffix BC ([[Anno Domini|Before Christ]])
 
**set {{para|sfx|bce}} as above, but displays the suffix BCE ([[Common Era|Before Common Era]])
 
**set {{para|sfx|ce}} as above, but displays the suffix CE ([[Common Era]])
 
**set {{para|sfx|b-a}} in formatted ranges {{em|only}}, to denote they straddle eras; displays BC after the start date (parameter {{bxt|date}}) and AD after the end date (parameter {{bxt|date2}})
 
**set {{para|sfx|b-c}} in formatted ranges as above, but displays BCE after the start date and CE after the end date
 
:{{em|id=same|Note:}} When era-straddling ranges have the same start and end dates,{{efn|name=fdate|In order to compare range dates, relevant values are coded as inputs for the transcluded template {{tl|fdate}}.}} parameter {{bxt|sfx}} is {{em|required}}, with {{em|an appropriate value}}.
 
:{{en dash}}{{nbsp}}{{em|for examples see}} [[#suf1|here]] {{em|(free-form range)}}, [[#suf2|here]] {{em|(end date in range), and}} [[#suf12|here]] {{em|(range straddles eras)}}
 
*{{bxtn|sfx-lk}} (suffix link){{spnd}} use to wikilink the suffix to the appropriate page, by setting {{para|sfx-lk|yes}};{{efn|name=noerr|Any other value is ignored silently.}} parameter {{bxt|sfx}} is {{em|required}}.
 
:{{en dash}}{{nbsp}}{{em|for an example see}} [[#suf-lk|here]]
 
 
==Examples==
 
*{{anchor|dec}}{{strong|Decade, stand-alone}}
 
:<code><nowiki>{{floruit|date=2010s}}</nowiki></code>
 
:or
 
:<code><nowiki>{{floruit|2010s}}</nowiki></code> ([[#unnamed|{{em|note}}]])
 
:Either generates: {{floruit|2010s}}
 
*{{anchor|brc}}{{strong|Decade range, formatted, in parentheses}}
 
:<code><nowiki>{{floruit|date=2000|date2=2010|b=yes}}</nowiki></code>
 
:or
 
:<code><nowiki>{{floruit|2000|2010|b=yes}}</nowiki></code> ([[#unnamed2|{{em|note}}]])
 
:Either generates: {{floruit|2000|2010|b=yes}}
 
*{{anchor|ca1}}{{strong|Circa decade, stand-alone}}
 
:<code><nowiki>{{floruit|date=2000s|ca=yes}}</nowiki></code>
 
:Generates: {{floruit|date=2000s|ca=yes}}
 
*{{anchor|ca1a}}{{strong|Circa start date in formatted decade range}}
 
:<code><nowiki>{{floruit|2000|2010|ca=date}}</nowiki></code>
 
:Generates: {{floruit|2000|2010|ca=date}}
 
*{{anchor|ca2}}{{strong|Circa end date in formatted century range, with circa tooltip, and date unit}}
 
:<code><nowiki>{{floruit|date=20th|date2=21st|ca=date2|ca-tt=yes|unit=c}}</nowiki></code>
 
:Generates: {{floruit|date=20th|date2=21st|ca=date2|ca-tt=yes|unit=c}}
 
*{{anchor|ca12}}{{strong|Circa formatted century range, with circa tooltip and date unit}}
 
:<code><nowiki>{{floruit|date=20th|date2=21st|ca=both|ca-tt=yes|unit=c}}</nowiki></code>
 
:Generates: {{floruit|date=20th|date2=21st|ca=both|ca-tt=yes|unit=c}}
 
*{{anchor|du1}}{{strong|Date unit, stand-alone century}}
 
:<code><nowiki>{{floruit|date=21st|unit=c}}</nowiki></code>
 
:Generates: {{floruit|date=21st|unit=c}}
 
*{{anchor|du12}}{{strong|Date units, formatted century range}}
 
:<code><nowiki>{{floruit|date=20th|date2=21st|unit=c-c}}</nowiki></code>
 
:Generates: {{floruit|date=20th|date2=21st|unit=c-c }}
 
*{{anchor|plain}}{{strong|Prefix only, in plain text}}
 
:<code><nowiki>{{floruit|pfx-lk=no}} 2010s</nowiki></code> ([[#space|{{em|note}}]])
 
:Generates: {{floruit|pfx-lk=no}} 2010s
 
*{{anchor|act}}{{strong|"Active" prefix, formatted range}}
 
:<code><nowiki>{{floruit|date=January 2000|date2=April 2001|pfx=active}}</nowiki></code>
 
:Generates: {{floruit|date=January 2000|date2=April 2001|pfx=active}}
 
*{{anchor|ttip}}{{strong|Year range, formatted, prefix with tooltip}}
 
:<code><nowiki>{{floruit|date=2010|date2=2016|pfx-lk=abbr}}</nowiki></code>
 
:Generates: {{floruit|date=2010|date2=2016|pfx-lk=abbr}}
 
*{{anchor|suf1}}{{strong|Suffix, free-form decade range}}
 
:<code><nowiki>{{floruit|date=2000s to 2010s|sfx=ce}}</nowiki></code>
 
:Generates: {{floruit|date=2000s to 2010s|sfx=ce}}
 
*{{anchor|suf2}}{{strong|Suffix, formatted mixed-unit range}}
 
:<code><nowiki>{{floruit|date=1990s|date2=before 2010|sfx=ce}}</nowiki></code>
 
:Generates: {{floruit|date=1990s|date2=before 2010|sfx=ce}}
 
*{{anchor|suf12}}{{strong|Suffix, formatted century range straddles eras, with date units}}
 
:<code><nowiki>{{floruit|date=1st|date2=1st|unit=c-c|sfx=b-a}}</nowiki></code> ([[#same|{{em|note}}]])
 
:Generates: {{floruit|date=1st|date2=1st|unit=c-c|sfx=b-a}}
 
*{{anchor|suf-lk}}{{strong|Suffix wikilinked, circa start date in formatted decade range}}
 
:<code><nowiki>{{floruit|date=2000s|date2=2010s|ca=yes|sfx=ce|sfx-lk=yes}}</nowiki></code>
 
:Generates: {{floruit|date=2000s|date2=2010s|ca=yes|sfx=ce|sfx-lk=yes}}
 
*{{anchor|prep}}{{strong|Prepend text, "active" prefix in plain text, formatted range, in parentheses}}
 
:<code><nowiki>{{floruit|date=January|date2=October 2000|pre=also known as John Doe,|b=yes|pfx=active|pfx-lk=no}}</nowiki></code>
 
:Generates: {{floruit|date=January|date2=October 2000|pre=also known as John Doe,|b=yes|pfx=active|pfx-lk=no}}
 
*{{anchor|sort}}{{strong|Sortable year, word wrap is on, prefix italicized, and suffix}}
 
:<code><nowiki>{{floruit|date=050|sortable=yes|pfx-style=italics|sfx=bce|wrap=yes}}</nowiki></code> ([[#sorted|{{em|note}}]])
 
:Generates: {{floruit|date=050|sortable=yes|pfx-style=italics|sfx=bce|wrap=yes}}
 
 
==Error messages==
 
Multiple errors are flagged per parameter; errors involving the same parameter may be mutually exclusive. Error messages may also appear {{em|conditionally}}, depending on the use of particular options; for example, when a formatted range is not defined, adding a circa value for the end date (via parameter {{bxt|ca}}), will produce a "[[#err2|wrong value]]" error even if correct ({{para|ca|date2}}).<br>
 
Messages may precede, follow or replace the relevant parameter value(s), and appear in the following cases:{{efn|name=tl2|When error messages appear in live usage, the included [[template:tl2|template link]] to {{bxtn|{{tlf|floruit}}}} is active.}}<br/><br/>
 
{{strong|Parameters {{bxt|b}}, {{bxt|ca}}, {{bxt|pfx-style}}, {{bxt|pfx-lk}}, {{bxt|unit}}, {{bxt|sortable}}}} and {{bxt|wrap}}
 
*{{anchor|err2}}Incorrect value: {{error|message=<small>&#91;error in template {{tl2|floruit}}: {{var|parameter}} option with wrong value&#93;</small>}}
 
{{strong|Parameters {{bxt|b}}, {{bxt|unit}}, {{bxt|sfx}}}} and {{bxt|sortable}}
 
*Date required: {{error|message=<small>&#91;error in template {{tl2|floruit}}: {{var|parameter}} option requires a date value&#93;</small>}}
 
{{strong|Parameter {{bxt|date2}}}}
 
*Start date missing: {{error|message=&#32;<small>&#91;error in template {{tl2|floruit}}: date range requires a start date&#93;</small>}}
 
*Start date same as end date: {{error|message=&#32;<small>&#91;error in template {{tl2|floruit}}: date range with start date same as end date&#93;</small>}}
 
{{strong|Parameter {{bxt|pfx}}}}
 
*Incorrect or unsupported prefix: {{error|message=<small>&#91;error in template {{tl2|floruit}}: invalid prefix option&#93;</small>}}
 
{{strong|Parameter {{bxt|pfx-style}}}}
 
*Prefix style not applicable: {{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix style not compatible with prefix option&#93;</small>}}
 
{{strong|Parameter {{bxt|pfx-lk}}}}
 
*Prefix link not allowed with the prefix used: {{error|message=<small>&#91;error in template {{tl2|floruit}}: prefix link inconsistent with prefix option&#93;</small>}}
 
{{strong|Parameter {{bxt|ca-tt}}}}
 
*Circa option required: {{error|message=<small>&#91;error in template {{tl2|floruit}}: circa tooltip option requires circa&#93;</small>}}
 
{{strong|Parameter {{bxt|sfx}}}}
 
*Incorrect or unsupported entry: {{error|message=<small>&#91;error in template {{tl2|floruit}}: wrong or unsupported suffix&#93;</small>}}
 
{{strong|Parameter {{bxt|sfx-lk}}}}
 
*Suffix not defined: {{error|message=<small>&#91;error in template {{tl2|floruit}}: suffix link requires suffix&#93;</small>}}
 
{{strong|Parameter {{bxt|sortable}}}}
 
*Incorrect date format:{{efn|name=dts-err|Trap for related {{tl|dts}} native errors.{{efn|name=dts}}}} {{error|message=<small>&#91;error in template {{tl2|floruit}}: wrong date format for the sortable option&#93;</small>}}
 
 
{{notelist}}
 
 
</noinclude>
 

Revision as of 00:55, 29 December 2016