Template:Anchor/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 20: Line 20:
:.
:.
:[[#jumphere|Click me to jump to anchor]].
:[[#jumphere|Click me to jump to anchor]].

==Limitations==
{|class="wikitable" style="float:right"
!Character
![[wikipedia:Character entity reference|Code]]
!Template
!Meaning
|-
|"
|<code>&amp;quot;</code> <br /><code>&amp;#34;</code>
|N/A
|(double)&nbsp;[[wikipedia:quotation mark|quotation mark]]
|-
|#
|<code>&amp;#35;</code>
|N/A
|[[wikipedia:Number sign|hash]]
|-
|&#124;
|<code>&amp;#124;</code>
|{{tl|!}}
|[[wikipedia:Vertical bar|pipe]]
|-
|&#61;
|<code>&amp;#61;</code>
|{{tl|{{=}}}}
|[[wikipedia:Equals sign|equals]]
|}
The characters listed on the right will cause problems with the template and should not be used. If you need to use them, replace them with the HTML character code provided. For example, if you need to use quotation marks, substitute them with <code>&amp;quot;</code> or <code>&amp;#34;</code>.

Alternatively, if you need to use pipe (|) or equal sign (=) characters, you may use the {{tl|!}} and {{tl|{{=}}}} templates, respectively, to use them.


==Credits==
==Credits==
The template code was taken from the [[wikia:w:c:templates:Template:Anchor|Templates Wiki]] on Wikia.
The template code was taken from the [[wikia:w:c:templates:Template:Anchor|Templates Wiki]] on Wikia.

==TemplateData==
{{TemplateData header}}
<templatedata>
{
"description": "This template inserts one or more HTML anchors in a page, which can then be linked to using [[#location|...]] syntax, or by going to https://sims.miraheze.org/Name_of_page#Anchor_title. This is useful when you need to link to very specific parts in an article.",
"params": {
"1": {
"label": "First anchor",
"description": "First anchor value.",
"type": "string",
"required": true
},
"2": {
"label": "Second anchor",
"description": "Second anchor value.",
"type": "string",
"required": false
},
"3": {
"label": "Third anchor",
"description": "Third anchor value.",
"type": "string",
"required": false
},
"4": {
"label": "Fourth anchor",
"description": "Fourth anchor value.",
"type": "string",
"required": false
},
"5": {
"label": "Fifth anchor",
"description": "Fifth anchor value.",
"type": "string"
},
"6": {
"label": "Sixth anchor",
"description": "Sixth anchor value.",
"type": "string"
},
"7": {
"label": "Seventh anchor",
"description": "Seventh anchor value.",
"type": "string"
},
"8": {
"label": "Eight anchor",
"description": "Eight anchor value.",
"type": "string"
},
"9": {
"label": "Ninth anchor",
"description": "Ninth anchor value.",
"type": "string"
},
"10": {
"label": "Tenth anchor",
"description": "Tenth anchor value.",
"type": "string"
}
}
}
</templatedata>


<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly>
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly>