Difference between revisions of "Template:Future episodes editnotice/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(restore mine)
imported>Izkala
(sync)
Line 8: Line 8:
 
  | radiotimes = A good source of information is [http://www.radiotimes.com/search?q={{urlencode:{{{searchterm|{{SUBPAGENAME}}}}}}} Radio Times].
 
  | radiotimes = A good source of information is [http://www.radiotimes.com/search?q={{urlencode:{{{searchterm|{{SUBPAGENAME}}}}}}} Radio Times].
 
  | tvguide    = A good source of information is [http://www.tvguide.com/search/index.aspx?keyword={{urlencode:{{{searchterm|{{SUBPAGENAME}}}}}}} TV Guide].
 
  | tvguide    = A good source of information is [http://www.tvguide.com/search/index.aspx?keyword={{urlencode:{{{searchterm|{{SUBPAGENAME}}}}}}} TV Guide].
  | #default  = {{error|Error: {{{source}}} is not a valid option for {{para|source}}.}}
+
  | #default  = {{error|Error: "{{{source}}}" is not a valid option for {{para|source}}.}}
 
  }}}}
 
  }}}}
 
}}<includeonly>[[Category:Pages with Future episodes editnotice]]</includeonly><noinclude>
 
}}<includeonly>[[Category:Pages with Future episodes editnotice]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:13, 13 April 2015

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

Usage

For use in editnotices. Editnotices using it appear in Category:Pages with Future episodes editnotice.

Parameters

  • |expiry=expiry date
  • |source=
  • |searchterm=keywords

Expiry date

The expiry parameter can be used to specify when an editnotice will cease to be visible on an article. This can be useful when an editnotice is created for reasons of a temporal nature. Any valid time format may be used, for example:

  • December 2025
  • 10 June 2026
  • 19:08 October 23 2026

To specify that an editnotice never expire, |expiry=indefinite may be used.

Source

The template can display a link for searching TV Guide or Radio Times using the following syntax:

  • |source=tvguide
  • |source=radiotimes

Search term

By default, the search term is the name of the page where the editnotice is placed. This may be amended, e.g. |searchterm=An Unearthly Child would search for "An Unearthly Child".

See also