Difference between revisions of "Template:Anch"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* [[#Anchor_1]] | * [[#Anchor_1]] | ||
* {{Anch|Anchor_1|Anchor 1}} | * {{Anch|Anchor_1|Anchor 1}} | ||
* {{Anch|Anchor_1}} | |||
Line 12: | Line 13: | ||
--><span id="{{{1}}}">{{{2}}}</span><!-- | --><span id="{{{1}}}">{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}</span><!-- | ||
--><includeonly><noinclude> | --><includeonly><noinclude> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 16:23, 29 November 2022
Template:Anch is used to make internal anchors that can be linked to.
Add a second "{{{name}}}" to make the anchor a different visual name than the anchor name.
- #Anchor_1
- {{#if: Anchor 1|Anchor 1|Anchor_1 }}
- {{#if: |{{{2}}}|Anchor_1 }}