Template:Rstb path: Difference between revisions
Jump to navigation
Jump to search
imported>BravelyPeculiar No edit summary |
imported>BravelyPeculiar No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="resloc-box resloc-box-normal"> | <div class="resloc-box resloc-box-normal"> | ||
{{#if:{{{ | {{#if:{{{example|}}}| | ||
For example, the file ''{{{ | For example, the file '''{{{example}}}''' has the RSTB path "'''{{{1}}}'''".| | ||
The RSTB path of this resource is "'''{{{ | The RSTB path of this resource is "'''{{{1}}}'''".}} | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
Line 8: | Line 8: | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"type": "string", | "type": "string", | ||
"label": "RSTB path", | "label": "RSTB path", | ||
Line 15: | Line 15: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "example": { | ||
"type": "string", | "type": "string", | ||
"label": "Example filename", | "label": "Example filename", |
Latest revision as of 23:55, 11 April 2019
The RSTB path of this resource is "{{{1}}}".
Template that shows the RSTB path of a resource
Parameter | Description | Type | Status | |
---|---|---|---|---|
RSTB path | 1 | The canonical resource path of the resource
| String | suggested |
Example filename | example | Filename to use if this is an example - leave blank unless referring to an example rather than a concrete file
| String | suggested |