Template:Anchor: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
from http://en.wikipedia.org/wiki/Template:Anchor |
fix by adding close block with </noinclude> and cat it, add usage |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<!-- | <!-- --><includeonly><span id="{{{1}}}"></span></includeonly><noinclude> | ||
--> | [[category:Link and Navigation templates|{{PAGENAME}}]] | ||
;This template is used to preserve a Page's section title for cross linking. | |||
:It's code is invisible and will not appear even on the page which contains it. | |||
--> | Use when changing a section title on a page to another to preserve the ability of Wikimarkup linking to the section title line. It should contain exactly the same character string as the title line<!--, but may also contain aliases | ||
--> | |||
* A more complicated version {{Wp|Template:Anchor}} may be imported from many Wikimedia Foundation Projects pages (such as en.Wikipedia's, which allows ten parameters for aliasing titles) which would allow a section to be referenced aliases for the section name, perhaps for example, an English versus US Spelling difference. | |||
- | [[Category:Self-documenting templates|{{PAGENAME}}]] | ||
</noinclude> | |||
Latest revision as of 04:47, 17 June 2013
- This template is used to preserve a Page's section title for cross linking.
- It's code is invisible and will not appear even on the page which contains it.
Use when changing a section title on a page to another to preserve the ability of Wikimarkup linking to the section title line. It should contain exactly the same character string as the title line
- A more complicated version Template:Anchor may be imported from many Wikimedia Foundation Projects pages (such as en.Wikipedia's, which allows ten parameters for aliasing titles) which would allow a section to be referenced aliases for the section name, perhaps for example, an English versus US Spelling difference.