Jump to content

Template:Anchor: Difference between revisions

m
link fix in docs
(better wording for docs; now mentioning multi-anchor capability)
m (link fix in docs)
 
Line 4: Line 4:
*<nowiki>{{Anchor|Manifesto}}</nowiki> was used on the "Quotes/Manual" page to allow linking to the Pre-Mission Briefing section under its alternate name, "Manifesto": [[Quotes/Manual#Manifesto]].
*<nowiki>{{Anchor|Manifesto}}</nowiki> was used on the "Quotes/Manual" page to allow linking to the Pre-Mission Briefing section under its alternate name, "Manifesto": [[Quotes/Manual#Manifesto]].
*<nowiki>{{Anchor|2001}}</nowiki>, etc. was used on the "History of the Oni community" page so that links from other pages could simply point to a year and the reader could be forwarded to that chronological point in the article regardless of how the text is broken into sections, e.g. [[History of the Oni community#2001]].
*<nowiki>{{Anchor|2001}}</nowiki>, etc. was used on the "History of the Oni community" page so that links from other pages could simply point to a year and the reader could be forwarded to that chronological point in the article regardless of how the text is broken into sections, e.g. [[History of the Oni community#2001]].
*<nowiki>{{Anchor|textures_tag}}</nowiki> was used on "XML:ONLV" to allow a specific field within a table to be linked to: [[XML:ONLV#textures_tag]].
*<nowiki>{{Anchor|textures_tag}}</nowiki> was used on "Creating a level" to allow a specific field within a table to be linked to: [[Creating a level#textures_tag]].


Handy, huh? Note that you can create up to ten anchors by supplying multiple parameters, e.g. <nowiki>{{Anchor|one|two|three}}</nowiki>, though this capability is probably not being used anywhere on the wiki.
Handy, huh? Note that you can create up to ten anchors by supplying multiple parameters, e.g. <nowiki>{{Anchor|one|two|three}}</nowiki>, though this capability is probably not being used anywhere on the wiki.