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

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(Reverted 1 edit by Alakzi (talk): Testcases prior ot my change. (TW))
imported>Izkala
(restore mine)
Line 1: Line 1:
 
{{editnotice
 
{{editnotice
| expiry = {{{expiry|}}}
+
| expiry     = {{{expiry|}}}
| image = [[File:Ambox deletion.png|alt=|link=]]
+
| image       = [[File:Ambox deletion.png|alt=|link=]]
| header = ADDITION OF FUTURE EPISODE INFORMATION
+
| header     = ADDITION OF FUTURE EPISODE INFORMATION
| headerstyle = font-size:150%;color:darkred;
+
| headerstyle = font-size: 150%; color: darkred;
| text =  
+
| text       =  
Future episode information including '''titles''', '''air dates''' and '''summary descriptions''' require '''[[Wikipedia:Identifying reliable sources|references]]'''. Future episode information without the required references will be deleted. {{#ifeq:{{#if:{{{source|}}}|{{{source}}}|none}}|none||A good source of information is {{#switch:{{{source|}}}
+
Future episode information including '''titles''', '''air dates''' and '''summary descriptions''' require '''[[Wikipedia:Identifying reliable sources|references]]'''. Future episode information without the required references will be deleted. {{#if:{{{source|}}}|{{#switch:{{{source}}}
|radiotimes=[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=[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}}.}}
 +
}}}}
 
}}<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:03, 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
  • 29 June 2026
  • 17:35 November 11 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