Difference between revisions of "Template:Currently/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Anders Feder
(case handling)
imported>Anders Feder
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{ {{{|safesubst:}}}require subst
 
{{ {{{|safesubst:}}}require subst
−
   | {{subst:asofnow|alt={{subst:#if:{{{lc|}}}|currently|Currently}}{{subst:#if:{{{df|}}}|{{subst:!}}df={{{df}}}}}{{subst:#if:{{{url|}}}|{{subst:!}}url={{{url}}}}}}}
+
   | {{subst:As of now|alt={{subst:#if:{{{lc|}}}|currently|Currently}}{{subst:#if:{{{df|}}}|{{subst:!}}df={{{df}}}}}{{subst:#if:{{{url|}}}|{{subst:!}}url={{{url}}}}}}}
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 06:43, 7 March 2015


Usage: {{subst:currently}}

Inserts an {{As of}} with its year, month and day parameters filled in according to the current date, and with its alt parameter set to "currently" if lc is set, or to "Currently" if it is not.

Optional parameters df, and url are passed through to {{As of}} as is, if they are given.

Template must always be substituted, never transcluded.