Template:Items combo navbox: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
Created page with "{{Template:Medical items navbox}}<noinclude> {{docs}} Category:Navigational templates Category:Item navigational templates <templatedata> { "params": {}, "description": "A combined navigation section containing all items navboxes.", "format": "inline" } </templatedata></noinclude>"
 
Aliser (talk | contribs)
No edit summary
Line 1: Line 1:
{{Template:Medical items navbox}}<noinclude>
{{Template:Medical items navbox|state=<includeonly>{{#ifeq: {{#lc:{{{1|}}}}}|medical|yes|collapsed}}</includeonly>}}<noinclude>
{{docs}}
{{docs}}


Line 6: Line 6:
<templatedata>
<templatedata>
{
{
"params": {},
"params": {
"1": {
"label": "Expand navbox",
"description": "Which navbox to expand? By default, all navboxes are collapsed to prevent cluttering. When using this navbox on specific page (eg a medical item), pick a navbox that should initially expanded (eg medical navbox for medical item pages).",
"type": "line",
"suggestedvalues": [
"Medical"
],
"suggested": true
}
},
"description": "A combined navigation section containing all items navboxes.",
"description": "A combined navigation section containing all items navboxes.",
"format": "inline"
"format": "inline"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 12:00, 29 March 2025

Template documentation
view or edit this documentation about template documentation

Usage

{{Items combo navbox|<navbox>}}

By default, all navboxes are collapsed to prevent cluttering. When using this navbox on specific page (eg a medical item), pick a navbox <navbox> that should initially expanded (eg medical navbox for medical item pages).

So for a medical item page, you would use: {{Items combo navbox|Medical}}

A combined navigation section containing all items navboxes.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Expand navbox1

Which navbox to expand? By default, all navboxes are collapsed to prevent cluttering. When using this navbox on specific page (eg a medical item), pick a navbox that should initially expanded (eg medical navbox for medical item pages).

Suggested values
Medical
Linesuggested