Template:Runtime infobox/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
Line 3: Line 3:
__NOTOC__
__NOTOC__


This template or it's shortcut {{tl|Rti}} is used to format the runtime in the CD infoboxes. It can support up to 10 discs. It will automatically fill in any missing runtimes for the number of discs given with {{code|--:--}}. The {{para|Included benefits}} and {{para|Included benefits runtime}} are for cds that have enclosed benefits. [[#Included Benefits|Below]] is a table of what to enter for each type of benefit.
This template or it's shortcut {{tl|Rti}} is used to format the runtime in the CD infoboxes. It can support up to 10 discs. It will automatically fill in any missing runtimes for the number of discs given with {{code|--:--}}. The {{para|Benefits}} and {{para|Benefits runtime}} are for cds that have enclosed benefits. [[#Included Benefits|Below]] is a table of what to enter for each type of benefit.


== Usages ==
== Usages ==
* {{tji|Runtime infobox|Number of Discs|Disc 1 Runtime|Disc 2 Runtime|Disc 3 Runtime|Disc 4 Runtime|Disc 5 Runtime|Disc 6 Runtime|Disc 7 Runtime|Disc 8 Runtime|Disc 9 Runtime|Disc 10 Runtime|Included benefits:|Included benefits runtime:}}
* {{tji|Runtime infobox|Number of Discs|Disc 1 Runtime|Disc 2 Runtime|Disc 3 Runtime|Disc 4 Runtime|Disc 5 Runtime|Disc 6 Runtime|Disc 7 Runtime|Disc 8 Runtime|Disc 9 Runtime|Disc 10 Runtime|Benefits:|Benefits runtime:}}


: Using the {{tl|Rti}} shorcut
: Using the {{tl|Rti}} shorcut
* {{tji|Rti|Number of Discs|Disc 1 Runtime|Disc 2 Runtime|Disc 3 Runtime|Disc 4 Runtime|Disc 5 Runtime|Disc 6 Runtime|Disc 7 Runtime|Disc 8 Runtime|Disc 9 Runtime|Disc 10 Runtime|Included benefits:|Included benefits runtime:}}
* {{tji|Rti|Number of Discs|Disc 1 Runtime|Disc 2 Runtime|Disc 3 Runtime|Disc 4 Runtime|Disc 5 Runtime|Disc 6 Runtime|Disc 7 Runtime|Disc 8 Runtime|Disc 9 Runtime|Disc 10 Runtime|Benefits:|Benefits runtime:}}


== Examples ==
== Examples ==
Line 15: Line 15:
* {{tlc|Runtime infobox|3|59:26|57:35}} {{Rarr}} {{rti|3|59:26|57:35}}
* {{tlc|Runtime infobox|3|59:26|57:35}} {{Rarr}} {{rti|3|59:26|57:35}}
* {{tlc|rti|10}} {{Rarr}} {{rti|10}}
* {{tlc|rti|10}} {{Rarr}} {{rti|10}}
: If the runtime is unknown do not include any {{code|{{!}}}}, like in the example above.


==Included Benefits==
==Included Benefits==
This table shows what needs to be entered when there are enclosed benefits when the runtime should be included in the infobox. If more need to be added let PenguinPlushie know by posting a comment on her [[User talk:Penguinplushie|talk]] page. If the {{para|Included benefit runtime}} is left blank a default value of {{code|--:--}} is used.
This table shows what needs to be entered when there are enclosed benefits whose runtime should be included in the infobox. If more need to be added let PenguinPlushie know by posting a comment on her [[User talk:Penguinplushie|talk]] page. If the {{para|Benefit runtime}} is left blank a default value of {{code|--:--}} will be used.


{| class="wikitable"
{| class="wikitable"
Line 24: Line 23:
! Identifier !! Output !! Example Input !! Example Output
! Identifier !! Output !! Example Input !! Example Output
|-
|-
| LE || Limited Edition: || {{tlc|Runtime infobox|2|Included benefits {{=}} LE|Included benefits runtime {{=}} 15:20}} || {{rti|2|Included benefits = LE|Included benefits runtime = 15:20}}
| LE || Limited Edition: || {{tlc|Runtime infobox|2|Benefits {{=}} LE|Benefits runtime {{=}} 15:20}} || {{rti|2|Benefits = LE|Benefits runtime = 15:20}}
|-
|-
| LE Mini || Limited Edition Mini Drama: || {{tlc|Runtime infobox|3|Included benefits {{=}} LE Mini|Included benefits runtime {{=}} }} || {{rti|3|Included benefits = LE Mini|Included benefits runtime = }}
| LE Mini || Limited Edition Mini Drama: || {{tlc|Runtime infobox|3|Benefits {{=}} LE Mini|Benefits runtime {{=}} }} || {{rti|3|Benefits = LE Mini|Benefits runtime = }}
|-
|-
| LE Talk || Limited Edition Talk CD: || {{tlc|Runtime infobox|2|Included benefits {{=}} LE Talk|Included benefits runtime {{=}} 30:25}} || {{rti|2|Included benefits = LE Talk|Included benefits runtime = 30:25}}
| LE Talk || Limited Edition Talk CD: || {{tlc|Runtime infobox|2|Benefits {{=}} LE Talk|Benefits runtime {{=}} 30:25}} || {{rti|2|Benefits = LE Talk|Benefits runtime = 30:25}}
|-
|-
| Enclosed Mini || Enclosed Benefits Mini Drama: || {{tlc|Runtime infobox|4|Included benefits {{=}} Enclosed Mini|Included benefits runtime {{=}} 10:30}} || {{rti|4|Included benefits = Enclosed Mini|Included benefits runtime = 10:30}}
| Enclosed Mini || Enclosed Benefits Mini Drama: || {{tlc|Runtime infobox|4|Benefits {{=}} Enclosed Mini|Benefits runtime {{=}} 10:30}} || {{rti|4|Benefits = Enclosed Mini|Benefits runtime = 10:30}}
|-
|-
| Enclosed Talk || Enclosed Benefits Talk CD: || {{tlc|Runtime infobox|2|Included benefits {{=}} Enclosed Talk|Included benefits runtime {{=}} }} || {{rti|2|Included benefits = Enclosed Talk|Included benefits runtime = }}
| Enclosed Talk || Enclosed Benefits Talk CD: || {{tlc|Runtime infobox|2|||Benefits {{=}} Enclosed Talk|Benefits runtime {{=}} }} || {{rti|2|||Benefits = Enclosed Talk|Benefits runtime = }}
|-
|-
| Special Mini || Special Edition Mini Drama: || {{tlc|Runtime infobox|2|Included benefits {{=}} Special Mini|Included benefits runtime {{=}} 12:45}} || {{rti|2|Included benefits = Special Mini|Included benefits runtime = 12:45}}
| Special Mini || Special Edition Mini Drama: || {{tlc|Runtime infobox|2|Benefits {{=}} Special Mini|Benefits runtime {{=}} 12:45}} || {{rti|2|Benefits = Special Mini|Benefits runtime = 12:45}}
|-
|-
| Special Talk || Special Edition Talk CD: || {{tlc|Runtime infobox|2|Included benefits {{=}} Special Talk|Included benefits runtime {{=}} 25:15}} || {{rti|2|Included benefits = Special Talk|Included benefits runtime = 25:15}}
| Special Talk || Special Edition Talk CD: || {{tlc|Runtime infobox|2|Benefits {{=}} Special Talk|Benefits runtime {{=}} 25:15}} || {{rti|2|Benefits = Special Talk|Benefits runtime = 25:15}}
|}
|}


Line 121: Line 120:
"required": false
"required": false
},
},
"Included benefits": {
"Benefits": {
"label": "Enclosed Benefits",
"label": "Included Benefits",
"description": "Identifies the type of benefit that is included.",
"description": "Identifies the type of benefit that is included.",
"type": "string",
"type": "string",
Line 128: Line 127:
"required": false
"required": false
},
},
"Included benefits runtime": {
"Benefits runtime": {
"label": "Runtime of Enclosed Benefits",
"label": "Runtime of Included Benefits",
"description": "Runtime of the enclosed benefits, formatted --:--.",
"description": "Runtime of the included benefits, formatted --:--.",
"type": "string",
"type": "string",
"default": "--:--",
"default": "--:--",

Revision as of 09:19, 27 July 2023

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


This template or it's shortcut {{Rti}} is used to format the runtime in the CD infoboxes. It can support up to 10 discs. It will automatically fill in any missing runtimes for the number of discs given with --:--. The |Benefits= and |Benefits runtime= are for cds that have enclosed benefits. Below is a table of what to enter for each type of benefit.

Usages

  • {{Runtime infobox|Number of Discs|Disc 1 Runtime|Disc 2 Runtime|Disc 3 Runtime|Disc 4 Runtime|Disc 5 Runtime|Disc 6 Runtime|Disc 7 Runtime|Disc 8 Runtime|Disc 9 Runtime|Disc 10 Runtime|Benefits=|Benefits runtime=}}
Using the {{Rti}} shorcut
  • {{Rti|Number of Discs|Disc 1 Runtime|Disc 2 Runtime|Disc 3 Runtime|Disc 4 Runtime|Disc 5 Runtime|Disc 6 Runtime|Disc 7 Runtime|Disc 8 Runtime|Disc 9 Runtime|Disc 10 Runtime|Benefits=|Benefits runtime=}}

Examples

  • {{Runtime infobox|2|59:26|57:35}} → 2 Discs
    • 59:26
    • 57:35
  • {{Runtime infobox|3|59:26|57:35}} → 3 Discs
    • 59:26
    • 57:35
    • --:--
  • {{rti|10}} → 10 Discs
    • --:--
    • --:--
    • --:--
    • --:--
    • --:--
    • --:--
    • --:--
    • --:--
    • --:--
    • --:--

Included Benefits

This table shows what needs to be entered when there are enclosed benefits whose runtime should be included in the infobox. If more need to be added let PenguinPlushie know by posting a comment on her talk page. If the |Benefit runtime= is left blank a default value of --:-- will be used.

Identifier Output Example Input Example Output
LE Limited Edition: {{Runtime infobox|2|Benefits = LE|Benefits runtime = 15:20}} 2 Discs
  • --:--
  • --:--

Limited Edition: 15:20
LE Mini Limited Edition Mini Drama: {{Runtime infobox|3|Benefits = LE Mini|Benefits runtime =}} 3 Discs
  • --:--
  • --:--
  • --:--

Limited Edition Mini Drama: --:--
LE Talk Limited Edition Talk CD: {{Runtime infobox|2|Benefits = LE Talk|Benefits runtime = 30:25}} 2 Discs
  • --:--
  • --:--

Limited Edition Talk CD: 30:25
Enclosed Mini Enclosed Benefits Mini Drama: {{Runtime infobox|4|Benefits = Enclosed Mini|Benefits runtime = 10:30}} 4 Discs
  • --:--
  • --:--
  • --:--
  • --:--

Enclosed Benefits Mini Drama: 10:30
Enclosed Talk Enclosed Benefits Talk CD: {{Runtime infobox|2|Benefits = Enclosed Talk|Benefits runtime =}} 2 Discs
  • --:--
  • --:--

Enclosed Benefits Talk CD: --:--
Special Mini Special Edition Mini Drama: {{Runtime infobox|2|Benefits = Special Mini|Benefits runtime = 12:45}} 2 Discs
  • --:--
  • --:--

Special Edition Mini Drama: 12:45
Special Talk Special Edition Talk CD: {{Runtime infobox|2|Benefits = Special Talk|Benefits runtime = 25:15}} 2 Discs
  • --:--
  • --:--

Special Edition Talk CD: 25:15

TemplateData

To format the runtime in CD infoboxes.

Template parameters

ParameterDescriptionTypeStatus
Number of Discs1

The number of discs.

Example
2
Stringrequired
Disc 1 Runtime2

Runtime of the 1st disc, formatted --:--.

Example
50:15
Stringoptional
Disc 2 Runtime3

Runtime of the 2nd disc, formatted --:--.

Default
--:--
Stringoptional
Disc 3 Runtime4

Runtime of the 3rd disc, formatted --:--.

Default
--:--
Stringoptional
Disc 4 Runtime5

Runtime of the 4th disc, formatted --:--.

Default
--:--
Stringoptional
Disc 5 Runtime6

Runtime of the 5th disc, formatted --:--.

Default
--:--
Stringoptional
Disc 6 Runtime7

Runtime of the 6th disc, formatted --:--.

Default
--:--
Stringoptional
Disc 7 Runtime8

Runtime of the 7th disc, formatted --:--.

Default
--:--
Stringoptional
Disc 8 Runtime9

Runtime of the 8th disc, formatted --:--.

Default
--:--
Stringoptional
Disc 9 Runtime10

Runtime of the 9th disc, formatted --:--.

Default
--:--
Stringoptional
Disc 10 Runtime11

Runtime of the 10th disc, formatted --:--.

Default
--:--
Stringoptional
Included BenefitsBenefits

Identifies the type of benefit that is included.

Suggested values
LE LE Mini LE Talk Enclosed Mini Enclosed Talk Special Mini Special Talk
Stringoptional
Runtime of Included BenefitsBenefits runtime

Runtime of the included benefits, formatted --:--.

Default
--:--
Stringoptional