Difference between revisions of "Template:Anchor"

From FamiLAB Wiki
Jump to: navigation, search
m (1 revision imported)
 
(14 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
<!--
 
<!--
 
-->{{#if:{{{ 1|}}}|<span id="{{anchorencode:{{{ 1|}}}}}"></span><!--
 
-->{{#if:{{{ 1|}}}|<span id="{{anchorencode:{{{ 1|}}}}}"></span><!--
-->{{#if:{{{ 2|}}}|<span id="<br />
+
-->{{#if:{{{ 2|}}}|<span id="{{anchorencode:{{{ 2|}}}}}"></span><!--
<sup>
+
-->{{#if:{{{ 3|}}}|<span id="{{anchorencode:{{{ 3|}}}}}"></span><!--
<gallery>
+
-->{{#if:{{{ 4|}}}|<span id="{{anchorencode:{{{ 4|}}}}}"></span><!--
Superscript text
+
-->{{#if:{{{ 5|}}}|<span id="{{anchorencode:{{{ 5|}}}}}"></span><!--
</gallery>
+
-->{{#if:{{{ 6|}}}|<span id="{{anchorencode:{{{ 6|}}}}}"></span><!--
{|
 
{{#translation:}}|-
 
| Example || Example || Example
 
|-
 
| Example || Example || Example
 
|-
 
| Example || Example || Example
 
|}
 
</sup>{{anchorencode:{{{ 2|}}}}}"></span><!--
 
-->{{#if:{{{ 3|}}}|<span id="{{anchoreode:{{{ 3|}}}}}"></span><!--
 
-->{{#if:{{{ 4|}}}|<span id="{{anchorencode:{{{ 4|}}}}}"></spa loop
 
-->{{#if:{{{ 5|}}}|<span id="{{ancncode:{{{ 5|}}}}}"></span><!--
 
-->{{#if:{{{ 6|}}}|<span id="{{ahorencode:{{{ 6|}}}}}"></span><!--
 
 
-->{{#if:{{{ 7|}}}|<span id="{{anchorencode:{{{ 7|}}}}}"></span><!--
 
-->{{#if:{{{ 7|}}}|<span id="{{anchorencode:{{{ 7|}}}}}"></span><!--
 
-->{{#if:{{{ 8|}}}|<span id="{{anchorencode:{{{ 8|}}}}}"></span><!--
 
-->{{#if:{{{ 8|}}}|<span id="{{anchorencode:{{{ 8|}}}}}"></span><!--
Line 30: Line 17:
 
See [[w:Template:Anchor]] for documentation.
 
See [[w:Template:Anchor]] for documentation.
 
[[Category:Templates{{translation}}]]
 
[[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>

Latest revision as of 04:44, 20 April 2017

{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:|{{#if:

   |Template:Anchor (or Anchors): too many anchors, maximum is ten}}}} }} }} }} }} }} }} }} }} }}

Usage

See w:Template:Anchor for documentation. [[Category:Templates{{#ifeq:

 {{#titleparts:template:anchor|1|-1}}

| {{#titleparts:template:anchor|1|-1}} | | /{{#titleparts:Template:Anchor|1|-1}} }}]] <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>