Template:Infobox/Shortlink/doc: Difference between revisions

From Flexible Survival
Jump to navigationJump to search
Syntax McBucketface (talk | contribs)
Syntax McBucketface (talk | contribs)
(One intermediate revision by the same user not shown)
Line 2: Line 2:
==Usage==
==Usage==
<pre>
<pre>
<nowiki>{{Infobox/Shortlink|Link|Alias||Description}}</nowiki>
<nowiki>{{Infobox/Shortlink|Link|Description|Link Alias}}</nowiki>
</pre>
</pre>


Line 16: Line 16:
},
},
"2": {
"2": {
"label": "Link Alias",
"description": "Provides the link with an alternative name for the link"
},
"3": {
"label": "Bottom Line",
"label": "Bottom Line",
"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
},
"3": {
"label": "Link Alias",
"description": "Provides the link with an alternative name for the link",
"type": "string"
}
}
},
},

Revision as of 21:01, 1 June 2025

Usage

{{Infobox/Shortlink|Link|Description|Link Alias}}

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
Link Alias3

Provides the link with an alternative name for the link

Stringoptional