Difference between revisions of "Template:Display"

From blackwiki
Jump to navigation Jump to search
imported>Pppery
(Adding tfd tag)
imported>Pppery
(This is better-structured as a merge. Also, noincluding given that the template is used in system messages)
Line 1: Line 1:
{{Template for discussion/dated|action=|page=Display|link=Wikipedia:Templates for discussion/Log/2019 March 11#Template:Display|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}
+
<noinclude>{{Tfm/dated|page=Display|otherpage=show by|link=Wikipedia:Templates for discussion/Log/2019 March 11#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}}}}}}

Revision as of 00:33, 11 March 2019

Template:Tfm/dated{{{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