Difference between revisions of "Template:Floruit/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Pburka
(Create sandbox version of Template:Floruit - copy from Template:circa)
 
(WIP 1.)
Line 1: Line 1:
{{#if:{{{sortable|}}}
+
<!--Begin {{floruit/sandbox}}--><includeonly>{{#ifeq:{{{sortable|}}}|yes|<span style="display:none;">{{{1|{{{era|}}}}}}</span>}}
|<span style="display:none;">{{{1|}}}</span>
+
{{#ifeq:{{{i|}}}|yes|<em>}}
}}{{#if:{{{i|}}}
+
{{#switch:{{{pre|{{{lk|}}}}}}
|<nowiki/>''
+
|no|off=fl.
}}{{#switch:{{{lk|}}}
+
|abbr={{abbr|fl.|floruit}}
|no|off   = fl.
+
|#default=[[floruit|fl.]]
|yes|on  = [[Floruit|fl.]]
+
}}
|abbr
+
{{#ifeq:{{{i|}}}|yes|</em>}}{{#ifeq:{{{ca|}}}|yes|<span style="white-space:nowrap;">&thinsp;c.</span>}}{{#if:{{{1|{{{era|}}}}}}|<span style="white-space:nowrap;">&thinsp;{{{1|{{{era}}}}}}</span>}}</includeonly><!--End {{floruit/sandbox}}--><noinclude>
|#default = {{Abbr|fl.|floruit}}
+
:{{floruit/sandbox|era=1980|pre=off}} → prefix=no tooltip, no wikilink
}}{{#if:{{{i|}}}
+
:{{floruit/sandbox|1980|lk=off|ca=yes}} → prefix=no tooltip, no wikilink → era=circa
|''<nowiki/>
+
:{{floruit/sandbox|era=1980|pre=abbr}} → prefix=tooltip
}}{{#if:{{{1|}}}
+
:{{floruit/sandbox|1980|lk=abbr|ca=yes}} → prefix=tooltip → era=circa
|<span style="white-space:nowrap;">&thinsp;{{{1}}}</span>
+
:{{floruit/sandbox|era=1980|i=yes}} → prefix=wikilinked, italics
}}{{#if:{{{2|}}}
+
:{{floruit/sandbox|1980|ca=yes}} → prefix=wikilinked → era=circa
|&nbsp;– c.<span style="white-space:nowrap;">&thinsp;{{{2}}}</span>
+
:{{floruit/sandbox|era=1980|pre=abbr|i=yes|sortable=yes}} → prefix=tooltip, italics → era=sortable
}}<noinclude>
 
{{Documentation}}
 
 
</noinclude>
 
</noinclude>

Revision as of 01:21, 17 February 2016

fl.  1980 → prefix=no tooltip, no wikilink

fl.  c. 1980 → prefix=no tooltip, no wikilink → era=circa

fl.  1980 → prefix=tooltip

fl.  c. 1980 → prefix=tooltip → era=circa

fl.  1980 → prefix=wikilinked, italics

fl.  c. 1980 → prefix=wikilinked → era=circa

1980

fl.  1980 → prefix=tooltip, italics → era=sortable