Difference between revisions of "Template:CoverToC"

From The Coppermind
Jump to navigation Jump to search
(Created page with "<div align=center><span class=toc><!-- -->{{#switch:{{lc:{{{1}}}}}<!-- -->|sa=<!-- -->''The Way of Kings''<!-- --> · ''Words of Radiance/...")
 
(Fix links, other series codes to match Template:Series tag, delete duplicate mbe2 and examples, add description)
Line 1: Line 1:
<div align=center><span class=toc><!--
+
<onlyinclude><div align=center><span class=toc><!--
 
-->{{#switch:{{lc:{{{1}}}}}<!--
 
-->{{#switch:{{lc:{{{1}}}}}<!--
   
  +
-->|sa|stormlight|stormlight archive|the stormlight archive=<!--
-->|sa=<!--
 
 
-->''[[The Way of Kings/Covers|The Way of Kings]]''<!--
 
-->''[[The Way of Kings/Covers|The Way of Kings]]''<!--
 
--> · ''[[Words of Radiance/Covers|Words of Radiance]]''<!--
 
--> · ''[[Words of Radiance/Covers|Words of Radiance]]''<!--
Line 19: Line 19:
 
--> · ''[[The Bands of Mourning/Covers|The Bands of Mourning]]''<!--
 
--> · ''[[The Bands of Mourning/Covers|The Bands of Mourning]]''<!--
   
-->|mbe2=<!--
+
-->|skyward|skyward series=<!--
-->''[[The Alloy of Law/Covers|The Alloy of Law]]''<!--
 
--> · ''[[Shadows of Self/Covers|Shadows of Self]]''<!--
 
--> · ''[[The Bands of Mourning/Covers|The Bands of Mourning]]''<!--
 
 
-->|skyward=<!--
 
 
-->''[[Skyward/Covers|Skyward]]''<!--
 
-->''[[Skyward/Covers|Skyward]]''<!--
 
--> · ''[[Starsight/Covers|Starsight]]''<!--
 
--> · ''[[Starsight/Covers|Starsight]]''<!--
   
-->|legion=<!--
+
-->|legion|legion series=<!--
 
-->''[[Legion/Covers|Legion]]''<!--
 
-->''[[Legion/Covers|Legion]]''<!--
 
--> · ''[[Legion: Skin Deep/Covers|Skin Deep]]''<!--
 
--> · ''[[Legion: Skin Deep/Covers|Skin Deep]]''<!--
 
--> · ''[[Legion: Lies of the Beholder/Covers|Lies of the Beholder]]''<!--
 
--> · ''[[Legion: Lies of the Beholder/Covers|Lies of the Beholder]]''<!--
 
--> · ''[[Legion: The Many Lives of Stephen Leeds/Covers|The Many Lives of Stephen Leeds]]''<!--
   
 
-->|reckoners=<!--
 
-->|reckoners=<!--
Line 40: Line 36:
   
 
-->|alcatraz=<!--
 
-->|alcatraz=<!--
-->''[[Alcatraz versus the Evil Librarians/Covers|Alcatraz versus the Evil Librarians]]''<!--
+
-->''[[Alcatraz Versus the Evil Librarians/Covers|Alcatraz versus the Evil Librarians]]''<!--
 
--> · ''[[The Scrivener's Bones/Covers|The Scrivener's Bones]]''<!--
 
--> · ''[[The Scrivener's Bones/Covers|The Scrivener's Bones]]''<!--
 
--> · ''[[The Knights of Crystallia/Covers|The Knights of Crystallia]]''<!--
 
--> · ''[[The Knights of Crystallia/Covers|The Knights of Crystallia]]''<!--
Line 47: Line 43:
   
 
-->}}<!--
 
-->}}<!--
--></span></div><noinclude>[[Category: Navigation aids]]
+
--></span></div></onlyinclude>
  +
This template adds a table of contents for all of the <code>/Covers</code> subpages in a series. It takes a single, unnamed parameter to indicate the series, according to the following table:
 
{{User:Stargazer/CoverToC|sa}}
 
 
 
{{User:Stargazer/CoverToC|mbe1}}
 
 
 
{{User:Stargazer/CoverToC|mbe2}}
 
 
 
{{User:Stargazer/CoverToC|skyward}}
 
 
 
{{User:Stargazer/CoverToC|legion}}
 
 
 
{{User:Stargazer/CoverToC|reckoners}}
 
   
  +
{| class=infobox style="margin:auto"
  +
|-
  +
! Series
  +
!Aliases
  +
|-
  +
! [[Alcatraz Versus the Evil Librarians (series)|Alcatraz]]
  +
| <code>alcatraz</code>
  +
|-
  +
! [[Legion (series)]]
  +
| <code>legion</code>, <code>legion series</code>
  +
|-
  +
! [[Mistborn Era 1]]
  +
| <code>mbe1</code>
  +
|-
  +
! [[Mistborn Era 2]]
  +
| <code>mbe2</code>
  +
|-
  +
! [[The Reckoners]]
  +
| <code>reckoners</code>
  +
|-
  +
! [[Skyward (series)]]
  +
| <code>skyward</code>, <code>skyward series</code>
  +
|-
  +
! [[The Stormlight Archive]]
  +
| <code>stormlight</code>, <code>stormlight archive</code>, <code>the stormlight archive</code>, <code>sa</code>
  +
|}
   
  +
[[Category: Navigation aids]]
{{User:Stargazer/CoverToC|alcatraz}}
 

Revision as of 21:49, 3 May 2020

This template adds a table of contents for all of the /Covers subpages in a series. It takes a single, unnamed parameter to indicate the series, according to the following table:

Series Aliases
Alcatraz alcatraz
Legion (series) legion, legion series
Mistborn Era 1 mbe1
Mistborn Era 2 mbe2
The Reckoners reckoners
Skyward (series) skyward, skyward series
The Stormlight Archive stormlight, stormlight archive, the stormlight archive, sa