Template:CD nav: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{ #switch:{{{1}}} | BLCD = {| class="mw-collapsible mw-collapsed wikitable" style="clear: both; background-color:#FFFEFA; border: 1px solid #a6a6a6; width:100%; margin: 8px auto 0px;" |- ! colspan="2" style="background-color:#AEB5E7;" | BLCD {{ #if:{{{2|}}}|{{!-}} {{!}} scope="row" style="background-color:#E7E1F7;"{{!}} Series {{!}}{{!}} {{{2}}}| }} |- | scope="row" style="background-color:#E7E1F7; width:10%"| By Letter || {{hlist|{{c|BLCD-0-9|#}}|{{c|BLC...") |
m (Replaced content with "<includeonly>{{ #switch:{{{1}}} | BLCD = {{CD nav/BLCD|{{{2|}}} }} | Drama = {{CD nav/Drama|{{{2|}}} }} | R18 = {{CD nav/R18|{{{2|}}} }} | Radio = {{CD nav/Radio|{{{2|}}} }} | Reading = {{CD nav/Reading|{{{2|}}} }} | Situation = {{CD nav/Situation|{{{2|}}} }} | #default = {{error|Please use either {{code|BLCD}}, {{code|Drama}}, {{code|R18}}, {{code|Radio}}, {{code|Reading}}, or {{code|Situation}} for the first parameter.}} }}</includeonly><noinclude> {...") Tag: Replaced |
||
Line 1: | Line 1: | ||
<includeonly>{{ #switch:{{{1}}} | <includeonly>{{ #switch:{{{1}}} | ||
| BLCD = { | | BLCD = {{CD nav/BLCD|{{{2|}}} }} | ||
| Drama = {{CD nav/Drama|{{{2|}}} }} | |||
| R18 = {{CD nav/R18|{{{2|}}} }} | |||
| Radio = {{CD nav/Radio|{{{2|}}} }} | |||
| Reading = {{CD nav/Reading|{{{2|}}} }} | |||
| Situation = {{CD nav/Situation|{{{2|}}} }} | |||
| | |||
| Reading = {| | |||
| Situation = {| | |||
| #default = {{error|Please use either {{code|BLCD}}, {{code|Drama}}, {{code|R18}}, {{code|Radio}}, {{code|Reading}}, or {{code|Situation}} for the first parameter.}} | | #default = {{error|Please use either {{code|BLCD}}, {{code|Drama}}, {{code|R18}}, {{code|Radio}}, {{code|Reading}}, or {{code|Situation}} for the first parameter.}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 16:03, 9 September 2023
This template is used to add navigation links to CD pages and should be added at the bottom of the page. There are only 2 parameters. The first is the CD Type. The second is for adding information when a CD is part of a Series.
Syntax
- {{CD nav
|CD Type |Series Information}}
Parameters
|1=
is for the CD type, enter eitherBLCD
,Drama
,R18
,Radio
,Reading
, orSituation
. An error will be displayed if any other value is entered.
|2=
-|6=
is for any information about the series, if the CD is part of one. This can include other titles of the series or if the series has multiple seasons, parts, or even other series. No matter what is entered it should be done using a {{hlist}} with|class=inline
. Parameters 3 - 6 are to be used if line breaks are needed. Avoid using<br />
or {{br}}.
Usage
{{CD nav|BLCD}}
Displays as:
BLCD | |
---|---|
By Letter | |
By Year | |
Based On | |
Other |
{{CD nav|BLCD|{{hlist|{{c|Danshi Koukousei、Hajimete no Episode 0}}|{{c|Danshi Koukousei、Hajimete no Episode 10}}|{{c|Danshi Koukousei、Hajimete no Season 01}}|{{c|Danshi Koukousei、Hajimete no Season 02}}|{{c|Danshi Koukousei、Hajimete no Season 03}}|{{c|Danshi Koukousei、Hajimete no Season 04}}|{{c|Danshi Koukousei、Hajimete no Season 05}} }} }}
Displays as:
BLCD
| ||
---|---|---|
Series |
| |
By Letter | ||
By Year | ||
Based On | ||
Other |
{{CD nav|Drama}}
Displays as:
Drama CD | |
---|---|
By Letter | |
By Year | |
Based On | |
Other |
{{CD nav|R18}}
Displays as:
R-18 CD | |
---|---|
By Letter | |
By Year | |
Based On |
These Nav boxes are still a work in progress.
{{CD nav|Radio}}
Displays as:
Radio | |
---|---|
By Letter | Coming Soon |
By Year | Coming Soon |
Based On | Coming Soon |
{{CD nav|Reading}}
Displays as:
Reading | |
---|---|
By Letter | Coming Soon |
By Year | Coming Soon |
Based On | Coming Soon |
{{CD nav|Situation}}
Displays as:
Situation | |
---|---|
By Letter | Coming Soon |
By Year | Coming Soon |
Based On | Coming Soon |
TemplateData
This template is to add navigation links to CD pages. It should be added at the end of the page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
CD Type | 1 | The type of CD the page is for.
| String | required |
Series | 2 | Any information about the series, if the CD is part of one. Parameter 3 - 6 are to be used if line breaks are needed. Avoid using <br /> tag or the template {{br}}. | String | optional |