Template:Template parameter value/doc: Difference between revisions

Content deleted Content added
document new parameter (better name ideas welcome)
Category:String manipulation templates
 
(4 intermediate revisions by 4 users not shown)
Line 33:
: <syntaxhighlight lang="wikitext" inline>{{Template parameter value|The Big Bang Theory|Start date|8|3}}</syntaxhighlight>
: {{Template parameter value|The Big Bang Theory|Start date|8|3}}
 
; 1st parameter in the last usage of {<nowiki />{date tabke sorting}} in [[List of Falcon 9 and Falcon Heavy launches]]
: <syntaxhighlight lang="wikitext" inline>{{Template parameter value|List of Falcon 9 and Falcon Heavy launches|date table sorting|-1|1}}</syntaxhighlight>
: {{Template parameter value|List of Falcon 9 and Falcon Heavy launches|date table sorting|-1|1}}
 
== Template data ==
Line 45 ⟶ 49:
},
"2": {
"label": "TemplatesTemplate",
"description": "The templatestemplate to look for in the target page. Can be provided in a comma split list to check for multiple templates",
"type": "string",
"required": true
Line 52 ⟶ 56:
"3": {
"label": "Template index",
"description": "Which occurenceoccurrence of the template to check for parameters in. Set to -1 for last occurrence (other negative numbers not supported).",
"type": "number"
},
Line 63 ⟶ 67:
"5": {
"label": "Parameter index",
"description": "Which occurenceoccurrence of the parameter to check for in the template. Does not apply if \"Ignore subtemplates\" is used",
"type": "number"
},
Line 120 ⟶ 124:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:String manipulation templates]]
}}</includeonly>