No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
<nowiki>{{Infobox/Shortlink | <nowiki>{{Infobox/Shortlink|Link|Description}}</nowiki> | ||
|Link | |||
| | |||
}}</nowiki> | |||
</pre> | </pre> | ||
Line 12: | Line 9: | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"description": "This text will create a link to a page on a bulleted line.", | "description": "This text will create a link to a page on a bulleted line.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"required": true | "required": true, | ||
"label": "Top Line" | |||
}, | }, | ||
" | "2": { | ||
"description": "This text appears on a sub-line and could contain a relationship to the above text, or a rank or role in an organization.", | "description": "This text appears on a sub-line and could contain a relationship to the above text, or a rank or role in an organization.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"label": "Bottom Line" | |||
} | } | ||
}, | }, | ||
"description": "This template quickly creates and formats text for use in listed elements within an infobox." | "description": "This template quickly creates and formats text for use in listed elements within an existing infobox template.", | ||
"format": "inline" | |||
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 18:55, 7 January 2023
Usage
{{Infobox/Shortlink|Link|Description}}
Data Template
This template quickly creates and formats text for use in listed elements within an existing infobox template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Top Line | 1 | This text will create a link to a page on a bulleted line. | Page name | required |
Bottom Line | 2 | This text appears on a sub-line and could contain a relationship to the above text, or a rank or role in an organization. | String | suggested |