Template:Hatnote

From Touhou Puppet Play Wiki
Jump to: navigation, search

This page is about ((this and that thing that does this other thing)). For ((that other thing)), see link to that other thing.


Template usage

OKAY LET'S MAKE SOME RANDOM TEMPLATE AND MAKE IT SOUND COMPLICATED FOR NO REASON

Actually, this hatnote template is really badly done, lol. Most are way easier to use and don't actually require you creating internal links inside the template code, since they'd be created automatically orz

Yes I know I suck at wiki coding, you don't need to remind me


This template uses a lot of really fun and hard parameters. The code is as follows:

{{Hatnote|about=x|alt=y|altlink=z}}
  • X is a brief description of what the page is about. Usually, this has to concern the source of possible confusion: for example, for Lovely Kiss, you'd explain that "this page is about the sleep-inducing move".
So, in this case, the code'd go like |about=the sleep-inducing move .


  • Y is a brief description of the page it could be confused with. Back to Lovely Kiss's example, in this case you'd say: "For the confusion-inducing move, see (...)"
Still following the same example, you'd then need to type in |alt=the confusion-inducing move .


  • Finally, Z is a link to said other page - in this case, Sweet Kiss.
You'd then wrap up the code with something like |altlink=Sweet Kiss .


The final code would look like this:

{{Hatnote|about=the sleep-inducing move|alt=the confusion-inducing-move|altlink=[[Sweet Kiss]]}}

...It's not that it's hard to understand, but if the coding is this long then there's no point in making a template to begin with. I really have to make this template easier to use later...

Well, I'm not too sure if I can make it simpler, but on the bright side, I can at least make the end result fancier!

Personal tools