Difference between revisions of "Template:Animanga by year category header"
(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" | + | --><table class="toccolours" style="margin:1em auto;"> |
− | <tr><th>{{ | + | <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;"> | + | <tr><td style="text-align:center;">{{LinkCatIfExists2|{{#expr: {{{2|201}}} - 1 }}0s {{lc:{{{1|Manga}}}}}|'''←{{#expr: {{{2|201}}} - 1 }}0s'''}} {{!}} <!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}0 {{lc:{{{1|manga}}}}}|{{{2|201}}}0}}–<!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}1 {{lc:{{{1|manga}}}}}|{{{2|201}}}1}}–<!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}2 {{lc:{{{1|manga}}}}}|{{{2|201}}}2}}–<!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}3 {{lc:{{{1|manga}}}}}|{{{2|201}}}3}}–<!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}4 {{lc:{{{1|manga}}}}}|{{{2|201}}}4}}–<!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}5 {{lc:{{{1|manga}}}}}|{{{2|201}}}5}}–<!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}6 {{lc:{{{1|manga}}}}}|{{{2|201}}}6}}–<!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}7 {{lc:{{{1|manga}}}}}|{{{2|201}}}7}}–<!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}8 {{lc:{{{1|manga}}}}}|{{{2|201}}}8}}–<!-- |
− | --> | + | -->{{LinkCatIfExists2|{{{2|201}}}9 {{lc:{{{1|manga}}}}}|{{{2|201}}}9}} {{!}} <!-- |
− | -->''' | + | -->'''{{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;"><!-- | ||
− | --> | + | -->{{LinkCatIfExists2|1900s {{lc:{{{1|manga}}}}}|1900s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|1910s {{lc:{{{1|manga}}}}}|1910s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|1920s {{lc:{{{1|manga}}}}}|1920s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|1930s {{lc:{{{1|manga}}}}}|1930s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|1940s {{lc:{{{1|manga}}}}}|1940s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|1950s {{lc:{{{1|manga}}}}}|1950s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|1960s {{lc:{{{1|manga}}}}}|1960s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|1970s {{lc:{{{1|manga}}}}}|1970s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|1980s {{lc:{{{1|manga}}}}}|1980s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|1990s {{lc:{{{1|manga}}}}}|1990s}}—<!-- |
− | --> | + | -->{{LinkCatIfExists2|2000s {{lc:{{{1|manga}}}}}|2000s}}—<!-- |
− | <tr><td style="text-align: center;">''See also: {{ | + | -->{{LinkCatIfExists2|2010s {{lc:{{{1|manga}}}}}|2010s}}</td></tr> |
− | + | <tr><td style="text-align: center;">{{ | |
− | + | #ifeq: {{lc:{{PAGENAME}}}} | {{lc:{{{1}}}}} (year of release missing) | |
− | + | || ''See also: {{ | |
− | + | #switch: {{lc:{{PAGENAME}}}} | |
− | + | | {{{2}}}0s {{lc:{{{1}}}}} = {{LinkCatIfExists2|{{{2}}}0s {{#ifeq:{{lc:{{{1}}}}}|anime|manga|anime}}}} | |
− | + | | {{{2}}}{{{3}}} {{lc:{{{1}}}}} = {{LinkCatIfExists2|{{{2}}}{{{3}}} {{#ifeq:{{lc:{{{1}}}}}|anime|manga|anime}}}} | |
− | + | | #default = <!-- demo --> {{ | |
− | }} | + | #if: {{{3|}}} |
− | }} | + | | {{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]] | ||
− | }} | + | }} {{ |
− | # | + | #ifeq: {{lc:{{PAGENAME}}}} | {{lc:{{{1}}}}} (year of release missing) |
− | + | | for which the year of first release is unknown | |
− | + | | first released from January 1, {{ | |
− | + | #switch: {{lc:{{PAGENAME}}}} | |
− | + | | {{{2}}}0s {{lc:{{{1}}}}} = {{{2}}}0 through December 31, {{{2}}}9 | |
− | + | | {{{2}}}{{{3}}} {{lc:{{{1}}}}} = {{{2}}}{{{3}}} through December 31, {{{2}}}{{{3}}} | |
− | + | | #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}}}}} | + | | {{{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| | + | | [[Category:{{{2}}}0s comics|Manga]] |
− | | [[Category:{{{2}}}0s in animation| | + | | [[Category:{{{2}}}0s in animation|Manga]] |
− | }}[[Category:{{{2}}}0s works| | + | }}[[Category:{{{2}}}0s works|Manga]] |
− | | | + | | {{{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 | 2010–2011–2012–2013–2014–2015–2016–2017–2018–2019 | 2020s → |
1900s—1910s—1920s—1930s—1940s—1950s—1960s—1970s—1980s—1990s—2000s—2010s |
See also: 2010s anime | Release year missing: Manga · Anime |
Manga series and one-shots first released from January 1, 2010 through December 31, 2019.
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 yesnocat
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 series and one-shots first released from January 1, 1990 through December 31, 1999. |
{{animanga by year category header|Manga|199|7}}
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 series and one-shots first released from January 1, 1930 through December 31, 1939. |
{{animanga by year category header|Manga|193|individual=no}}
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 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 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 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 television series, specials, films, OVAs, and ONAs first released from January 1, 1910 through December 31, 1919. |
See also
th:แม่แบบ:มังงะแบ่งตามปีที่ตีพิมพ์ th:แม่แบบ:อะนิเมะแบ่งตามปีที่ออกฉาย
The above documentation is transcluded from Template:Animanga by year category header/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |