Difference between revisions of "Template:R from fictional element"

From blackwiki
Jump to navigation Jump to search
test>Primefac
m (Changed protection level for "Template:R from fictional element": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
test>Gonnym
(Added an option to tag multiple series with one use of the template. This is needed for shows like the Arrowverse where elements can appear in multiple shows and the category is needed for each, but there is no need to add the same redirect template for each one. This is more efficient)
Line 7: Line 7:
 
** For redirects named for fictional characters use {{tl|R from fictional character}}, and for redirects named for fictional places use {{tl|R from fictional location}}.
 
** For redirects named for fictional characters use {{tl|R from fictional character}}, and for redirects named for fictional places use {{tl|R from fictional location}}.
 
   |main category=Redirects from fictional elements
 
   |main category=Redirects from fictional elements
}}<includeonly>{{Main other|{{#if:{{{1|}}}|
+
}}<includeonly>{{Main other|{{#if: {{{multi|}}}<!--
   [[Category:{{{1}}} element redirects to lists{{#if:{{{2|}}}|
+
-->| {{R from fictional character/part|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|sort={{{sort|}}}|type=element}}<!--
                                                  {{!}}{{{2}}}
+
-->| {{#if: {{{1|}}}<!--
                                                }}]]|
+
   -->| [[Category:{{{1}}} element redirects to lists{{#if: {{{2|}}} | {{!}}{{{2}}} }}]]<!--
   [[Category:Fictional element redirects to lists{{#if:{{{2|}}}|
+
   -->| [[Category:Fictional element redirects to lists{{#if: {{{2|}}} | {{!}}{{{2}}} }}]] <!--
                                            {{!}}{{{2}}}
+
  -->}}<!--
                                          }}]]}}
+
-->}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
 
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 23:40, 2 June 2019

Template:This is a redirect/rcat

  • From a fictional element: This is a redirect from a fictional element (such as an object or concept) to a related fictional work or list of similar elements. The destination may be an article about a related fictional work that mentions this element, a subsection, or a standalone list of elements.
Template documentation[create]