Difference between revisions of "Template:Bl/doc"
Jump to navigation
Jump to search
imported>Paradoctor (second parameter added) |
imported>Vanisaac m (→TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Documentation subpage}} | ||
| + | <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | ||
| + | == Usage == | ||
This template creates a bolded wikilink from its argument. If a second parameter is present, it is used as link text. | This template creates a bolded wikilink from its argument. If a second parameter is present, it is used as link text. | ||
| + | |||
| + | == TemplateData == | ||
| + | <templatedata>{ | ||
| + | "description": "Creates a bolded wikilink", | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "target", | ||
| + | "description": "link target", | ||
| + | "type": "wiki-page-name", | ||
| + | "default": "", | ||
| + | "required": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "text", | ||
| + | "description": "link text, optional", | ||
| + | "type": "string", | ||
| + | "default": "", | ||
| + | "required": false | ||
| + | } | ||
| + | } | ||
| + | }</templatedata> | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
| + | <!--Categories below this line, please; interwikis at Wikidata--> | ||
| + | [[Category:Internal link templates]] | ||
| + | }}</includeonly> | ||
Latest revision as of 00:03, 24 April 2020
| This is a documentation subpage for Template:Bl. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template creates a bolded wikilink from its argument. If a second parameter is present, it is used as link text.
TemplateData
Creates a bolded wikilink
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| target | 1 | link target
| Page | required |
| text | 2 | link text, optional
| String | optional |