Difference between revisions of "Template:Character redirect entry/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jj98
imported>Rich Farmbrough
(Update deprecated redirect template.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
#Redirect [[Template:R from fictional character/doc]]
<!-- Categories and interwikis go at the bottom of this page. -->
 
This is a [[Wikipedia:Redirect|redirect]] from a television related title for an [[WP:WAF|character]] to a [[WP:LIST|list of characters]], a type of article which is a collection of brief descriptions and covers the subject more comprehensively. Links to list entries should use this redirect and should '''not''' be piped with the target pagename. This allows "what links here" to be used to identify the links to the individual sections.
 
  
==Usage==
+
{{Redirect category shell|1=
Without any arguments, this template automatically categorizes pages to [[:Category:Characters redirects to lists]], a subcategory of [[:Category:Redirects to list entries]].
+
{{Redirect from documentation subpage}}
 
+
{{Redirect to subpage}}
'''Please note:''' the first time that the TV series-specific category is used, that category should itself by categorized in [[:Category:Characters redirects to lists]] by adding <nowiki>[[Category:Episode redirects to lists]]</nowiki> to the TV series-specific category page - likely, if the TV series category appears as a red link on redirection page, this step needs to be performed.  Additionally, it is recommended to include {{tl|Wikipedia category}} to the top of the TV series category page to identify the category as for Wikipedia internals and not general encyclopedic use. Due to a [http://bugzilla.wikimedia.org/show_bug.cgi?id=939 nuance] in how templates and categories are updated, you may need to edit the redirected page twice to fully activate that category.
+
{{Redirect for convenience}}
 
+
}}
===Series name===
 
An optional argument may be supplied to give the name of the TV series the episode is part of; this will sort the episode in a category for that TV series. For example, '''<nowiki>{{ER to list entry|SpongeBob SquarePants}}</nowiki>''' will place the character redirection into [[:Category:SpongeBob SquarePants characters redirects to lists]].
 
 
 
===Sorting===
 
A second argument can be used to provide a sortable name for the character being redirected, for example, '''<nowiki>{{ER to list entry|The Venture Bros.|Monarch, The}}</nowiki>''' will list the character "The Monarch" in alphabetically order by "Monarch" instead of by "The" in the categories.  Without the second parameter, the template sorts on the page name, or the  [[WP:DEFAULTSORT|DEFAULTSORT]].
 
 
 
<includeonly>
 
[[Category:WikiProject Television templates|Lists]]
 
[[Category:Characters redirects to lists| ]]
 
[[Category:Templates for redirects relating to fiction|Characters]]
 
[[Category:All redirect templates]]
 
</includeonly>
 

Latest revision as of 22:03, 1 May 2017