Template:Infobox/FormattedLink/doc: Difference between revisions

Template page
(Created page with " <templatedata> { "params": { "Link": { "description": "This text will create a link to a page on a bulleted line.", "type": "wiki-page-name", "required": true }, "Relationship": { "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", "suggested": true } }, "description": "This template quickly creates and formats text for use in listed ele...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:


==Usage==
<pre>
<nowiki>{{Infobox/Shortlink|Link|Description}}</nowiki>
</pre>
==Data Template==
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"Link": {
"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"
},
},
"Relationship": {
"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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Top Line1

This text will create a link to a page on a bulleted line.

Page namerequired
Bottom Line2

This text appears on a sub-line and could contain a relationship to the above text, or a rank or role in an organization.

Stringsuggested