Template:EAC guides: Difference between revisions
Appearance
m Collapsible table not working as expected. Trying no table option. Changed to HTML <table> syntax. |
m punctuation |
||
| Line 48: | Line 48: | ||
* '''Displays''' a floating table of EAC-related guide links. | * '''Displays''' a floating table of EAC-related guide links. | ||
* '''Automatically adds''' the page to [[:Category:EAC Guides]]. | * '''Automatically adds''' the page to [[:Category:EAC Guides]]. | ||
* '''Optionally adds''' the page to [[:Category:EAC External Compression Guides]] for external encoder-related guides if the second parameter ( | * '''Optionally adds''' the page to [[:Category:EAC External Compression Guides]] for external encoder-related guides if the second parameter ("encoder") is set. | ||
* '''Optionally excludes''' the page from [[:Category:EAC Guides]] if the third parameter ( | * '''Optionally excludes''' the page from [[:Category:EAC Guides]] if the third parameter ("noeacguides") is set. | ||
* '''Optionally sorts''' the page within added categories using the first parameter ( | * '''Optionally sorts''' the page within added categories using the first parameter ("sort"). | ||
* '''Automatically excludes''' the page titled [[Exact Audio Copy]] from all categorization. | * '''Automatically excludes''' the page titled [[Exact Audio Copy]] from all categorization. | ||
=== Named Parameters === | === Named Parameters === | ||
* '''sort''' (first parameter) - Sets the sort key used in both categories. | * '''sort''' (first parameter) - Sets the sort key used in both categories. | ||
* '''encoder''' (second parameter) - If set (e.g., | * '''encoder''' (second parameter) - If set (e.g., "yes"), adds the page to [[:Category:EAC External Compression Guides]]. | ||
* '''noeacguides''' (third parameter) - If set (e.g., | * '''noeacguides''' (third parameter) - If set (e.g., "yes"), prevents the page from being added to [[:Category:EAC Guides]]. | ||
* '''hidden''' - If set (e.g., | * '''hidden''' - If set (e.g., "yes"), the guide table will be excluded. | ||
=== Syntax === | === Syntax === | ||
Latest revision as of 08:42, 13 September 2025
| Configuration | |
|---|---|
|
| |
| Compression | |
| Other | |
Usage
This template displays a sidebar table of Exact Audio Copy guides and categorizes the page accordingly. It should be placed at the top of the page, before any other content, to ensure the guide table appears in the correct position.
What It Does
- Displays a floating table of EAC-related guide links.
- Automatically adds the page to Category:EAC Guides.
- Optionally adds the page to Category:EAC External Compression Guides for external encoder-related guides if the second parameter ("encoder") is set.
- Optionally excludes the page from Category:EAC Guides if the third parameter ("noeacguides") is set.
- Optionally sorts the page within added categories using the first parameter ("sort").
- Automatically excludes the page titled Exact Audio Copy from all categorization.
Named Parameters
- sort (first parameter) - Sets the sort key used in both categories.
- encoder (second parameter) - If set (e.g., "yes"), adds the page to Category:EAC External Compression Guides.
- noeacguides (third parameter) - If set (e.g., "yes"), prevents the page from being added to Category:EAC Guides.
- hidden - If set (e.g., "yes"), the guide table will be excluded.
Syntax
You can use either named or positional parameters (see table below):
| Syntax | Description |
|---|---|
| {{EAC guides}} | Displays the guide table and adds the page to Category:EAC Guides only |
| {{EAC guides|sortkey}} | Displays the guide table and adds the page to Category:EAC Guides with sort key "sortkey" |
| {{EAC guides|sortkey|yes}} | Displays the guide table and adds the page to Category:EAC Guides and Category:EAC External Compression Guides with sort key "sortkey" |
| {{EAC guides||yes}} | Displays the guide table and adds the page to Category:EAC Guides and Category:EAC External Compression Guides without a sort key |
| {{EAC guides|sortkey|yes|yes}} | Displays the guide table and adds the page to Category:EAC External Compression Guides only (excludes Category:EAC Guides) with sort key "sortkey" |
{{EAC guides
|sort=sortkey
|encoder=yes
|noeacguides=yes
|hidden=yes}} |
Same as above, using named parameters instead of positional ones. Multiline format shown for clarity. Also shown with the table excluded. |