“模板:Anchor”的版本间差异
L>水思 (使用模塊) |
L>Pppery |
||
第1行: | 第1行: | ||
{{# | <!-- | ||
{{Documentation}} | -->{{#if:{{{ 1|}}}|<span id="{{anchorencode:{{{ 1|}}}}}"></span><!-- | ||
-->{{#if:{{{ 2|}}}|<span id="{{anchorencode:{{{ 2|}}}}}"></span><!-- | |||
-->{{#if:{{{ 3|}}}|<span id="{{anchorencode:{{{ 3|}}}}}"></span><!-- | |||
-->{{#if:{{{ 4|}}}|<span id="{{anchorencode:{{{ 4|}}}}}"></span><!-- | |||
-->{{#if:{{{ 5|}}}|<span id="{{anchorencode:{{{ 5|}}}}}"></span><!-- | |||
-->{{#if:{{{ 6|}}}|<span id="{{anchorencode:{{{ 6|}}}}}"></span><!-- | |||
-->{{#if:{{{ 7|}}}|<span id="{{anchorencode:{{{ 7|}}}}}"></span><!-- | |||
-->{{#if:{{{ 8|}}}|<span id="{{anchorencode:{{{ 8|}}}}}"></span><!-- | |||
-->{{#if:{{{ 9|}}}|<span id="{{anchorencode:{{{ 9|}}}}}"></span><!-- | |||
-->{{#if:{{{10|}}}|<span id="{{anchorencode:{{{10|}}}}}"></span><!-- | |||
-->{{#if:{{{11|}}} | |||
|<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is ten</span><!-- | |||
-->}}<!-- | |||
-->}} }} }} }} }} }} }} }} }} }}<noinclude> | |||
{{Documentation|content= | |||
{{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> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Anchor", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Second anchor" | |||
}, | |||
"3": {}, | |||
"4": {}, | |||
"5": {}, | |||
"6": {}, | |||
"7": {}, | |||
"8": {}, | |||
"9": {}, | |||
"10": {}, | |||
"11": {} | |||
}, | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
}} | |||
</noinclude> | </noinclude> |
2020年5月4日 (一) 01:03的版本
{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:
|Template:Anchor (or Anchors): too many anchors, maximum is ten}}}} }} }} }} }} }} }} }} }} }}
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:模板:High-use
Usage
See w:Template:Anchor for documentation.
This version of the anchor template cannot be substituted. To insert an anchor without the template, use <span id="Anchor name"></span>
.
[[Category:Templates{{#translation:}}]] <templatedata> { "params": { "1": { "label": "Anchor", "type": "string", "required": true }, "2": { "label": "Second anchor" }, "3": {}, "4": {}, "5": {}, "6": {}, "7": {}, "8": {}, "9": {}, "10": {}, "11": {} }, "format": "inline" } </templatedata>| [[Category:Template documentation pages{{#translation:}}]] }}