Template:CD nav: Difference between revisions
Jump to navigation
Jump to search
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 |
m (Undo revision 114503 by Penguinplushie (talk)) Tag: Undo |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ #switch:{{{1}}} | <includeonly>{{ #switch:{{{1}}} | ||
| BLCD = {{CD nav/BLCD|{{{2|}}} }} | | BLCD = {{CD nav/BLCD|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|nobr = {{{nobr|}}} }} | ||
| Drama = {{CD nav/Drama|{{{2|}}} }} | | Drama = {{CD nav/Drama|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|nobr = {{{nobr|}}} }} | ||
| R18 = {{CD nav/R18|{{{2|}}} }} | | R18 = {{CD nav/R18|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|nobr = {{{nobr|}}} }} | ||
| Radio = {{CD nav/Radio|{{{2|}}} }} | | Radio = {{CD nav/Radio|{{{2|}}}|{{{3|}}} }} | ||
| Reading = {{CD nav/Reading|{{{2|}}} }} | | Reading = {{CD nav/Reading|{{{2|}}}|{{{3|}}} }} | ||
| Situation = {{CD nav/Situation|{{{2|}}} }} | | Situation = {{CD nav/Situation|{{{2|}}}|{{{3|}}} }} | ||
| #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> |
Latest revision as of 12:57, 20 February 2024
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.
Syntax
- {{CD nav
|CD Type |Series}}
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=
is for when a CD is part of a series that has 4 or more cds. Use the {{CD nav series}} template to include preformatted series information, check the template page for which series qualify and usage.
Usage
{{CD nav|BLCD}}
Displays as:
BLCD | |
---|---|
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 | When a CD is part of a series that has 4 or more cds. Use the template listed above to include this preformatted information. | String | optional |