Template:Anchor/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Doc/start}} Anchor is used for creating a false header on a page which can then be linked to without making an excessively long ToC. <nowiki>{{Anchor|4-2-8 Pot}} on the pag...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<nowiki>{{Anchor|4-2-8 Pot}} on the page {{Shiren|List of Jars}} will allow you to link to https://mysterydungeonwiki.com/wiki/Shiren:List_of_Jars#4-2-8_Pot</nowiki>. When the page is loaded by a reader, it will automatically jump to that new false header. | <nowiki>{{Anchor|4-2-8 Pot}} on the page {{Shiren|List of Jars}} will allow you to link to https://mysterydungeonwiki.com/wiki/Shiren:List_of_Jars#4-2-8_Pot</nowiki>. When the page is loaded by a reader, it will automatically jump to that new false header. | ||
==Anchor (Table)== | |||
A secondary version should be used when linking to a table, as it doesn't use the Big/Bold formatting, and isn't intended to be a false header. | |||
<pre> | |||
{{AnchorT|Text Here}} | |||
</pre> | |||
Results in: | |||
{{AnchorT|Text Here}} | |||
{| class="wikitable" | |||
|+ Caption text | |||
|- | |||
!Header | |||
|- | |||
|{{AnchorT|This text can be linked to.}} | |||
|} | |||
{{Doc/end}} | {{Doc/end}} | ||
Latest revision as of 21:36, 8 February 2024
Anchor is used for creating a false header on a page which can then be linked to without making an excessively long ToC.
{{Anchor|4-2-8 Pot}} on the page {{Shiren|List of Jars}} will allow you to link to https://mysterydungeonwiki.com/wiki/Shiren:List_of_Jars#4-2-8_Pot. When the page is loaded by a reader, it will automatically jump to that new false header.
Anchor (Table)
A secondary version should be used when linking to a table, as it doesn't use the Big/Bold formatting, and isn't intended to be a false header.
{{AnchorT|Text Here}}
Results in:
Text Here
Header |
---|
This text can be linked to.
|