Template:Documentation: Difference between revisions
From Starlight wiki
KarmaKitsuna (talk | contribs) m 1 revision imported |
Update template from SS14 content |
||
| Line 1: | Line 1: | ||
{{# | <includeonly><!-- | ||
<!-- | -->{{#vardefine: docpage_link|{{{1|{{FULLPAGENAMEE}}/doc}}}}}<!-- | ||
</noinclude> | |||
--><div style=" | |||
display: flow-root; | |||
border: 2px solid var(--border-color); | |||
padding: 0.4rem; | |||
background-color: color-mix(in srgb, var(--action-color-dark-x2) 5%, transparent); | |||
border-radius: .2rem; | |||
"><!-- | |||
--><div style="text-align:center; margin-bottom: 1rem;"><!-- | |||
--><div style="font-weight: bold; font-size: large;">Template documentation</div><!-- | |||
--><span style="font-size: 1.05em;">[[{{#var:docpage_link}}|view]]</span> or <span style="font-size: 1.05em;">[https://wiki.spacestation14.com/wiki/{{#var:docpage_link}}?action=edit edit]</span> this documentation {{colored text|gray|•}} [[Template:Documentation|about template documentation]]<!-- | |||
--><hr> | |||
</div><!-- | |||
-->{{#vardefine: below_banner|{{{below banner|{{{bb|}}}}}}}}<!-- | |||
-->{{#if: {{#var:below_banner}}<!-- | |||
-->|{{{below banner|{{{bb|}}}}}}<!-- | |||
-->|<!-- | |||
-->}}<!-- | |||
-->__TOC__<!-- | |||
-->{{clear}}<!-- | |||
--><br> | |||
{{{{{1|{{PAGENAME}}/doc}}}}}</div></includeonly><noinclude> | |||
{{Documentation|bb= | |||
{{has alias templates|docs}} | |||
}} | |||
[[Category:Templates for documenting other templates]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Link override", | |||
"description": "Override for the documentation link.", | |||
"type": "wiki-page-name", | |||
"default": "/doc (relative to the page, where this template is included)." | |||
}, | |||
"below banner": { | |||
"label": "Content below banner", | |||
"description": "Content to insert below banner and above documentation.", | |||
"type": "content", | |||
"aliases": [ | |||
"bb" | |||
] | |||
} | |||
}, | |||
"description": "This template is used to insert descriptions on template pages.", | |||
"format": "inline" | |||
} | |||
</templatedata></noinclude> | |||
Revision as of 16:21, 18 June 2026
{{#vardefine: docpage_link|Template:Documentation/doc}}
Template documentation
[[{{#var:docpage_link}}|view]] or edit this documentation • about template documentationTemplate:Documentation/doc
<templatedata> { "params": { "1": { "label": "Link override", "description": "Override for the documentation link.", "type": "wiki-page-name", "default": "/doc (relative to the page, where this template is included)." }, "below banner": { "label": "Content below banner", "description": "Content to insert below banner and above documentation.", "type": "content", "aliases": [ "bb" ] } }, "description": "This template is used to insert descriptions on template pages.", "format": "inline" } </templatedata>
