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

From blackwiki
Jump to navigation Jump to search
blackwiki>Dinoguy1000
m (finish delinking the dates)
(misc tweaks: reword hidden comment, improve source readability, rm "Decades" and pluralize decade links, add 2010s dec link, add sortkeys for all cats, expand lead text)
Line 1: Line 1:
 
<!--
 
<!--
  
Default values are only given for the purpose of a working example here - categories will not work if parameters are omitted on transcluded pages!
+
Default values are only given for the purpose of a working example here - links will not work if parameters are omitted when the template is transcluded!
  
 
--><table class="toccolours" align="center">
 
--><table class="toccolours" align="center">
 
<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>{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the [[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{{2|200}}}0s|{{{2|200}}}0s]]</th></tr>
 
{{#ifeq: {{lc:{{{individual|}}}}} | no | <!-- nothing --> |
 
{{#ifeq: {{lc:{{{individual|}}}}} | no | <!-- nothing --> |
<tr><td style="text-align:center;">[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{#expr: {{{2|200}}} - 1 }}0s|'''&larr;{{#expr: {{{2|200}}} - 1 }}0s]]''' {{!}} [[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}0|{{{2|200}}}0]]–[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}1|{{{2|200}}}1]]–[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}2|{{{2|200}}}2]]–[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}3|{{{2|200}}}3]]–[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}4|{{{2|200}}}4]]–[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}5|{{{2|200}}}5]]–[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}6|{{{2|200}}}6]]–[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}7|{{{2|200}}}7]]–[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}8|{{{2|200}}}8]]–[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}9|{{{2|200}}}9]] {{!}} '''[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{#expr: {{{2|200}}} + 1}}0s|{{#expr: {{{2|200}}} + 1 }}0s &rarr;]]'''</td></tr>}}
+
<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;">'''Decades:''' [[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1910s|1910]]—[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1920s|1920]]—[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1930s|1930]]—[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1940s|1940]]—[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1950s|1950]]—[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1960s|1960]]—[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1970s|1970]]—[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1980s|1980]]—[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1990s|1990]]—[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 2000s|2000]]</td></tr>
+
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}0|{{{2|200}}}0]]–<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}1|{{{2|200}}}1]]–<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}2|{{{2|200}}}2]]–<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}3|{{{2|200}}}3]]–<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}4|{{{2|200}}}4]]–<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}5|{{{2|200}}}5]]–<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}6|{{{2|200}}}6]]–<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}7|{{{2|200}}}7]]–<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}8|{{{2|200}}}8]]–<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}9|{{{2|200}}}9]] {{!}} <!--
 +
-->'''[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{#expr: {{{2|200}}} + 1}}0s|{{#expr: {{{2|200}}} + 1 }}0s &rarr;]]'''</td></tr>
 +
}}<tr><td style="text-align: center;"><!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1910s|1910s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1920s|1920s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1930s|1930s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1940s|1940s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1950s|1950s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1960s|1960s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1970s|1970s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1980s|1980s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 1990s|1990s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 2000s|2000s]]—<!--
 +
-->[[:Category:{{ucfirst:{{lc:{{{1|Manga}}}}}}} of the 2010s|2010s]]</td></tr>
 
<tr><td style="text-align: center;">{{
 
<tr><td style="text-align: center;">{{
#switch: {{PAGENAME}}
+
  #switch: {{PAGENAME}}
| {{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{{2|200}}}0s  = ''See also: [[:Category:{{#ifeq:{{ucfirst:{{lc:{{{1|Manga}}}}}}}|Anime|Manga|Anime}} of the {{{2|200}}}0s]]''
+
  | {{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{{2|200}}}0s  = ''See also: [[:Category:{{#ifeq:{{ucfirst:{{lc:{{{1|Manga}}}}}}}|Anime|Manga|Anime}} of the {{{2|200}}}0s]]''
| {{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}{{{3|0}}}  = ''See also: [[:Category:{{#ifeq:{{ucfirst:{{lc:{{{1|Manga}}}}}}}|Anime|Manga|Anime}} of {{{2|200}}}{{{3|0}}}]]''
+
  | {{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}{{{3|0}}}  = ''See also: [[:Category:{{#ifeq:{{ucfirst:{{lc:{{{1|Manga}}}}}}}|Anime|Manga|Anime}} of {{{2|200}}}{{{3|0}}}]]''
| #default =  
+
  | #default =  
 
}}</td></tr>
 
}}</td></tr>
 
</table>
 
</table>
{{#ifeq: {{ucfirst:{{lc:{{{1|Manga}}}}}}} | Manga | [[Manga]] series | [[Anime]] television series, films, and [[Original video animation|OVAs]] }} first released from {{#switch: {{PAGENAME}} | {{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{{2|200}}}0s = January 1, {{{2|200}}}0 through December 31, {{{2|200}}}9 | {{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}{{{3|0}}} = January 1, {{{2|200}}}{{{3|0}}} through December 31, {{{2|200}}}{{{3|0}}} | #default = <!-- demo --> {{#if:{{{3|}}}|January 1, {{{2|200}}}{{{3|0}}} through December 31, {{{2|200}}}{{{3|0}}}|January 1, {{{2|200}}}0 through December 31, {{{2|200}}}9}} }}.<includeonly>
+
{{
 +
  #ifeq: {{ucfirst:{{lc:{{{1|Manga}}}}}}} | Manga
 +
  | [[Manga]] series and [[One-shot (comics)|one-shots]]
 +
  | [[Anime]] television series, specials, films, [[Original video animation|OVAs]], and [[Original net animation|ONAs]]
 +
}} first released from {{
 +
  #switch: {{PAGENAME}}
 +
  | {{ucfirst:{{lc:{{{1|Manga}}}}}}} of the {{{2|200}}}0s = January 1, {{{2|200}}}0 through December 31, {{{2|200}}}9
 +
  | {{ucfirst:{{lc:{{{1|Manga}}}}}}} of {{{2|200}}}{{{3|0}}} = January 1, {{{2|200}}}{{{3|0}}} through December 31, {{{2|200}}}{{{3|0}}}
 +
  | #default = <!-- demo --> {{#if:{{{3|}}}|January 1, {{{2|200}}}{{{3|0}}} through December 31, {{{2|200}}}{{{3|0}}}|January 1, {{{2|200}}}0 through December 31, {{{2|200}}}9}}
 +
}}.<includeonly>
 
{{
 
{{
 
   #ifeq: {{ucfirst:{{lc:{{{1}}}}}}} | Manga | {{
 
   #ifeq: {{ucfirst:{{lc:{{{1}}}}}}} | Manga | {{
 
     #switch: {{PAGENAME}}
 
     #switch: {{PAGENAME}}
     | Manga of the {{{2}}}0s  = [[Category:Manga by decade of first release|{{{2}}}0]][[Category:{{{2}}}0s comics]][[Category:{{{2}}}0s works]]
+
     | Manga of the {{{2}}}0s  = [[Category:Manga by decade of first release|{{{2}}}0]][[Category:{{{2}}}0s comics|{{PAGENAME}}]][[Category:{{{2}}}0s works|{{PAGENAME}}]]
     | Manga of {{{2}}}{{{3}}} = [[Category:Manga by year of first release|{{{2}}}{{{3}}}]][[Category:Manga of the {{{2}}}0s| {{{3}}}]][[Category:{{{2}}}{{{3}}} works]][[Category:{{{2}}}{{{3}}} in Japan]]
+
     | Manga of {{{2}}}{{{3}}} = [[Category:Manga by year of first release|{{{2}}}{{{3}}}]][[Category:Manga of the {{{2}}}0s| {{{3}}}]][[Category:{{{2}}}{{{3}}} works|{{PAGENAME}}]][[Category:{{{2}}}{{{3}}} in Japan|{{PAGENAME}}]]
 
     | #default                =  
 
     | #default                =  
 
   }} | {{
 
   }} | {{
 
     #switch: {{PAGENAME}}
 
     #switch: {{PAGENAME}}
     | Anime of the {{{2}}}0s  = [[Category:Anime by decade of first release|{{{2}}}0]][[Category:{{{2}}}0s in animation]][[Category:{{{2}}}0s works]]
+
     | Anime of the {{{2}}}0s  = [[Category:Anime by decade of first release|{{{2}}}0]][[Category:{{{2}}}0s in animation|{{PAGENAME}}]][[Category:{{{2}}}0s works|{{PAGENAME}}]]
     | Anime of {{{2}}}{{{3}}} = [[Category:Anime by year of first release|{{{2}}}{{{3}}}]][[Category:Anime of the {{{2}}}0s| {{{3}}}]][[Category:{{{2}}}{{{3}}} works]][[Category:{{{2}}}{{{3}}} in Japan]]
+
     | Anime of {{{2}}}{{{3}}} = [[Category:Anime by year of first release|{{{2}}}{{{3}}}]][[Category:Anime of the {{{2}}}0s| {{{3}}}]][[Category:{{{2}}}{{{3}}} works|{{PAGENAME}}]][[Category:{{{2}}}{{{3}}} in Japan|{{PAGENAME}}]]
 
     | #default                =  
 
     | #default                =  
 
   }}
 
   }}

Revision as of 08:07, 6 March 2009

Manga of the 2000s
←1990s | 2000200120022003200420052006200720082009 | 2010s →
1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s

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

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 →
1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s

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 →
1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s

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 →
1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s

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
1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s

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 →
1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s

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 →
1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s

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 →
1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s

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
1910s1920s1930s1940s1950s1960s1970s1980s1990s2000s2010s

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

See also

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