Template:Template parameter value/doc: Difference between revisions

Content deleted Content added
Category:String manipulation templates
 
(6 intermediate revisions by 5 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 occuranceoccurrence 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 occuranceoccurrence of the parameter to check for in the template. Does not apply if \"Ignore subtemplates\" is used",
"type": "number"
},
Line 90 ⟶ 94:
"label": "Don't process",
"description": "If enabled, the returning result won't be processed into wikitext, and will be returned as raw data.",
"type": "boolean",
"default": "no"
},
"treat_as_regex": {
"label": "Treat as regex",
"description": "Treats the Templates input as a lua regex instead of a raw string",
"type": "boolean",
"default": "no"
Line 105 ⟶ 115:
"ignore_blank",
"only_subtemplates",
"dontprocess",
"treat_as_regex"
]
}</templatedata>
Line 113 ⟶ 124:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:String manipulation templates]]
}}</includeonly>