Difference between revisions of "Template:Display"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Primefac
(TFD closed as no consensus (XFDcloser))
 
Line 1: Line 1:
<noinclude>{{Tfm/dated|page=Display|otherpage=show by date|link=Wikipedia:Templates for discussion/Log/2019 March 18#Template:Display|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}</noinclude>{{#ifexpr:{{#time:U|{{CURRENTTIMESTAMP}}}}<{{#iferror:{{#time:U|{{{until}}}}}|100000000000000}}
+
{{#ifexpr:{{#time:U|{{CURRENTTIMESTAMP}}}}<{{#iferror:{{#time:U|{{{until}}}}}|100000000000000}}
 
  |{{#ifexpr:{{#time:U|{{CURRENTTIMESTAMP}}}}>{{#iferror:{{#time:U|{{{from}}}}}|0}}
 
  |{{#ifexpr:{{#time:U|{{CURRENTTIMESTAMP}}}}>{{#iferror:{{#time:U|{{{from}}}}}|0}}
 
   |{{{text|{{{1}}}}}}
 
   |{{{text|{{{1}}}}}}

Latest revision as of 23:22, 1 May 2019

{{{1}}}

Template documentation[view] [edit] [history] [purge]

Usage

This template can be used to specify when some content is displayed. It takes three named parameters:

  • from - the time or date when the content will be displayed from;
  • until - the time or date when the content will be displayed until;
  • text - the text (or other content) to be displayed.

See also

cy:Nodyn:Display es:Plantilla:Mostrar fr:Modèle:Affichage