Difference between revisions of "Template:Animanga by year category header"

From blackwiki
Jump to navigation Jump to search
(optimize/shorten/tweak source, should be no visible changes)
m (33 revisions imported)
 
(23 intermediate revisions by 12 users not shown)
Line 3: Line 3:
 
Default values are only given for the purpose of a working example here - links, categories, and text will not work/display if parameters are omitted when the template is transcluded!
 
Default values are only given for the purpose of a working example here - links, categories, and text will not work/display if parameters are omitted when the template is transcluded!
  
--><table class="toccolours" align="center">
+
--><table class="toccolours" style="margin:1em auto;">
<tr><th>{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the [[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{{2|200}}}0s|{{{2|200}}}0s]]</th></tr>
+
<tr><th>{{#if:{{{header|}}}|{{{header}}}|{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{LinkCatIfExists2|{{{2|201}}}0s {{lc:{{{1|Manga}}}}}|{{{2|201}}}0s}}}}</th></tr>
 
{{#if: {{{individual|}}} ||
 
{{#if: {{{individual|}}} ||
<tr><td style="text-align:center;">[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{#expr: {{{2|200}}} - 1 }}0s|'''&larr;{{#expr: {{{2|200}}} - 1 }}0s]]''' {{!}} <!--
+
<tr><td style="text-align:center;">{{LinkCatIfExists2|{{#expr: {{{2|201}}} - 1 }}0s {{lc:{{{1|Manga}}}}}|'''{{#expr: {{{2|201}}} - 1 }}0s'''}} {{!}} <!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}0|{{{2|200}}}0]]–<!--
+
-->{{LinkCatIfExists2|{{{2|201}}}0 {{lc:{{{1|manga}}}}}|{{{2|201}}}0}}–<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}1|{{{2|200}}}1]]–<!--
+
-->{{LinkCatIfExists2|{{{2|201}}}1 {{lc:{{{1|manga}}}}}|{{{2|201}}}1}}–<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}2|{{{2|200}}}2]]–<!--
+
-->{{LinkCatIfExists2|{{{2|201}}}2 {{lc:{{{1|manga}}}}}|{{{2|201}}}2}}–<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}3|{{{2|200}}}3]]–<!--
+
-->{{LinkCatIfExists2|{{{2|201}}}3 {{lc:{{{1|manga}}}}}|{{{2|201}}}3}}–<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}4|{{{2|200}}}4]]–<!--
+
-->{{LinkCatIfExists2|{{{2|201}}}4 {{lc:{{{1|manga}}}}}|{{{2|201}}}4}}–<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}5|{{{2|200}}}5]]–<!--
+
-->{{LinkCatIfExists2|{{{2|201}}}5 {{lc:{{{1|manga}}}}}|{{{2|201}}}5}}–<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}6|{{{2|200}}}6]]–<!--
+
-->{{LinkCatIfExists2|{{{2|201}}}6 {{lc:{{{1|manga}}}}}|{{{2|201}}}6}}–<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}7|{{{2|200}}}7]]–<!--
+
-->{{LinkCatIfExists2|{{{2|201}}}7 {{lc:{{{1|manga}}}}}|{{{2|201}}}7}}–<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}8|{{{2|200}}}8]]–<!--
+
-->{{LinkCatIfExists2|{{{2|201}}}8 {{lc:{{{1|manga}}}}}|{{{2|201}}}8}}–<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}9|{{{2|200}}}9]] {{!}} <!--
+
-->{{LinkCatIfExists2|{{{2|201}}}9 {{lc:{{{1|manga}}}}}|{{{2|201}}}9}} {{!}} <!--
-->'''[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{#expr: {{{2|200}}} + 1}}0s|{{#expr: {{{2|200}}} + 1 }}0s &rarr;]]'''</td></tr>
+
-->'''{{LinkCatIfExists2|{{#expr: {{{2|201}}} + 1}}0s {{lc:{{{1|Manga}}}}}|{{#expr: {{{2|201}}} + 1 }}0s →}}'''</td></tr>
 
}}<tr><td style="text-align: center;"><!--
 
}}<tr><td style="text-align: center;"><!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1910s|1910s]]—<!--
+
-->{{LinkCatIfExists2|1900s {{lc:{{{1|manga}}}}}|1900s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1920s|1920s]]—<!--
+
-->{{LinkCatIfExists2|1910s {{lc:{{{1|manga}}}}}|1910s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1930s|1930s]]—<!--
+
-->{{LinkCatIfExists2|1920s {{lc:{{{1|manga}}}}}|1920s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1940s|1940s]]—<!--
+
-->{{LinkCatIfExists2|1930s {{lc:{{{1|manga}}}}}|1930s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1950s|1950s]]—<!--
+
-->{{LinkCatIfExists2|1940s {{lc:{{{1|manga}}}}}|1940s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1960s|1960s]]—<!--
+
-->{{LinkCatIfExists2|1950s {{lc:{{{1|manga}}}}}|1950s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1970s|1970s]]—<!--
+
-->{{LinkCatIfExists2|1960s {{lc:{{{1|manga}}}}}|1960s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1980s|1980s]]—<!--
+
-->{{LinkCatIfExists2|1970s {{lc:{{{1|manga}}}}}|1970s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1990s|1990s]]—<!--
+
-->{{LinkCatIfExists2|1980s {{lc:{{{1|manga}}}}}|1980s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 2000s|2000s]]—<!--
+
-->{{LinkCatIfExists2|1990s {{lc:{{{1|manga}}}}}|1990s}}—<!--
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 2010s|2010s]]</td></tr>
+
-->{{LinkCatIfExists2|2000s {{lc:{{{1|manga}}}}}|2000s}}—<!--
<tr><td style="text-align: center;">''See also: {{
+
-->{{LinkCatIfExists2|2010s {{lc:{{{1|manga}}}}}|2010s}}</td></tr>
  #switch: {{lc:{{PAGENAME}}}}
+
<tr><td style="text-align: center;">{{
  | {{lc:{{{1}}}}} of the {{{2}}}0s = [[:Category:{{#ifeq:{{lc:{{{1}}}}}|anime|Manga|Anime}} of the {{{2}}}0s]]
+
  #ifeq: {{lc:{{PAGENAME}}}} | {{lc:{{{1}}}}} (year of release missing)
  | {{lc:{{{1}}}}} of {{{2}}}{{{3}}} = [[:Category:{{#ifeq:{{lc:{{{1}}}}}|anime|Manga|Anime}} of {{{2}}}{{{3}}}]]
+
  || ''See also: {{
  | #default = <!-- demo --> {{
+
    #switch: {{lc:{{PAGENAME}}}}
    #if: {{{3|}}}
+
    | {{{2}}}0s {{lc:{{{1}}}}}     = {{LinkCatIfExists2|{{{2}}}0s {{#ifeq:{{lc:{{{1}}}}}|anime|manga|anime}}}}
    | [[:Category:{{#ifeq:{{lc:{{{1}}}}}|anime|Manga|Anime}} of {{{2|200}}}{{{3|0}}}]]
+
    | {{{2}}}{{{3}}} {{lc:{{{1}}}}} = {{LinkCatIfExists2|{{{2}}}{{{3}}} {{#ifeq:{{lc:{{{1}}}}}|anime|manga|anime}}}}
    | [[:Category:{{#ifeq:{{lc:{{{1}}}}}|anime|Manga|Anime}} of the {{{2|200}}}0s]]
+
    | #default = <!-- demo --> {{
   }}
+
      #if: {{{3|}}}
}}'' | ''Release year missing: [[:Category:Manga (year of release missing)|Manga]] · [[:Category:Anime (year of release missing)|Anime]]''
+
      | {{LinkCatIfExists2|{{{2|201}}}{{{3|0}}} {{#ifeq:{{lc:{{{1}}}}}|anime|manga|anime}}}}
 +
      | {{LinkCatIfExists2|{{{2|201}}}0s {{#ifeq:{{lc:{{{1}}}}}|anime|manga|anime}}}}
 +
    }}
 +
   }}'' {{!}}  
 +
}} ''Release year missing: {{LinkCatIfExists2|Manga (year of release missing)|Manga}} · {{LinkCatIfExists2|Anime (year of release missing)|Anime}}''
 
</td></tr>
 
</td></tr>
 
</table>
 
</table>
Line 47: Line 51:
 
     | [[Manga]] series and [[One-shot (comics)|one-shots]]
 
     | [[Manga]] series and [[One-shot (comics)|one-shots]]
 
     | [[Anime]] television series, specials, films, [[Original video animation|OVAs]], and [[Original net animation|ONAs]]
 
     | [[Anime]] television series, specials, films, [[Original video animation|OVAs]], and [[Original net animation|ONAs]]
   }} first released from January 1, {{
+
   }} {{
     #switch: {{lc:{{PAGENAME}}}}
+
     #ifeq: {{lc:{{PAGENAME}}}} | {{lc:{{{1}}}}} (year of release missing)
    | {{lc:{{{1}}}}} of the {{{2}}}0s = {{{2}}}0 through December 31, {{{2}}}9
+
    | for which the year of first release is unknown
    | {{lc:{{{1}}}}} of {{{2}}}{{{3}}} = {{{2}}}{{{3}}} through December 31, {{{2}}}{{{3}}}
+
    | first released from January 1, {{
    | #default = <!-- demo --> {{
+
      #switch: {{lc:{{PAGENAME}}}}
      #if: {{{3|}}}
+
      | {{{2}}}0s {{lc:{{{1}}}}}      = {{{2}}}0 through December 31, {{{2}}}9
      | {{{2|200}}}{{{3|0}}} through December 31, {{{2|200}}}{{{3|0}}}
+
      | {{{2}}}{{{3}}} {{lc:{{{1}}}}} = {{{2}}}{{{3}}} through December 31, {{{2}}}{{{3}}}
      | {{{2|200}}}0 through December 31, {{{2|200}}}9
+
      | #default = <!-- demo --> {{
 +
        #if: {{{3|}}}
 +
        | {{{2|201}}}{{{3|0}}} through December 31, {{{2|201}}}{{{3|0}}}
 +
        | {{{2|201}}}0 through December 31, {{{2|201}}}9
 +
      }}
 
     }}
 
     }}
 
   }}.
 
   }}.
Line 60: Line 68:
 
   #if: {{{nocat|}}} || {{
 
   #if: {{{nocat|}}} || {{
 
     #switch: {{lc:{{PAGENAME}}}}
 
     #switch: {{lc:{{PAGENAME}}}}
     | {{lc:{{{1}}}}} of the {{{2}}}0s  = [[Category:{{ucfirst:{{lc:{{{1}}}}}}} by decade of first release|{{{2}}}0]]{{
+
     | {{{2}}}0s {{lc:{{{1}}}}}     = [[Category:{{ucfirst:{{lc:{{{1}}}}}}} debuts by decade|{{{2}}}0]]{{
 
       #ifeq: {{lc:{{{1}}}}} | manga
 
       #ifeq: {{lc:{{{1}}}}} | manga
       | [[Category:{{{2}}}0s comics|{{PAGENAME}}]]
+
       | [[Category:{{{2}}}0s comics|Manga]]
       | [[Category:{{{2}}}0s in animation|{{PAGENAME}}]]
+
       | [[Category:{{{2}}}0s in animation|Manga]]
     }}[[Category:{{{2}}}0s works|{{PAGENAME}}]]
+
     }}[[Category:{{{2}}}0s works|Manga]]
     | {{lc:{{{1}}}}} of {{{2}}}{{{3}}} = [[Category:{{ucfirst:{{lc:{{{1}}}}}}} by year of first release|{{{2}}}{{{3}}}]][[Category:{{ucfirst:{{lc:{{{1}}}}}}} of the {{{2}}}0s| {{{3}}}]][[Category:{{{2}}}{{{3}}} works|{{PAGENAME}}]][[Category:{{{2}}}{{{3}}} in Japan|{{PAGENAME}}]]
+
     | {{{2}}}{{{3}}} {{lc:{{{1}}}}} = [[Category:{{ucfirst:{{lc:{{{1}}}}}}} debuts by year|{{{2}}}{{{3}}}]][[Category:{{{2}}}0s {{lc:{{{1}}}}}| {{{3}}}]][[Category:{{{2}}}{{{3}}} works|Manga]][[Category:{{{2}}}{{{3}}} in Japan|Anime]]
     | #default                         =  
+
     | #default                     =  
 
   }}
 
   }}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 +
 
</noinclude>
 
</noinclude>

Latest revision as of 11:54, 22 October 2020

Manga of the 2010s
←2000s | 2010201120122013201420152016201720182019 | 2020s →
1900s1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s
See also: 2010s anime | Release year missing: Manga · Anime

Manga series and one-shots first released from January 1, 2010 through December 31, 2019.

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

This template is meant to be used on categories in the animanga by year and decade category structure, where the top-level categories are Category:Anime debuts by date and Category:Manga debuts by date.

Usage

This template accepts several unnamed parameters. The first should be set to either "Anime" or "Manga", depending on what the category in question covers. The second one is the first three digits in the year (for instance, if the category covers 1997, the second parameter's value would be "199"). The third parameter should only be used on individual year categories, and consists of the last digit in the year.

In addition, there are three named parameters:

  • individual hides the years row if set to "no"
  • nolead hides the lead sentence ("Anime/manga series released from...") if set to yes
  • nocat prevents this template from adding categories to pages it is transcluded onto

Examples

Normal usage (Manga of the 1990s, Manga of 1997)
{{animanga by year category header|Manga|199}}
Manga of the 1990s
←1980s | 1990199119921993199419951996199719981999 | 2000s →
1900s1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s
See also: 1990s anime | Release year missing: Manga · Anime

Manga series and one-shots first released from January 1, 1990 through December 31, 1999.

{{animanga by year category header|Manga|199|7}}
Manga of the 1990s
←1980s | 1990199119921993199419951996199719981999 | 2000s →
1900s1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s
See also: 1997 anime | Release year missing: Manga · Anime

Manga series and one-shots first released from January 1, 1997 through December 31, 1997.

Hide year row (Manga of the 1930s)
{{animanga by year category header|Manga|193}}
Manga of the 1930s
←1920s | 1930193119321933193419351936193719381939 | 1940s →
1900s1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s
See also: 1930s anime | Release year missing: Manga · Anime

Manga series and one-shots first released from January 1, 1930 through December 31, 1939.

{{animanga by year category header|Manga|193|individual=no}}
Manga of the 1930s
1900s1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s
See also: 1930s anime | Release year missing: Manga · Anime

Manga series and one-shots first released from January 1, 1930 through December 31, 1939.

Normal usage (Anime of the 1990s, Anime of 1997)
{{animanga by year category header|Anime|199}}
Anime of the 1990s
←1980s | 1990199119921993199419951996199719981999 | 2000s →
1900s1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s
See also: 1990s manga | Release year missing: Manga · Anime

Anime television series, specials, films, OVAs, and ONAs first released from January 1, 1990 through December 31, 1999.

{{animanga by year category header|Anime|199|7}}
Anime of the 1990s
←1980s | 1990199119921993199419951996199719981999 | 2000s →
1900s1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s
See also: 1997 manga | Release year missing: Manga · Anime

Anime television series, specials, films, OVAs, and ONAs first released from January 1, 1997 through December 31, 1997.

Hide year row (Anime of the 1910s)
{{animanga by year category header|Anime|191}}
Anime of the 1910s
←1900s | 1910191119121913191419151916191719181919 | 1920s →
1900s1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s
See also: 1910s manga | Release year missing: Manga · Anime

Anime television series, specials, films, OVAs, and ONAs first released from January 1, 1910 through December 31, 1919.

{{animanga by year category header|Anime|191|individual=no}}
Anime of the 1910s
1900s1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s
See also: 1910s manga | Release year missing: Manga · Anime

Anime television series, specials, films, OVAs, and ONAs first released from January 1, 1910 through December 31, 1919.

See also

th:แม่แบบ:มังงะแบ่งตามปีที่ตีพิมพ์ th:แม่แบบ:อะนิเมะแบ่งตามปีที่ออกฉาย