Template:Infobox/Shortlink/doc: Difference between revisions

From Flexible Survival
Jump to navigationJump to search
Syntax McBucketface (talk | contribs)
Created page with " ==Usage== <pre> <nowiki>{{Infobox/Shortlink|Link|Description}}</nowiki> </pre> ==Data Template== <templatedata> { "params": { "1": { "description": "This text will create a link to a page on a bulleted line.", "type": "wiki-page-name", "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.", "type": "string", "su..."
 
Syntax McBucketface (talk | contribs)
m Protected "Template:Infobox/Shortlink/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
==Usage==
==Usage==
<pre>
<pre>
<nowiki>{{Infobox/Shortlink|Link|Description}}</nowiki>
<nowiki>{{Infobox/Shortlink|Link|Description|Link Alias}}</nowiki>
</pre>
</pre>


Line 16: Line 16:
},
},
"2": {
"2": {
"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
"label": "Bottom Line"
},
"3": {
"label": "Link Alias",
"description": "Provides the link with an alternative name for the link",
"type": "string"
}
}
},
},
"description": "This template quickly creates and formats text for use in listed elements within an existing infobox template.",
"description": "This template quickly creates and formats text for use in listed elements within an existing infobox template.",
"format": "inline"
"format": "inline",
"paramOrder": [
"1",
"2",
"3"
]
}
}
</templatedata>
</templatedata>

Latest revision as of 17:42, 3 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