Difference between revisions of "User:Fbstj/t:series-tag"

From The Coppermind
Jump to navigation Jump to search
(tryu this)
 
m (-cat)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#if: {{:User:Fbstj/t:series-part|{{{1}}}|}}|<!--
 
<includeonly>{{#if: {{:User:Fbstj/t:series-part|{{{1}}}|}}|<!--
UNRECOGNISED:
 
-->[[category: unrecognised series]]<!--
 
ELSE: -->|<!--
 
 
-->[[<!--
 
-->[[<!--
 
LINK: -->{{:User:Fbstj/t:series-part|{{{1}}}|part=link}}<!--
 
LINK: -->{{:User:Fbstj/t:series-part|{{{1}}}|part=link}}<!--
Line 8: Line 5:
 
TEXT: -->{{:User:Fbstj/t:series-part|{{{1}}}|part=text}}<!--
 
TEXT: -->{{:User:Fbstj/t:series-part|{{{1}}}|part=text}}<!--
 
-->]]<!--
 
-->]]<!--
-->[[:category:<!--
+
-->[[category:<!--
 
CAT: -->{{:User:Fbstj/t:series-part|{{{1}}}|part=cat}}<!--
 
CAT: -->{{:User:Fbstj/t:series-part|{{{1}}}|part=cat}}<!--
 
-->]]<!--
 
-->]]<!--
  +
-->}}</includeonly><noinclude>[[category: link macros]]
 
 
ELSE: -->| [[category: unrecognised series]] <!--
  +
 
-->}}</includeonly><noinclude>[[:category: link macros]]
  +
 
This template accepts a single positional argument, {{t|series tag|some series}}. It produces a link to a series page and adds the current page to the series' category. It uses [[:User:Fbstj/t:series-part]] to convert the argument into usable things. If the series is unrecognised the page is added to [[:category: unrecognised series]].
 
This template accepts a single positional argument, {{t|series tag|some series}}. It produces a link to a series page and adds the current page to the series' category. It uses [[:User:Fbstj/t:series-part]] to convert the argument into usable things. If the series is unrecognised the page is added to [[:category: unrecognised series]].

Latest revision as of 19:49, 19 April 2020

category: link macros

This template accepts a single positional argument, {{series tag|some series}}. It produces a link to a series page and adds the current page to the series' category. It uses User:Fbstj/t:series-part to convert the argument into usable things. If the series is unrecognised the page is added to category: unrecognised series.