Template:Stub: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Added template demo/documentation templates)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="noexcerpt navigation-not-searchable" style="background: linear-gradient(to right, #000, #190B04); border-radius: 10px; max-width: 580px; padding: 0px; padding-right: 5px; padding-top: 2px; padding-left: 3px; display: flex; flex-wrap: wrap; font-size:smaller;">
<includeonly>{{ambox|type=content|image=[[File:Distracted_Condition_Icon.webp|35px|link=]]|text=This {{{1|article}}} is a [[:Category:Stubs|stub]] and in need of expansion. See the [[Help:Editing manual|editing manual]] for how to contribute or the [[Help:Style manual|style manual]] for guidelines.}}{{main namespace only|[[Category:Stubs]]}}</includeonly><noinclude>{{documentation|content=Use to mark an article as a stub. First parameter can specify that the box only applies to a section:
<div style="display: grid; align-items: center;">
[[File:Under Construction.webp|left|260px|link=]]
</div>
<div style="display: grid; align-items: center; width: 300px; font-style: italic;">
{{#switch: {{{1|}}}
| section = This section is a stub. You can help Baldur's Gate 3 Wiki by expanding it.<br>See the [[Help:How to Contribute|guide]] on how to contribute.
| This page is a stub. You can help Baldur's Gate 3 Wiki by expanding it. See the [[Help:How to Contribute|guide]] on how to contribute.}}
</div>
</div><includeonly>{{#ifeq: {{{demo|}}} | yes | <!--blank--> | [[Category:Stubs]]}}</includeonly><noinclude>[[Category:Templates]]


Use this template to identify stubs.
== Example ==
{{Template demo
| style = list
| <nowiki>{{stub|section}}</nowiki>
}}


{{InfoBlob|<nowiki>{{Stub}}</nowiki>}} gives you the template above.
== Template data ==
 
<templatedata>
But you can use
{
 
"params": {
{{Stub|section|demo=yes}}
"1": {}
 
}
{{InfoBlob|<nowiki>{{Stub|section}}</nowiki>}} to use for specific sections of the page.
}
 
</templatedata>
See also [[Template:UnderConstruction]]
}}
[[Category:Templates]]
[[Category:Message box templates]]
</noinclude>

Latest revision as of 22:31, 19 January 2025

Template documentation

Use to mark an article as a stub. First parameter can specify that the box only applies to a section:

Example

Markup
{{stub|section}}
Renders as

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional