Template:Series multi/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
__NOTOC__
__NOTOC__


This template is a variation of {{tlf|Series}}. If a CD belongs to multiple series then use this template instead of {{tlf|Series}}. It can support up to five series.
This template is a variation of {{tlf|Series}}. If a CD belongs to multiple series then use this template in the {{para|Series}} of the infobox instead of {{para|Prev CD}} and {{para|Next CD}}. There are optional Series names parameters that may be used to identify each series title. It can support up to five series.


== Usage ==
== Usage ==
* {{tji|Series multi|Number of Series|1st series previous CD|1st series next CD|2nd series previous CD|2nd Series next CD|3rd series previous CD|3rd series next CD|4th series previous CD|4th series next CD|5th series previous CD|5th series next CD}}
* {{tji|Series multi|Number of Series|1st series previous CD|1st series next CD|2nd series previous CD|2nd Series next CD|3rd series previous CD|3rd series next CD|4th series previous CD|4th series next CD|5th series previous CD|5th series next CD|Series 1 name: |Series 2 name: |Series 3 name: |Series 4 name: |Series 5 name:}}


== Parameters ==
== Parameters ==
Line 33: Line 33:
|-
|-
| {{para|11}} || The name of the '''Next''' CD in the 5th series.
| {{para|11}} || The name of the '''Next''' CD in the 5th series.
|-
| {{para|Series 1 name}} || The name of the 1st series.
|-
| {{para|Series 2 name}} || The name of the 2nd series.
|-
| {{para|Series 3 name}} || The name of the 3rd series.
|-
| {{para|Series 4 name}} || The name of the 4th series.
|-
| {{para|Series 5 name}} || The name of the 5th series.
|}
|}


== Examples ==
== Examples ==
* {{tji|Series multi|3|Leopard Hakusho 3 Sizuru Botan ni Ai|Leopard Hakusho 4 Iyarashi no Kare|Ameiro Paradox|Ameiro Paradox 2|Seito Kaichou ni Chuukoku Mini Drama CD Dear+ August 2011 Furoku|Seito Kaichou ni Chuukoku 5}}  
* {{tji|Series multi|3|Series 1 name: Leopard Hakusho|Series 2 name: Ameiro Paradox|Series 3 name: Seito Kaichou ni Chuukoku|Leopard Hakusho 3 Sizuru Botan ni Ai|Leopard Hakusho 4 Iyarashi no Kare|Ameiro Paradox|Ameiro Paradox 2|Seito Kaichou ni Chuukoku Mini Drama CD Dear+ August 2011 Furoku|Seito Kaichou ni Chuukoku 5}}  
: Displays as
: Displays as
{{Series multi|3|Leopard Hakusho 3 Sizuru Botan ni Ai|Leopard Hakusho 4 Iyarashi no Kare|Ameiro Paradox|Ameiro Paradox 2|Seito Kaichou ni Chuukoku Mini Drama CD Dear+ August 2011 Furoku|Seito Kaichou ni Chuukoku 5}}
{{Series multi|3|Series 1 name = Leopard Hakusho|Series 2 name = Ameiro Paradox|Series 3 name = Seito Kaichou ni Chuukoku|Leopard Hakusho 3 Sizuru Botan ni Ai|Leopard Hakusho 4 Iyarashi no Kare|Ameiro Paradox|Ameiro Paradox 2|Seito Kaichou ni Chuukoku Mini Drama CD Dear+ August 2011 Furoku|Seito Kaichou ni Chuukoku 5}}


''' First CD in the Series'''
''' First CD in the Series'''
Line 124: Line 134:
"label": "5th Series Next CD",
"label": "5th Series Next CD",
"description": "The name of the Next CD in the 5th series",
"description": "The name of the Next CD in the 5th series",
"type": "string",
"required": false
},
"Series 1 name": {
"label": "1st Series Name",
"description": "The name of the 1st series.",
"type": "string",
"required": false
},
"Series 2 name": {
"label": "2nd Series Name",
"description": "The name of the 2nd series.",
"type": "string",
"required": false
},
"Series 3 name": {
"label": "3rd Series Name",
"description": "The name of the 3rd series.",
"type": "string",
"required": false
},
"Series 4 name": {
"label": "4th Series Name",
"description": "The name of the 4th series.",
"type": "string",
"required": false
},
"Series 5 name": {
"label": "5th Series Name",
"description": "The name of the 5th series.",
"type": "string",
"type": "string",
"required": false
"required": false

Latest revision as of 04:54, 6 January 2024

Light bulb.png }}
It contains usage information, categories and other content that is not part of the original template page.


This template is a variation of {{Series}}. If a CD belongs to multiple series then use this template in the |Series= of the infobox instead of |Prev CD= and |Next CD=. There are optional Series names parameters that may be used to identify each series title. It can support up to five series.

Usage

  • {{Series multi|Number of Series|1st series previous CD|1st series next CD|2nd series previous CD|2nd Series next CD|3rd series previous CD|3rd series next CD|4th series previous CD|4th series next CD|5th series previous CD|5th series next CD|Series 1 name=|Series 2 name=|Series 3 name=|Series 4 name=|Series 5 name=}}

Parameters

Parameter Description
|1= The number of Series the CD belongs to, 2 - 5
|2= The name of the Previous CD in the 1st series.
|3= The name of the Next CD in the 1st series.
|4= The name of the Previous CD in the 2nd series.
|5= The name of the Next CD in the 2nd series.
|6= The name of the Previous CD in the 3rd series.
|7= The name of the Next CD in the 3rd series.
|8= The name of the Previous CD in the 4th series.
|9= The name of the Next CD in the 4th series.
|10= The name of the Previous CD in the 5th series.
|11= The name of the Next CD in the 5th series.
|Series 1 name= The name of the 1st series.
|Series 2 name= The name of the 2nd series.
|Series 3 name= The name of the 3rd series.
|Series 4 name= The name of the 4th series.
|Series 5 name= The name of the 5th series.

Examples

  • {{Series multi|3|Series 1 name=Leopard Hakusho|Series 2 name=Ameiro Paradox|Series 3 name=Seito Kaichou ni Chuukoku|Leopard Hakusho 3 Sizuru Botan ni Ai|Leopard Hakusho 4 Iyarashi no Kare|Ameiro Paradox|Ameiro Paradox 2|Seito Kaichou ni Chuukoku Mini Drama CD Dear+ August 2011 Furoku|Seito Kaichou ni Chuukoku 5}}
Displays as

Leopard Hakusho
<< Previous | Next >>
Ameiro Paradox
<< Previous | Next >>
Seito Kaichou ni Chuukoku
<< Previous | Next >>

First CD in the Series

  • {{Series multi|3||Leopard Hakusho 4 Iyarashi no Kare||Ameiro Paradox 2||Seito Kaichou ni Chuukoku 5}}
Displays as

Next >>
Next >>
Next >>

Note the ||, because this template uses unnamed parameters, you must include the | even if there is nothing to go there.

Last CD in the Series

  • {{Series multi|3|Leopard Hakusho 3 Sizuru Botan ni Ai||Ameiro Paradox||Seito Kaichou ni Chuukoku Mini Drama CD Dear+ August 2011 Furoku|}}
Displays as

<< Previous
<< Previous
<< Previous

The last | does not need to include, but leaving it won't hurt anything either.

See Also

TemplateData

Formats the Series Previous and Next enteries of a CD series in the infobox.

Template parameters

ParameterDescriptionTypeStatus
Number of Series1

The number of Series the CD belongs to, from 2 - 5

Example
3
Stringrequired
1st Series Previous CD2

The name of the Previous CD in the 1st series

Stringoptional
1st Series Next CD3

The name of the Next CD in the 1st series

Stringoptional
2nd Series Previous CD4

The name of the Previous CD in the 2nd series

Stringoptional
2nd Series Next CD5

The name of the Next CD in the 2nd series

Stringoptional
3rd Series Previous CD6

The name of the Previous CD in the 3rd series

Stringoptional
3rd Series Next CD7

The name of the Next CD in the 3rd series

Stringoptional
4th Series Previous CD8

The name of the Previous CD in the 4th series

Stringoptional
4th Series Next CD9

The name of the Next CD in the 4th series

Stringoptional
5th Series Previous CD10

The name of the Previous CD in the 5th series

Stringoptional
5th Series Next CD11

The name of the Next CD in the 5th series

Stringoptional
1st Series NameSeries 1 name

The name of the 1st series.

Stringoptional
2nd Series NameSeries 2 name

The name of the 2nd series.

Stringoptional
3rd Series NameSeries 3 name

The name of the 3rd series.

Stringoptional
4th Series NameSeries 4 name

The name of the 4th series.

Stringoptional
5th Series NameSeries 5 name

The name of the 5th series.

Stringoptional