Template:Guide box: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(I like "this article" better)
(Use template demo)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><div role="note" class="hatnote noexcerpt {{{extraclasses|}}}">{{#if: {{{1|}}} | {{{1|}}} | This article}} has a [[Guide:{{#if: {{{2|}}} | {{{2|}}} | {{#if: {{{1|}}} | {{{1|}}} | {{PAGENAME}}}} }}|community guide]].</div></includeonly><noinclude>
<includeonly>{{ambox|image=[[File:Enhanced_Armour_Class_Condition_Icon.webp|30px|link=]]|small=left|text={{#if: {{{1|}}} | {{{1|}}} | This article}} has a [[Guide:{{#if: {{{2|}}} | {{{2|}}} | {{#if: {{{1|}}} | {{{1|}}} | {{PAGENAME}}}} }}|community guide]].}}</includeonly><noinclude>{{Documentation|content=
Adds a hatnote with a link to the guide namespace version of the article. A custom title can be specified with parameter 1, and a custom target can be specified with parameter 2.
Adds a message box with a link to the guide namespace version of the article. A custom title can be specified with parameter 1, and a custom target can be specified with parameter 2.


== Examples ==
== Examples ==
{{Template demo
| style = table
| <nowiki>{{Guidenote}}</nowiki>
| <nowiki>{{Guidenote|Shovel}}</nowiki>
| <nowiki>{{Guidenote|Shovel|Shovel Guide}}</nowiki>
}}


{{code|<nowiki>{{Guidenote}}</nowiki>}}
}}
 
<templatedata>
{{Guidenote}}
{
 
"params": {
---
"1": {},
 
"2": {}
{{code|<nowiki>{{Guidenote|Shovel}}</nowiki>}}
}
 
}
{{Guidenote|Shovel}}
</templatedata>
 
[[Category:Templates]]
(links to Guide: Shovel)
[[Category:Message box templates]]
 
---
 
{{code|<nowiki>{{Guidenote|Shovel|Shovel Guide}}</nowiki>}}
 
{{Guidenote|Shovel|Shovel guide}}
 
(links to Guide: Shovel guide)
</noinclude>
</noinclude>

Latest revision as of 11:57, 19 January 2025

Template documentation

Adds a message box with a link to the guide namespace version of the article. A custom title can be specified with parameter 1, and a custom target can be specified with parameter 2.

Examples

Markup Renders as
{{Guidenote}}
{{Guidenote|Shovel}}
{{Guidenote|Shovel|Shovel Guide}}

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional