Difference between revisions of "Template:Anchor"

From WPRDC Wiki
Jump to navigation Jump to search
>PerfektesChaos
(Multilingual; doc should be shifted to /doc subpage)
>ExE Boss
(→‎template-documentation: Move template documentation to subpage)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<!--
<onlyinclude><!--
-->{{#if:{{{ 1|}}}|<span id="{{anchorencode:{{{ 1|}}}}}"></span><!--
-->{{#if:{{{ 1|}}}|<span id="{{anchorencode:{{{ 1|}}}}}"></span><!--
-->{{#if:{{{ 2|}}}|<span id="{{anchorencode:{{{ 2|}}}}}"></span><!--
-->{{#if:{{{ 2|}}}|<span id="{{anchorencode:{{{ 2|}}}}}"></span><!--
Line 13: Line 13:
     |<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is ten</span><!--
     |<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is ten</span><!--
-->}}<!--
-->}}<!--
-->}} }} }} }} }} }} }} }} }} }}<noinclude>
-->}} }} }} }} }} }} }} }} }} }}</onlyinclude>
{{Documentation|content=
{{Documentation}}
{{high-use|5000}}
== Usage ==
See [[w:Template:Anchor]] for documentation.
 
This version of the anchor template cannot be substituted. To insert an anchor without the template, use <code><nowiki><span id="Anchor name"></span></nowiki></code>.
 
[[Category:Templates{{#translation:}}]]
<templatedata>
{
"description": {
"en": "Define link target(s) to a section or element within current page",
"de": "Linkziel(e) zu einem Abschnitt oder einem Element innerhalb der aktuellen Wiki-Seite vereinbaren"
},
"params": {
"1": {
"label": {
"en": "Anchor",
"de": "Anker"
},
"description": {
"en": "Fragment ID",
"de": "Fragmentbezeichner"
},
"type": "line",
"required": true
},
"2": {
"label": {
"en": "Second anchor",
"de": "Zweiter Anker"
},
"description": {
"en": "Further fragment ID",
"de": "Weiterer Fragmentbezeichner"
},
"required": false,
"suggested": false,
"inherits": "1"
},
"3": {
"label": {
"en": "Further anchor",
"de": "Weiterer Anker"
},
"inherits": "2"
},
"4": {
"label": { },
"inherits": "3" },
"5": { "inherits": "4" },
"6": { "inherits": "4" },
"7": { "inherits": "4" },
"8": { "inherits": "4" },
"9": { "inherits": "4" },
"10": { "inherits": "4" },
"11": { "inherits": "4" }
},
"format": "inline"
}
</templatedata>
}}
</noinclude>

Latest revision as of 13:04, 22 July 2021

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.