Jump to content

Template:EAC guides: Difference between revisions

From Hydrogenaudio Knowledgebase
Korth (talk | contribs)
m add 'EAC and Opus'
Korth (talk | contribs)
m punctuation
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="plainlinks" style="width: 256px; border: solid 1px #AAAAAA; background-color: #F9F9F9; float: right; clear: both; margin: 0 0 1em 1em;"
{{#if:{{{hidden|}}}
|+ class="nowrap" style="font-weight: bold" | [[Exact Audio Copy]] guides
|
! colspan="2" style="background: #DDDDDD;" | Configuration
|-
|
|
* [[EAC configuration]]
<table class="plainlinks" style="width: 256px; border: solid 1px #AAAAAA; background-color: #F9F9F9; float: right; clear: both; margin: 0 0 1em 1em;">
----
<caption style="font-weight: bold;">[[Exact Audio Copy]] guides</caption>
* [[EAC Options]]
<tr><th colspan="2" style="background: #DDDDDD;">Configuration</th></tr>
* [[EAC Drive Options]]
<tr><td>
* [[EAC Compression Options]]
* [[EAC configuration]]
* [[EAC freedb/Database Options|EAC Metadata Options]]
----
* [[EAC WAV Editor Options]]
* [[EAC Options]]
----
* [[EAC Drive Options]]
* [[EAC Compression Options]]
* [[EAC Metadata Options]]
* [[EAC WAV Editor Options]]
----
* [[EAC Configuration Wizard]]
* [[EAC Configuration Wizard]]
</td></tr>
<tr><th colspan="2" style="background: #DDDDDD;">Compression</th></tr>
<tr><td>
* [[EAC and AAC (neroAac)‎]] 
* [[EAC and AAC (qaac)‎]] 
* [[EAC and ALAC (FFmpeg)‎]] 
* [[EAC and ALAC (qaac)‎]] 
* [[EAC and ALAC (refalac)‎‎‎]] 
* [[EAC and FLAC]] 
* [[EAC and Lame|EAC and LAME]] 
* [[EAC and LossyWAV]] 
* [[EAC and Monkey's Audio]] 
* [[EAC and Musepack]] 
* [[EAC and Ogg Vorbis]] 
* [[EAC and Opus]] 
* [[EAC and TAK]] 
* [[EAC and WavPack]]
</td></tr>
<tr><th colspan="2" style="background: #DDDDDD;">Other</th></tr>
<tr><td>
* [[EAC Gap Settings]] 
* [[EAC and Cue Sheets]] 
* [[EAC Lossless Backup]]
</td></tr>
</table>
}}
<includeonly>{{#ifeq: {{PAGENAME}} | Exact Audio Copy | | {{#if:{{{noeacguides|{{{3|}}}}}}| |[[Category:EAC Guides{{#if:{{{sort|{{{1|}}}}}}|{{!}}{{{sort|{{{1}}}}}}}}]]}}{{#if:{{{encoder|{{{2|}}}}}}|[[Category:EAC External Compression Guides{{#if:{{{sort|{{{1|}}}}}}|{{!}}{{{sort|{{{1}}}}}}}}]]}} }}</includeonly><noinclude>
== 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):
<div style="clear: both;"></div>
{| class="wikitable"
! Syntax !! Description
|-
|-
! colspan="2" style="background: #DDDDDD;" | Compression
| <nowiki>{{EAC guides}}</nowiki> || Displays the guide table and adds the page to '''[[:Category:EAC Guides]]''' only
|-
|-
|
| <nowiki>{{EAC guides|sortkey}}</nowiki> || Displays the guide table and adds the page to '''[[:Category:EAC Guides]]''' with sort key "sortkey"
* [[EAC and AAC]]
|-
* [[EAC and ALAC]]
| <nowiki>{{EAC guides|sortkey|yes}}</nowiki> || Displays the guide table and adds the page to '''[[:Category:EAC Guides]]''' and '''[[:Category:EAC External Compression Guides]]''' with sort key "sortkey"
* [[EAC and FLAC]]
* [[EAC and Lame|EAC and LAME]]
* [[EAC and LossyWAV]]
* [[EAC and Monkey's Audio]]
* [[EAC and Musepack]]
* [[EAC and Ogg Vorbis]]
* [[EAC and Opus]]
* [[EAC and QAAC]]
* [[EAC and TAK]]
* [[EAC and WavPack]]
|-
|-
! colspan="2" style="background: #DDDDDD;" | Other
| <nowiki>{{EAC guides||yes}}</nowiki> || Displays the guide table and adds the page to '''[[:Category:EAC Guides]]''' and '''[[:Category:EAC External Compression Guides]]''' without a sort key
|-
|-
|
| <nowiki>{{EAC&#160;guides|sortkey|yes|yes}}</nowiki> || Displays the guide table and adds the page to '''[[:Category:EAC External Compression Guides]]''' only (excludes '''[[:Category:EAC Guides]]''') with sort key "sortkey"
* [[EAC Gap Settings]]
* [[EAC and Cue Sheets]]
* [[EAC Lossless Backup]]
|-
|-
| <pre>{{EAC guides
|sort=sortkey
|encoder=yes
|noeacguides=yes
|hidden=yes}}</pre> || Same as above, using named parameters instead of positional ones. Multiline format shown for clarity. Also shown with the table excluded.
|}
|}
<includeonly>{{#ifeq: {{PAGENAME}} | Exact Audio Copy | | [[Category:EAC Guides]] }}</includeonly><noinclude>
A list [[Exact Audio Copy]] guides. Can be used to simplify guide navigation.
==Syntax==
<pre style="display:table">{{EAC guides}}</pre>
</noinclude>
</noinclude>

Latest revision as of 08:42, 13 September 2025

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.