I'm back with a snazzy new template that should make guide author's lives a LOT easier, at least if they want to make a nice looking Table of Contents for their guide. :)
[goto] and [anchor]
First, I am going to explain to you how [goto] and [anchor] works.
[goto] makes the clickable link that will direct you to the matching [anchor] tag.
So, if you want your chapter "Introduction" to be linked in your table of contents, you would need to make a [goto=Introduction]Text goes here...[/goto] link, similar to a [url] link. Now, this link will take you to the closest anchor tag with a matching name. So, you would put [anchor=Introduction] at the start of your Introduction chapter.
NOW YOU MAY FORGET EVERYTHING BUT THE ANCHOR LINK!
My template will automatically make a goto link for your table of contents chapters with the same name as you put for the chapter. So, above if my chapter name is "Are You Ready?" then the anchor will have to be [anchor=Are You Ready?]. Beware it IS case sensitive!
I've gone ahead and attached a [anchor=Are You Ready?] anchor to the box below. Go ahead, try clicking on the "So I herd..." chapter in the table of contents at the top!
Are You Ready?
How To Use the Template
The template requires input for every big chapter / chapter you want. It has a simple naming convention, just remember:
template="Guide Table of Contents"
big-chapter-x="Big chapter title here"
chapter-x-y="chapter title here"
Just repeat for every big chapter and subchapter you want. Numbers only go up to 9 for both big and little chapters. So, if you want big chapter 1 to be "Introduction" and chapter 1.1 to be "Who am I?" you would write...
[template="Guide Table of Contents" big-chapter-1="Introduction" chapter-1-1="Who am I?"]
As your table of contents gets longer it will become a pretty long string of code, however, let me promise you this is 1000 times easier than writing the actual table of contents code every time. Let me show you an example from a guide I recently coded:
[template="Guide Table of Contents" big-chapter-1="Introduction" chapter-1-1="Why Mecha Wonder Woman?" big-chapter-2="Amplifiers" chapter-2-1="Mods" chapter 2-2="Augments" big-chapter-3="Abilities" big-chapter-4="Stolen Powers" big-chapter-5="Items" chapter-5-1="Starting Items" chapter-5-2="Core Items" chapter-5-3="Late Game Items" chapter-5-4="Optional Items" chapter-5-5="Item Build Order" chapter-5-6="Complete Build" big-chapter-6="Gameplay" chapter-6-1="Early Game" chapter-6-2="Mid Game" chapter-6-3="Late Game" chapter-6-4="Kiting and how to play teamfights correctly" big-chapter-7="The End"]
That being said, this also served as a tutorial on how to make table of contents yourself. So, if you feel like making your own custom one, knock yourself out. Personally, I will be sticking to the template from now on! >:D
After you make your table of contents you just have to put the anchor links (read above) in the proper places throughout your guide. The anchor name will be the same as the chapter name!
I hope you guys enjoy this template, I thought it would make your lives a lot easier! :)
If you have any questions just post them below. I know this one is more complicated than the last so, I'll be here to help you out!
Grim is a top rank Heroes player and guide creator. He has over 5600games played with Tassadar. So you can be sure you are getting quality content and info. Today, he is currently a free-agent looking for a pro team. Before he was a former member of TeamCurse Gaming and ZDK gaming.
HeroesFire is the place to find the perfect build guide to take your game to the next level. Learn how to play a new hero, or fine tune your favorite HotS hero’s build and strategy.
Awards Showcase
<Community Manager>
Memorable (51)
Posts: 617
Feel free to check out the guide:
Awards Showcase
Remarkable (33)
Posts: 420
BattleTag:
twitch.tv/cozybison
Awards Showcase
<Beta Tester>
Remarkable (29)
Posts: 276
Awards Showcase
<Community Manager>
Memorable (51)
Posts: 617
Awards Showcase
<Beta Tester>
Remarkable (29)
Posts: 276
Awards Showcase
<Community Manager>
Memorable (51)
Posts: 617